Visual studio code - Intellisense auto complete behaviour

后端 未结 2 1334
太阳男子
太阳男子 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:06

    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 the editor.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 in Math.floorceil and selecting "Replace" results in Math.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".

提交回复
热议问题