cybertim / vscode-gengetset

Generate Getter and / or Setter Extension for Visual Studio Code
34 stars 17 forks source link

Provide IntelliSense Support #42

Open nilswieber opened 7 years ago

nilswieber commented 7 years ago

It would be nice, if this extension would show the available imports as i type via IntelliSense. If an unimported module gets selected an automatic import could be created.

cybertim commented 7 years ago

This was a part of the extension, the only problem is/was that for some reason there is no 'fallback' within the intelli search. Meaning that when you type 'string' normally at 'st' string would popup because it is the most logical choice. Adding all known imports to the game will suddenly add 'string' to a lower position and start matching with for example 'strong' which is an export in some weird file.

So I removed it in the hope that someday an option would be added in vscode to 'fallback' on a list of intellisenses like the 'light bulb' only show up when there is an 'error' (=no matching word: probably an import).

If somebody knows if this is already a thing, be free to let me know.