You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Highlight selected text is not applied to all opened files #30014
Selecting text for highlight(either by marking it or by double clicking) highlight the selected text only in selected opened file but not in all opened files in other panels.
In addition, the highlight marker is not visible in map preview.
Reacted by Alexandru Dima, Anders Elfgren, kenijo, Jules Terrien, Martin, Marconi Moreto Jr, Kai, Rosen Matev, Gabriel Hege, GENERIC_ERROR and 77 more
I am definitely in favor of this feature which I am used to with Notepad++ (which they call Smart Highlighting In All Views). To help people understand, here are a couple of screenshots:
Current behavior when highlighting the word "car" in the left view (matches are highlighted only in the left)
Expected behavior when highlighting the word "car" in the left view (matches are highlighted in both views)
Reacted by Pelayo PAREJO PAGADOR, Rahul, Baraa Zakariya, Tim Nee, Ricky, Alexis Ablain, Baryczka, Ksenia Platova, Mohamed, phgogo and 12 more
Here are a few plugins that do the highlight of all occurrences of a word within a single document. I requested to all the developer to add the ability to highlight across multiple views.
Feel free to go in and +1 the feature to motivate them to develop the feature.
On my instance, highlight-icemode-select does not highlight the word in the minimap. Am I missing something?
Sorry John Heller (@jheller) I meant that highlight-icemode-select is solving the "Highlight selected text is not applied to all opened files" problem perfectly. I can't say anything about the mini-map part as I don't use those, sorry!
The cross-editors-selections extension is a start in the right direction, but it only highlights the selected text in the minimap. I have another extension that highlights all occurences of the selected text in the editor, and I would like to see that reflected in the minimap. Atom was able to do this so well, and it's the feature I miss most.
but it only highlights the selected text in the minimap
it really depends on your editor configuration, ex."editor.hideCursorInOverviewRuler": false, again the extension does nothing outside the usual editor behavior, so i would recommend to disable any selection modifier/highlighter extensions & see if the editor behave as you expect.
OK. I removed the highlight-icemode extension I was using. Now in the editor it only highlights the selection, not other occurences of it in the editor. And the minimap just shows the selection - and that is barely visible.
Here is what I would like to see. This image is from the Atom package minimap-highlight-selected, which worked in conjunction with the highlight-selected package. When a word is selected it shows (very clearly) all occurences of it in the editor and in the minimap. I found it extremely useful.
Activity
aviadb commentedon Aug 30, 2017
Almost 2 month has passed since,
without any progress.
kenijo commentedon Nov 18, 2017
I am definitely in favor of this feature which I am used to with Notepad++ (which they call Smart Highlighting In All Views). To help people understand, here are a couple of screenshots:
kai6novice commentedon Apr 3, 2019
This is exactly the feature I am looking for. When I almost submitted a feature suggestion, I found this. It has been almost 2 years.
begin-again commentedon Sep 21, 2019
Are there any plugins which support this behaviour?
kenijo commentedon Sep 23, 2019
Here are a few plugins that do the highlight of all occurrences of a word within a single document. I requested to all the developer to add the ability to highlight across multiple views.
Feel free to go in and +1 the feature to motivate them to develop the feature.
https://github.com/ryu1kn/vscode-text-marker
https://github.com/rsbondi/highlight-words
https://github.com/cliffordfajardo/highlight-selections-vscode
https://github.com/EsIce/highlight-icemode
20 remaining items
electrovir commentedon Dec 21, 2022
Just came across this and the above mentioned
highlight-icemode-selectextension is accomplishing this feature perfectly for me.jheller commentedon Dec 21, 2022
On my instance, highlight-icemode-select does not highlight the word in the minimap. Am I missing something?
electrovir commentedon Dec 21, 2022
Sorry John Heller (@jheller) I meant that
highlight-icemode-selectis solving the "Highlight selected text is not applied to all opened files" problem perfectly. I can't say anything about the mini-map part as I don't use those, sorry!ctf0 commentedon Apr 15, 2023
i made something that might help with this one https://marketplace.visualstudio.com/items?itemName=ctf0.cross-editors-selections
jheller commentedon Apr 18, 2023
The cross-editors-selections extension is a start in the right direction, but it only highlights the selected text in the minimap. I have another extension that highlights all occurences of the selected text in the editor, and I would like to see that reflected in the minimap. Atom was able to do this so well, and it's the feature I miss most.
ctf0 commentedon Apr 18, 2023
it really depends on your editor configuration, ex.
"editor.hideCursorInOverviewRuler": false, again the extension does nothing outside the usual editor behavior, so i would recommend to disable any selection modifier/highlighter extensions & see if the editor behave as you expect.jheller commentedon Apr 18, 2023
OK. I removed the highlight-icemode extension I was using. Now in the editor it only highlights the selection, not other occurences of it in the editor. And the minimap just shows the selection - and that is barely visible.
Here is what I would like to see. This image is from the Atom package minimap-highlight-selected, which worked in conjunction with the highlight-selected package. When a word is selected it shows (very clearly) all occurences of it in the editor and in the minimap. I found it extremely useful.
ctf0 commentedon Apr 18, 2023
this depends on your editor configuration, maybe you got used to a selection modifier made by other extensions, but this outside the extension scope.
plz check the editor minimap settings
the extension i made is not for this usage, plz check the readme