I\'m pretty new to Visual studio code. I am using Visual studio code for AngularJS application development. As I am from a .NET development background, I\'m much fond of intelli
VSCode 1.51 (Oct. 2020) will make those choices more visible with:
Status bar for suggestions
The suggestions control can now also show its own status bar at the bottom of the window.
Enable it using theeditor.suggestStatusBar.enable
setting.
It makes toggling details simpler, and shows if a completion supports inserting, replacing, or both.Theme: GitHub Light, Font: FiraCode
In the sample above, selecting "
Insert
" results inMath.floorceil
and selecting "Replace
" results inMath.floor
.The new
editor.suggest.insertMode
setting allows you to configure whether you prefer insert or replace.
When a suggestion supports both, your preference will be the default.
Note that you also have the setting editor.tabCompletion to force "replace" to be the default, instead of "insert".
I posted the same query in VScode git hub issues forum. I got the following reply.
You can add the snippet below to your keyboard shortcut configuration to the VS Code to accept a suggestion and insert the dot when pressing .
{ "key": ".", "command": "^acceptSelectedSuggestion", "when": "editorTextFocus && suggestWidgetVisible && suggestionSupportsAcceptOnKey && editorLangId == 'javascript'" }
This worked.