4 ms·
There's a sublime text package that does this for a bunch of different languages: https://github.com/vprimachenko/Sublime-Colorcoder https://github.com/vprimach
by fake-name 7y ago
There's a sublime text package that does this for a bunch of different languages:
https://github.com/vprimachenko/Sublime-Colorcoder https://github.com/vprimachenko/Sublime-Colorcoder
I'm not involved in any way, I just ran it for a while at one point.
- soulofmischief 7y agoWebstorm has an option for this and it makes things like dense enclosures or JSON actually parsable.
- galaxyLogic 7y agoWhich feature is that? I've been using WebStorm for some time and wishing for a feature that would highlight all matching parenthesis (), [] and {}.
- _virtu 7y ago- plugin: rainbow brackets - preference: semantic highlighting
- galaxyLogic 7y agoThanks. I tried it but it did not quite do what I needed so I uninstalled it. (I'm afraid of plugins in general taking performace away). It worked on JS-files but I have HTML-documents containing (example) JavaScript etc. code. Seems it did not react to parenthesis in them. Also even in plain JS-files you may have strings containing parenthesis. Standard WebStorm already highlights matching parenthesis in JavaScript and does a good job at that.
- soulofmischief 7y agoI don't use rainbow brackets, but I do use semantic highlighting. It's worth seeing if semantic highlighting would still be useful to you. It greatly helps scanning speed.
- synthc 7y agoThere is also an emacs package that does something similar: https://github.com/jacksonrayhamilton/context-coloring https://github.com/jacksonrayhamilton/context-coloring
- sprobertson 7y agoAnd vim apparently: https://github.com/jaxbot/semantic-highlight.vim https://github.com/jaxbot/semantic-highlight.vim
- synthc 7y agoI think DrRacket also has something like this, but it shows lines between identical variables instead of using colors.
- xvilka 7y agoSeems dead for many years already.
- cjs_2 7y agoHow many updates per month are you expecting for a package like this?
- xvilka 7y agoMultiple times a day, like radare2. Seriously, if there is no activity in 6 months - then the project is dead.
- mikekchar 7y agoThis is a lexical highlighter that tries to highlight similar, but different text differently. There's a point in time where there are no new features necessary. radare2 is a portable reversing framework. I can't think of 2 projects more dissimilar. Perhaps you were thinking that the highlighter actually did something other than color text in an arbitrary way? Can you give an example of something that you would expect to change about it, especially at the rate of multiple times a day?
- guessmyname 7y ago> There's a sublime text package that does this for a bunch of different languages You don’t need a package for this, Sublime Text 3 already does this automatically [1]. [1] https://www.sublimetext.com/docs/3/color_schemes.html#hashed_syntax_highlighting https://www.sublimetext.com/docs/3/color_schemes.html#hashed...
- fake-name 7y agoWell, neat! I haven't used the plugin since the ST2 days, so I didn't realize it was no longer needed.
- nh2 7y agoHow can I use it? The simplest way seems to be to use the "Celeste" color scheme which implements this. Is this the only way? I'd like to use a dark theme, like the default Monokai.
- guessmyname 7y agoYes, “Celeste” is the only theme with support for semantic highlighting. For dark mode, I use this project — https://github.com/cixtor/monnokay https://github.com/cixtor/monnokay
- cylon13 7y agoWhat made you decide to stop using it?