-
Notifications
You must be signed in to change notification settings - Fork 21
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
Always highlight a set of keywords #9
Comments
Do you mean that the plugin will highlight those words automatic when the document is opened? What will happen if you perform a manual highlight later?
|
YES the pluign should automatically highlight those words as soon as the document is opened. This feature is mostly about long term code-base development / maintainance rather than short-term word highlighting The best solution to overcome conflicts is to have keyword-color list like this. permanent_highlight_keyword_color_mappings: {'TODO': 'yellow', 'FIXME': 'red'} there should be few more settings for permanent highlight like this permanent_keyword_highlight_toggle_key: <SOME BUTTON> # turn on n off the prmently highlighted words
permanent_keyword_highlight_always: true # if set to false, you can use toggle key
permanent_keyword_hide_on_manual_search: true( DEFAULT ) # false to keep them highlighted in case of manual searches as well And the new manual words should be highlighted using default colors, so to answer your questions
I hope you get the idea. |
Ok. I'll try to implement this feature when I have time. |
+1, this would be an awesome feature 👍 |
Always highlight keywords (issue #9)
They could give me an example of how to change the color of the word to highlight (google translate.) |
keywords like TODO, FIXME, BADCODE, README etc are are found in most of my code. I want those words to be highlighted as soon as my sublime text comes up.
I can save those words to an array in my settings and and I want those words to always be highlighted. Is there way to do that ?
The text was updated successfully, but these errors were encountered: