Giter Site home page Giter Site logo

Comments (5)

seanliang avatar seanliang commented on June 22, 2024

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?

  1. The keywords will not be affected, or
  2. The keywords will appear in the input panel and you can remove any of them, or
  3. The keywords will be removed from highlighting

from highlightwords.

mayuroks avatar mayuroks commented on June 22, 2024

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

  1. The keywords will not be affected or 3) removed from highlighting, THAT will depend upon these settings
    These settings will help in setting up my coding practices and deal with most of the regular stuff

  2. Input panel can also be a good way when you wanna go deeper into highlight / searching in whichever way the user prefers.

I hope you get the idea.

from highlightwords.

seanliang avatar seanliang commented on June 22, 2024

Ok. I'll try to implement this feature when I have time.

from highlightwords.

Enteleform avatar Enteleform commented on June 22, 2024

+1, this would be an awesome feature 👍

from highlightwords.

laramjo avatar laramjo commented on June 22, 2024

They could give me an example of how to change the color of the word to highlight

(google translate.)

from highlightwords.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.