"Scope Hunter" equivalent for finding color theme that controls a specific code element?

Hi. Sublime Text has a "Scope Hunter" plugin that can identify the specific element of a color scheme that controls selected code.

I dislike the appearance of bold text anywhere in my code. I've seen the old advice to edit the color scheme XML, but this doesn't help when the bold highlighting in question is presumably inherited from "Default", and one cannot find the bold highlighting anywhere in "Default".

I am specifically trying to rid my code of bold strings inside comments. I've just spent hours repeatedly stepping through every item for the Default color scheme, watching for the bold checkbox, without finding what controls this. I would have been done hours ago, with a plugin like "Scope Hunter". I even imagine I've read about a simple feature of RubyMine that might help here, but I can't find it by persistent Googling. Perhaps I imagined that because RubyMine is evidently a much smarter environment than other editors, it must have such a feature, but it doesn't.

At this point it wouldn't surprise me if these bold strings in comments are leaking past the color scheme as a bug. I don't know enough to report this as such.

One annoyance while attempting to step through every setting is the "economy class" status of the text inside settings. Nothing is expanded by default, there's no key sequence for diving into unexpanded options, and one can't simply select all and expand all as one would in a "first class" text pane. I'm reminded of the horrors of Fortran programming on punched cards in the 1970's, where one needed a paranoid awareness of how each field was crippled; there was no general notion of an "expression" one could use anywhere. At the other extreme, I was as annoyed as anyone at Lisp programmers proclaiming their genius, and how the rest of us are "blub" programmers, because anything can't just go anywhere in our primitive languages. So when I joined the TextMate craze back in the day, it was distressing to feel one had slipped back twenty years when editing their crippled settings text. Sublime Text gets this right, one edits settings in a regular "first class" editor pane. And RubyMine is supposed to be much smarter than any other editor, but I'm in a crippled editor pane again, as if I was back juggling Fortran punch cards, while trying to obsessively find a single setting by exhaustive search. Ouch!

It's fun to watch a New Yorker come home drunk, to a three lock door: It should take a maximum of eight tries to figure out which locks are clockwise, which are counterclockwise, but many New Yorkers spent hours shivering outside their door, locked out by an inability to perform an exhaustive search. I'm sure one sees this also in Russia? I'd like to argue that it's bad code design to make a user feel like a locked-out drunk.

But I must be missing something? As much as I'd like the specific fix here, I'd really like to know the idiomatic way to accomplish goals like this in a few seconds: Deduce the relevant color scheme applying to a specific code element, and fix it.

# %x( "#{BIN}/bundle.sh" "#{section}" )

I found a simple way on OS X to stab the beast here: Go into "Font Book" and disable Black, Bold, and Semibold for "Source Code Pro". Now, RubyMine is unable to bold anything, when using that font.

I'd still like to understand how to quickly identify the relevant color scheme control for specific code elements.



at the moment in Settings | Editor | Color Scheme after choosing a certain language you can navigate to the corresponding color element by clicking on the code element in the preview window. In addtion, we have a request for improving the current colour scheme management:



Please sign in to leave a comment.