As I believe I've mentioned in the past, I use a CMS (Content Management System) that allows me to place variables inside my HTML & CSS files. I essentially build up a web site like any other but instead of putting content in the HTML, I put variables where I want the content to be.
One of the huge advantages of this system is I can also place variables inside the CSS so that certain images, colors, and sizes can be tweaked from a central location. As can be seen in the following image, variables are placed inside curly brackets - { }. Unfortunately, as can also be seen below, any right bracket - } - signals the end of a definition and the highlighting doesn't work correctly afterward.
Image Removed by Author
My request is this: could you please apply bracket matching inside CSS blocks so that the syntax highlighting continues to work normally after a variable?
As always gentlemen, thanks very much!
Bracket Matching in CSS
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
- joemichaud
- Posts: 39
- Joined: Sat Sep 29, 2007 4:58 pm
Bracket Matching in CSS
Last edited by joemichaud on Mon Jun 30, 2008 5:34 pm, edited 1 time in total.
Joe Michaud
- joemichaud
- Posts: 39
- Joined: Sat Sep 29, 2007 4:58 pm
Re: Bracket Matching in CSS
I know ya'll are busy working on important bugs and features but I don't want my humble little request to be forgotten... So I thought I would raise this post to the top this one time. 

Joe Michaud
Re: Bracket Matching in CSS
We do apologize if some post do not get answered as soon as you would like to.
The thing is, we have recently released new major version, and have been working on some last fixes, the update should be released in some days.
After that, I think we need to "cool down" a bit, and then consider where to move further. Also I am going on a vacation from12th of June till the 25th.
There is a great space of improvement, of course, but we need to be sure we move in the right direction and do not get stuck with every feature customers request (sorry to say, but this one seems to be one of such..., because it is a non-standard, and you are the first who has asked for this, as far as I know).
The thing is, we have recently released new major version, and have been working on some last fixes, the update should be released in some days.
After that, I think we need to "cool down" a bit, and then consider where to move further. Also I am going on a vacation from12th of June till the 25th.
There is a great space of improvement, of course, but we need to be sure we move in the right direction and do not get stuck with every feature customers request (sorry to say, but this one seems to be one of such..., because it is a non-standard, and you are the first who has asked for this, as far as I know).
Kind regards,
Gatis Avots
Gatis Avots
- joemichaud
- Posts: 39
- Joined: Sat Sep 29, 2007 4:58 pm
Re: Bracket Matching in CSS
Thanks Gatis. I completely agree... You need to evaluate the needs of your target market and pursue only those features relevant to expanding your appeal with the members of that market. Sadly, I don't seem to be one of them.
Your product is good and has been an excellent learning platform so I will likely stick with WB until DW-CS4 hits the streets. Should you decide to pursue the Expression Engine developers market in the future then please feel free to contact me.
Your product is good and has been an excellent learning platform so I will likely stick with WB until DW-CS4 hits the streets. Should you decide to pursue the Expression Engine developers market in the future then please feel free to contact me.
Joe Michaud
Re: Bracket Matching in CSS
It has been a while...thought ask the same question if things have changed. Would love to have this for ExpressionEngine.
Thanks!
Thanks!
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
Re: Bracket Matching in CSS
I'm guessing the OP uses expression engine as well.
I'm not sure but I think you'll be able to hack this a little more easily in the next version since there will be some help with the syntax highlighting files.
Why expression engine chose to use {} for their variables I'll never understand. I love some EE but dang, <?php $theColor; ?> isn't scary.
I'm not sure but I think you'll be able to hack this a little more easily in the next version since there will be some help with the syntax highlighting files.
Why expression engine chose to use {} for their variables I'll never understand. I love some EE but dang, <?php $theColor; ?> isn't scary.