How can I make VS Code suggest snippets at the top of the suggestion list?
You need to use editor.snippetSuggestions config option with “top” value. Please, see Customizing IntelliSense article for more tips and tricks.
You need to use editor.snippetSuggestions config option with “top” value. Please, see Customizing IntelliSense article for more tips and tricks.
By default, intellisense / quick suggestions will not be triggered inside of a snippet. To enable them set “editor.suggest.snippetsPreventQuickSuggestions”: false true is the default. Editor > Suggest: Snippets Prevent Quick Suggestions in the Settings UI.
I had the same issue, but in the mean time I’ve found the answer: I had to add the following references to my web.config (add inside the opening system.web tag): <compilation debug=”true” targetFramework=”4.5″> <assemblies> <add assembly=”System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″/> <add assembly=”System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″/> <add assembly=”Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/> <add assembly=”System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” /> … Read more
You need to use editor.snippetSuggestions config option with “top” value. Please, see Customizing IntelliSense article for more tips and tricks.
IntelliSense suggestions in VS Code can be configured globally or per each workspace and as of 1.9 per file-type (language), using the editor.quickSuggestions, editor.acceptSuggestionOnEnter and editor.suggestOnTriggerCharacters settings. // Controls if quick suggestions should show up or not while typing “editor.quickSuggestions”: true, Since VSCode 1.11, the quickSuggestions setting allows more fine-grained control over quick suggestions. However, … Read more
Go to Tools->Options->Text Editor->C# (or All Languages)->General and enable Auto List Members and Parameter Information in right hand side pane.