tsserver completions command doesn't respect the prefix option #36767
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
Milestone
TypeScript Version: 3.7.5
Search Terms: tsserver completion prefix
Code
Expected behavior:
completions with prefix
Nav
Actual behavior:
Got completions with all top level symbols. Normally this wouldn't be an issue as we could do the prefix filtering on client side. But in this case, there are too many symbols available in the scope and we are getting back results with payload size > 100KB. Just parsing this JSON payload would freeze emacs UI and we just ignore the response if it exceeds 100KB. Now we get complaints about code completion not working because we ignore large responses.
reference: ananthakumaran/tide#334
The text was updated successfully, but these errors were encountered: