Issue #15 (Code & Snippet Suggestions)08/03/22
|
Get a weekly dose of tools, articles, and other resources covering remote work, productivity, career well-being, and lots more.
|
|
|
If you're using VS Code's Intellisense to offer code suggestions and snippet suggestions, there are a few things you can do to customize how that all works.
Code suggestions are on by default, but you have the option to disable them or simply delay them from appearing. In your Settings UI type "quickSuggestions" in the search box. You'll see a setting with three options.
By default, Quick Suggestions are enabled for the "other" category and disabled for "comments" and "strings". This makes sense because you'll rarely want auto-suggestions for those latter two categories. So if you want to disable Quick Suggestions altogether, simply turn all three options to "off".
You also might prefer the Quick Suggestions to trigger after a certain interval. You'll notice the "Quick Suggestions Delay" setting that lets you add a delay in milliseconds.
By default, it's set to 10, which is pretty small. If you prefer the Quick Suggestions to appear instantly, you can set this to 0. But maybe you want a longer delay, so you can increase that value to whatever you're comfortable with.
And one last one I'll mention here is Tab Completion. If you search for "Tab Completion" in your Settings, you'll see an option to enable this.
It's off by default but you can enable it for everything or only for Snippets. With this on, you can simply hit your tab key when you start typing something and Intellisense will insert what it thinks is the "best matching" completion. This is a good one to have on since it will only take effect when you hit the tab key.
Now on to this week's hand-picked links!