Page 1 of 1

bracket high-lighting

Posted: Wed Mar 04, 2009 3:36 pm
by pwuk
Hi, this is something I'd find useful, colour high-lighting of the current set of curly brackets working on, like this :

{

{
{
//I'm editing code here
alert("blah blah blah");
}
}

}

Posted: Fri Mar 06, 2009 5:21 pm
by Iveco
Yep, that would be a very useful feature. I would be very interested in this. :roll:

Posted: Fri Mar 06, 2009 5:47 pm
by eric_suen
You can change the color by preferences "Spket -> Editors -> JavaScript Editor", change the option "Highlight matching brackets"

Posted: Mon Mar 09, 2009 12:47 pm
by pwuk
eric_suen wrote:You can change the color by preferences "Spket -> Editors -> JavaScript Editor", change the option "Highlight matching brackets"
True enough and very useful too, but you have to have the the cursor on the matched bracket.

Re: bracket high-lighting

Posted: Wed Mar 18, 2009 9:30 pm
by Exception e
pwuk wrote:Hi, this is something I'd find useful, colour high-lighting of the current set of curly brackets working on, like this :

{

{
{
//I'm editing code here
alert("blah blah blah");
}
}

}
Well, that's why you you should use identation. Then you always know on what level you are. Wouldn't that be enough?

Posted: Thu Mar 19, 2009 10:37 am
by pwuk
Well, that's why you you should use identation.
Well quite, I forgot to add the code indicators

Code: Select all

{
    { 
          {
               //I'm editing code here
              alert("blah blah blah");
          }
    }
}
And yes it does help, but have you seen how many {} and [] you end up with using ExtJS?

Posted: Sat Apr 18, 2009 7:41 pm
by Exception e
pwuk wrote:And yes it does help, but have you seen how many {} and [] you end up with using ExtJS?
You're right. I see cases for this, even when I develop in php. I try to keep the number of levels small in my procedures, but sometimes you still could be helped if the level would be indicated nonetheless.

So I see your point now. 8)