Giter Site home page Giter Site logo

Color picker about highlightwords HOT 9 OPEN

mrvkino avatar mrvkino commented on June 17, 2024 1
Color picker

from highlightwords.

Comments (9)

alvolturbo avatar alvolturbo commented on June 17, 2024

Yeah, it could be nice

from highlightwords.

liuhewei avatar liuhewei commented on June 17, 2024

There is no settings for HighlightWords. There is better one for configuring colors, regex on/off, case-sensitive on/off, and something else. Better extensibility and flexibility since sublime text can configure for global, syntax, and project scopes.

from highlightwords.

seanliang avatar seanliang commented on June 17, 2024

HighlightWords will create the user settings file once you run the "Toggle Settings" command. You can also add the same entries in your project settings to override the user and default ones.

Users who want to pick the colors freely have to change the active theme file manually, which is not that easy. I will bring this up when I get a better idea.

from highlightwords.

liuhewei avatar liuhewei commented on June 17, 2024

@seanliang Yes, I found the 'HighlightWords.sublime-settings' under /User. Thanks.

BTW, I think it's better to add another configuration item, named like "match_whole_word" to the settings, which is used for matching only whole word rather than substrings. I currently use the regex for this type of highlight, but I think it's not convenient. For instance, when I want to highlight "Rate", only the whole word, I must input "\bRate\b" in the pane.

What do you think?

from highlightwords.

Enteleform avatar Enteleform commented on June 17, 2024

what ( name | scope ) does HighlightWords use from the theme file?

from highlightwords.

xacid avatar xacid commented on June 17, 2024

I suppose there are five colors currently.
SCOPES = ['string', 'entity.name.class', 'variable.parameter', 'invalid.deprecated', 'invalid', 'support.function']

from highlightwords.

xacid avatar xacid commented on June 17, 2024

Hi, I just added an option 'colors_by_scope' in the settings. Please see the commit.
xacid@e53ca49

BTW, I added the entry "ignore_case" (or other options) in my "Preferences.sublime-settings", but I can't modify the the option from. I suppose the function "sublime.load_settings('HighlightWords.sublime-settings')" only loads settings in that file?

from highlightwords.

laramjo avatar laramjo commented on June 17, 2024

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

from highlightwords.

daidaiworm avatar daidaiworm commented on June 17, 2024

I think quite a few of users need some example on # how to customize certain keywords' color#.

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.