#How to get better autocomplete suggestion from VS Code?

8 messages · Page 1 of 1 (latest)

glass flare
#

Look at the screenshot for an example. The Visual Studio itself has almost perfect autocomplete!
Do you have ideas to make autocomplete better? Editor settings, extensions etc.?

native wraith
#

Are you saying because the variable is declared to have ContactRequest type, it should prioritize suggestion new ContactRequest?

#

No that's not a thing, and the typical way to write code is just omit the type on the left side:

const contReq = new ContactRequest(...)
glass flare
glass flare
native wraith
#

Suggestions are provided by the language server (in this case TS language server), not by the IDE (VS Code)

native wraith