Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode disable emmet abbreviation editor on first line

How can I disable Emmet abbreviation as first suggestion in vscode or move it to the end of the suggestion list?

It's not convenient to always jump down to pick something.

enter image description here

like image 342
ZiiMakc Avatar asked Mar 19 '21 14:03

ZiiMakc


People also ask

How do you turn on emmet abbreviation in VS Code?

To enable the Emmet abbreviation expansion in file types where it is not available by default, use the emmet. includeLanguages setting. Make sure to use language identifiers for both sides of the mapping, with the right side being the language identifier of an Emmet supported language (see the list above).

How do I change emmet settings in VS Code?

Open the VS Code settings (Code → Preferences → Settings) and search for “Emmet Extensions Path”. Click “Add Item”, enter the path to the folder where you've saved the snippets. json file you've created earlier and press “OK”.


1 Answers

Two steps:

  1. Emmet: Show Suggestions as Snippets enable

// If true, then Emmet suggestions will show up as snippets allowing you to order them as per editor.snippetSuggestions setting.

  1. Editor: Snippet Suggestions set to bottom

    // Controls whether snippets are shown with other suggestions and how they are sorted.
    // - top: Show snippet suggestions on top of other suggestions.
    // - bottom: Show snippet suggestions below other suggestions.
    // - inline: Show snippets suggestions with other suggestions.
    // - none: Do not show snippet suggestions.

VsCode settings:

 "emmet.showSuggestionsAsSnippets": true,
 "editor.snippetSuggestions": "bottom"
like image 180
Mark Avatar answered Sep 30 '22 11:09

Mark