How to disable this suggestion when using tab key? (VScode) - visual-studio-code

I'm using VScode(1.30.2).
I just need pure Html snippets, but this VScode pop-up suggestion makes me annoyed.
Please check the image below..
I just want Html snippets only, but as you can see, wrong suggestion appears.
(ex: [abc]page )
How can I disable it?

// Controls whether completions should be computed based on words in
the document.
"editor.wordBasedSuggestions": false
true is the default for that setting - change it to false in your settings.json.
Also, you will find these two settings helpful - to put the emmet abbreviations at the top of the suggestion list:
"editor.snippetSuggestions": "top",
"emmet.showSuggestionsAsSnippets": true,

Related

Snippets accept with tab but autocomplete disabled unless press ctrl+space

I would like to have autocomplete disabled (unless I press ctrl+space), but also I want to be able to create snippets that populate with tab. How can I have both of these at once?
I'm wondering if I understood you correctly. Here are my opinion, in my understanding.
As for creat snippets, the vscode docs have gien the solution: enter link description here. To simplify, Code -> Prefrences -> User snippets and then New Global Snippets file. Or you can see this question.
Besides, to disable autocomplete, there are several options:
"editor.autoClosingBrackets": false,
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnCommitCharacter": false
...
each has different functions, you can also see the official docs, or I also found another question which may be helpful.
Hope useful.

Only show relevant intellisense suggestions in VSCode editor

This problem is difficult to explain.
In the image below, how do I get VSCode to only show adjL? I only want suggestions from the file I'm currently editing.
Currently, it shows a whole list of variables that I don't ever use.
See here: https://code.visualstudio.com/docs/editor/intellisense
Adding this to your setting.json should do it.
"editor.quickSuggestions": {
"other": false,
"variable": true
}
But I not recomended that, because intellisence is realy helpfull! ;)
Unless you only care about hiding other variables but not other types of prompts.

How do I disable suggestions for plain text documents in VScode?

I sometimes use VScode for plain text documents, however I'm constantly interrupted by suggestions to use particular words:
How can I stop this behavior for txt files? I would still like suggestions for code.
Via this VScode bug and various related bugs I've attempted the following:
"[txt]": {
"editor.quickSuggestions": false
}
However that does not stop the suggestions from happening.
Found the answer to this one myself, via this screenshot on a related bug - pasting it here to help others:
"[plaintext]": {
"editor.wordBasedSuggestions": false,
"editor.quickSuggestions": false
},
this worked for me:
command palette -> Preferences: configure language specific settings
under suggestions, go to Editor: Quick suggestions, and under the other item, change the value from on to off.
Note there were two other confusingly-named settings: Inline suggest: enabled and `Editor: Snippet suggestions". I had no idea what they meant, but they were not relevant here.

How can I disable auto complete for typescript in vscode?

When I code in typescript in vscode, I see the auto complete popup (as shown below) which is not very usefule. I think they are from another extension but I don't know which one gives me such suggestions. I still need auto-complete from my code.
Does anyone know which extension does this? How can I disable it?
To disable automatic suggestions when you type, set "editor.quickSuggestions": false. If you only want to disable this behavior in TypeScript files, instead add a language specific setting:
"[typescript]": {
"editor.quickSuggestions": false
}
If you want to disable all TypeScript support, search #builtin typescript in the extensions view and then disable the JavaScript and TypeScript Language Features Extension

How can I disable this box on VS Code?

I've searched through similar questions, and couldn't find an answer. It's that box that keeps opening whenever I push Enter, and proceed to include another style component on my stylesheet.
Most of the times it covers a lot of the code when it appears, and this is kinda bothering me. Thanks in advance!
You could stop quick suggestions by adding the following snippet in settings.json
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
}
Or if you just want to disable only emmet abbreviations, you could do so by adding this property in settings.json
"emmet.showExpandedAbbreviation": "never"
More information about various intellisense and emmet abbreviations settings could be found in the following pages
VS Code intellisense settings
VS Code Emmet settings