Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

By “brace/bracket highlighting” I mean: when you select an opening or closing curly brace or a bracket while editing JavaScript in Espresso, the brace/bracket you’ve selected and its corresponding closing brace/bracket is highlighted with some visual cue (bold, background colour, anything).

If not, would it be possible to develop such a sugar?

share|improve this question
1  
Could you specify what exactly you mean by “bracket highlighting”? –  kopischke Nov 8 '11 at 12:46
    
+1 hey kopischke, I've updated my question –  andy Nov 9 '11 at 8:34
add comment

1 Answer

up vote 1 down vote accepted

As far as I can see, there is not. Developing such a Sugar might not be possible from my (very limited) understanding of the Espresso plugin documentation – JavaScript text Actions look like the best match, but the API does not seem to offer the kind of access needed for automatic highlighting. Note I haven’t delved into the ObjectiveC plugin docs (because there are none – the headers included with Espresso are the docs, and my understanding of ObjectiveC and Cocoa is slim, to say the least).

share|improve this answer
    
+ 1 hey kopischke, I thought as much, just wanted to get a second opinion. thanks –  andy Nov 12 '11 at 8:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.