Skip to content
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

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

Open
alvolturbo opened this issue Feb 4, 2021 · 11 comments
Open

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

alvolturbo opened this issue Feb 4, 2021 · 11 comments

Comments

@alvolturbo
Copy link

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.

@krasa
Copy link
Owner

krasa commented Feb 10, 2021

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

@alvolturbo
Copy link
Author

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
Copy link
Author

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

@krasa
Copy link
Owner

krasa commented Feb 10, 2021

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

@alvolturbo
Copy link
Author

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

@krasa
Copy link
Owner

krasa commented Feb 11, 2021

Sorry, I have no idea what you mean.

@alvolturbo
Copy link
Author

@krasa
Copy link
Owner

krasa commented Feb 11, 2021

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

@alvolturbo
Copy link
Author

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

@krasa
Copy link
Owner

krasa commented Feb 13, 2021

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

@alvolturbo
Copy link
Author

thanks a lot for you tutor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants