-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable automatic highlighting of current token/word? #5351
Comments
I think |
Right, it shouldn't. But an additional option to disable this would be very welcome. |
@alexandrudima any updates? Seems like an easy feature to add, let me know if there's any interest or if you'd like a pull request for this. |
👍 on a PR. You can add a new editor option and use it in https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/wordHighlighter/common/wordHighlighter.ts#L120 -- that is where we do the call to do semantic word highlighting to language servers. |
+1 - I like selected matches to be highlighted, but I would like to be able to disable automatic keyword highlighting. |
This is really annoying visually. Also in most themes there's barely a visual difference between a highlighted word and a selected one. |
I agree @PierBover. Please react on the top post to raise its profile. |
any solution to this ? |
+1 |
Added |
Thank you @alexandrudima ! |
Having read this discussion a few times I assumed that setting Still highlighting words automatically when the cursor is:
|
Same for me. Language: Go |
I also am experiencing that setting If the cursor is on a word, all occurrences of that word are still highlighted. |
@alexandrudima Since |
Support for After installing the recommended "Ruby" extension, highlighting occurrences is always disabled for Ruby files, changing the Installing the recommended "Python" and "mssql" extensions didn't change anything for those file types, occurrences are always highlighted. |
@sullerandras |
Thank you for the feedback. For cases where no extension registers a document highlight provider, the selection highlighter compensates and highlights whole words. This can happen for any language where we don't ship with such a document highlight provider (e.g. ruby, sql, python). I've extracted this to #24426 |
Updated my vscode to V1.11.2, is not working to stop highlight semantic symbol occurrence. :( |
Was this fix released in VS Code v1.11.2, or is the release of this change still pending? Language: Go |
Nothing has changed in 1.11.2.
Language: plain text |
Same issue, Language: ruby |
Same issue, "editor.occurrencesHighlight": false has no effect. Language: javascript |
My understanding is that this issue was moved to this issue: #24426 and that issue was fixed but will not appear until the April 2017 milestone which closes April 30, 2017. |
Sorry if this has been asked before (I couldn't find it in any issues containing "highlight").
Is it possible to disable automatic highlighting of the current token/word without also disabling match-highlight for explicit selections via
"editor.selectionHighlight": false
?Thanks!
The text was updated successfully, but these errors were encountered: