CSS Inspector does not add ;

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
vfrrider99
Posts: 4
Joined: Sun Oct 01, 2006 6:33 pm

CSS Inspector does not add ;

Post by vfrrider99 »

I have one annoyance with Rapid CSS 2006, if I choose a css setting from the inspector pane, it does not add the closing ; to the line, so it is entered as

font-size: small

If I add multiple settings, the ; is added to the previously selected setting, just not the latest.


If I use autocomplete then the ; is added once a keyword is selected and I get

font-size: ;

This is annoying me and I would have thought others as well, so I am thinking that it is a setting I have not found rather than a bug.

I am currently using 7.3.0.69
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

Confirmed. I think the 'not adding the ; when using the inspector' is indeed an oversight, but the 'if I use autocomplete then the ; is added' is correct - at this point the autocomplete should fire up with a context-aware selection, eg, 'background' will give you valid values for the background tag.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

The ; at the very last line is not necessary, thus it is not added. You need no ; before the } bracket. (It is correct by specification)

AC adds ; because it is more convenient in this situation, however it is also no error if you do have ; before }
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

I don't use the inspector but I'd be bummed if the last semi-colon weren't added. Yes, it's in spec to leave it off but when you go to add more later... just good coding practice to add one to the end each line.

Will
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Post by notuo »

syrupcore wrote:I don't use the inspector but I'd be bummed if the last semi-colon weren't added. Yes, it's in spec to leave it off but when you go to add more later... just good coding practice to add one to the end each line.
Agree :D
Post Reply