ipatalas / vscode-postfix-ts

Postfix notation for TypeScript/Javascript - extension for VS Code
MIT License
158 stars 43 forks source link

Disable completions on 0-input #113

Closed sweidac closed 1 year ago

sweidac commented 1 year ago

When having an expression ended with the ., e.g. window. I see only suggestions of postfix completions. I, however, mostly want to explore the opportunity of fields that the expression yields.

Is it feasible to add a setting that disables the completions unil a certain number of characters have been written?

ipatalas commented 1 year ago

Interesting because first thing I see are VSCode default completions: image

You can also play around with editor.snippetSuggestions setting: image

Maybe you have it set to top?

sweidac commented 1 year ago

You, Sir, just prevented an extension from being uninstalled :) I didn't think that the completions where acting like snippets, so I probably didn't think of that solution.

Thank you very much!

ipatalas commented 1 year ago

Haha, well, it's actually VSCode determining what's the order of items, extensions can only partially influence that. I'm glad it helped.