Visual studio code - Intellisense auto complete behaviour

后端 未结 2 1333
太阳男子
太阳男子 2021-02-10 15:01

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

2条回答
  •  温柔的废话
    2021-02-10 15:11

    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.

提交回复
热议问题