Bracket Matching in CSS

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
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".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
joemichaud
Posts: 39
Joined: Sat Sep 29, 2007 4:58 pm

Bracket Matching in CSS

Post by joemichaud »

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!
Last edited by joemichaud on Mon Jun 30, 2008 5:34 pm, edited 1 time in total.
Joe Michaud
User avatar
joemichaud
Posts: 39
Joined: Sat Sep 29, 2007 4:58 pm

Re: Bracket Matching in CSS

Post by joemichaud »

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. :wink:
Joe Michaud
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Bracket Matching in CSS

Post by Gatis »

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).
Kind regards,
Gatis Avots
User avatar
joemichaud
Posts: 39
Joined: Sat Sep 29, 2007 4:58 pm

Re: Bracket Matching in CSS

Post by joemichaud »

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.
Joe Michaud
biotech
Posts: 27
Joined: Mon Mar 09, 2009 10:08 pm

Re: Bracket Matching in CSS

Post by biotech »

It has been a while...thought ask the same question if things have changed. Would love to have this for ExpressionEngine.
Thanks!
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Bracket Matching in CSS

Post by syrupcore »

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.
Post Reply