Is there a way to create a "blacklist" of words or phrases that get ignored by vscode intellisense?
Right now I get an autocomplete suggestion every time I type error, which results in a small code block that I do not want, as I only want the word error itself.
I'm not looking to disable intellisense entirely, only on this one instance of a particular phrase, and was wondering if it's possible to do that.
Related
Using
VSCode v1.54.4
asciidoctor.asciidoctor-vscode extension v2.8.8
Ubuntu 20.04.2
Whenever I type a colon : in the body text, there is an intellisense popup which comes up. As I rarely use attributes, I must dismiss that syntax hint by ESC. But from time to time, I accidentally insert the syntax hint and had to manually delete all the inserted characters.
Is there anyway to disable this syntax hint and ONLY for Asciidoc documents (*.adoc)
This answer is for Markdown documents, but describes the suggestion options that are available.
Based on your question, you might consider adjusting the "editor.acceptSuggestionOnEnter" item, so that accidental insertions of suggestions happens less frequently.
Currently, when I use ctrl+h with something highlighted, my find term is set equal to the highlighted text. Is there a way to stop that (and keep my find term the same as it was previously)?
Often I want to find-and-replace in VS Code, do something, highlight something, and then find-and-replace the same thing again. Is there a way to make it so that I don't have to retype my find term a second time?
I know there are some plugins that have this functionality; if you know of any that allow me to see both my find and replace terms at the same time, I would like to know.
Set this setting to false:
// Controls if we seed the search string in Find Widget from editor selection
"editor.find.seedSearchStringFromSelection": false,
Editor > Find: Seed Search String From Selection
Doing this will also affect your Find/Search in Files functionality.
I can't seem to find if there's a way to do it.
I use VScode for writing markdown text. I love the intellisense/autocomplete which builds my word lists and helps me write faster. The one thing I wish I could change is for the autocomplete word lists to show up AFTER I've typed a certain number of characters.
For e.g., let's say I really want the word "guarding"
I'd like the popup only after I've typed guar rather than at g, and then u, etc. This way, I'm utilizing it only for longer words. The popup for every letter from the beginning is kind of annoying.
Is there a way to do it? (I seem to be able to control the delay when to popup,
In VSCode, when you place cursor inside a symbol (variables, functions, etc), all occurrence of the same symbol will be highlighted.
This feature is somewhat useful but annoying as well. Even I can make it less obtrusive by customizing the color theme in settings.json, it will suppress the selection highlighting when you select a variable by double clicking it with mouse cursor.
I've learned that I can completely disable this feature by adding "editor.occurrencesHighlight":false in settings.json, but this feature is still useful because it can label occurrences of a symbol with different color, to represent read/write status of each occurrence.
So my question is: is there any way to disable the automatic semantic matching feature, and only enable it manually with keyboard shortcuts or commands ?
If you only need textual matches, you can select some text use the Select all occurrences of find match command. This will select every occurrence of the selected text in the current document (and also create a cursor at it)
For symbol based information, try using the Find all references or Peek references commands. The flow is different but it gives the same information.
Alternatively, use an extension like this one to create a keyboard shortcut that toggles editor.occurrencesHighlight
I'm trying to get the ACE editor to show auto suggestions for BDD (Gherkin) based stories. Assuming that I have a way to generate a list of snippets in the form
snippet Given a certain precondition with a parameter $aParam is fullfilled
Given a certain precondition with a parameter ${1:aParam} is fullfilled
I do get a nice list of auto suggestions when entering one of words of the first line, however, spaces do stop the auto completion and it restarts with the next word.
Is there a way to get the autocompletion to consider the entire line, except just one word at a time?