GrepConsole icon indicating copy to clipboard operation
GrepConsole copied to clipboard

Add Color List for the "Toggle Highlight of All Occurrences"

Open alvolturbo opened this issue 5 years ago • 11 comments

Add Color List Is is it possible to add preferred Colors List to make Toggle Highlight according to it? If there is not enough item in the list, plugin could be used with random colors as it is for now. Removing any color highlight could add item to the preferred list again.

alvolturbo avatar Feb 04 '21 17:02 alvolturbo

Try https://plugins.jetbrains.com/plugin/9511-multihighlight - it did not support plaintext when I made this feature.

krasa avatar Feb 10 '21 14:02 krasa

thanks i know this plugin but it highlights only full word, not exactly that pattern i have selected (but it has cyclic color switch what is good)

alvolturbo avatar Feb 10 '21 18:02 alvolturbo

is it possible to make live highlights for all instances of that pattern i have selected? changing selection--changing other places with that highlighting

alvolturbo avatar Feb 10 '21 18:02 alvolturbo

https://plugins.jetbrains.com/plugin/201-browsewordatcaret does that but only for whole words, you could probabaly change that and if you want to edit all highlighted places at once, then use Main Menu | Edit | Find | Select All Occurrences

krasa avatar Feb 10 '21 18:02 krasa

this is not what i mean... any pattern with several words and any characters in that pattern very useful feature to compare code parts "on fly" (when highlight becomes not active) but thanks in any case

alvolturbo avatar Feb 10 '21 19:02 alvolturbo

Sorry, I have no idea what you mean.

krasa avatar Feb 11 '21 12:02 krasa

like this https://user-images.githubusercontent.com/9571591/107694395-fe86e380-6cb7-11eb-9f42-6587dc914628.mp4

alvolturbo avatar Feb 11 '21 20:02 alvolturbo

yes, that's what I meant, this could do it https://github.com/minman/browse-word-at-caret/compare/master...krasa:custom?expand=1 q

krasa avatar Feb 11 '21 23:02 krasa

great! good feature can you advise of how to install your "custom brach update" to the current plugin "browse-word-at-caret"?

alvolturbo avatar Feb 12 '21 20:02 alvolturbo

https://github.com/krasa/browse-word-at-caret/releases/download/3.0.5-custom/browse-word-at-caret.jar You might want to get into plugin development. I commited some project files, so the the process should be similar to this: https://github.com/krasa/StringManipulation#how-to-build-and-run

krasa avatar Feb 13 '21 09:02 krasa

thanks a lot for you tutor

alvolturbo avatar Feb 13 '21 19:02 alvolturbo