Respect groups in "Format CSS code"

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
ddoesburg
Posts: 5
Joined: Thu Dec 15, 2011 11:49 am

Respect groups in "Format CSS code"

Post by ddoesburg »

Hi, I use to use groups in my stylesheets. Groups are a comment with in a certain way a title of the group, and a comment with a certain format. Example

/* @ Group navigation --- begin */

the style

/* @ Group navigation --- end */

But any other format is okay.

My problem is that this comments are not respected with the option "Format CSS code". So the style inside this group is mixed up with the other style and the comments where sorted in the head of the sheet.

Is it possible to build one way or an other a solution for this problem?

Kind regards,

Daniel Doesburg
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Respect groups in "Format CSS code"

Post by Aivars »

If you want to preserve selector order then set "Selector order" to "Unchanged" in Format CSS code dialog. This grouping by comments is not a part CSS standard (yet?) and Rapid PHP does not understand these comments as something special.
Blumentals Software Programmer
mithcd
Posts: 47
Joined: Sun Jul 01, 2012 6:30 pm

Re: Respect groups in "Format CSS code"

Post by mithcd »

Any chance of having grouping by comments to be developed in the future?
When in doubt, use Brute Force Image
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Respect groups in "Format CSS code"

Post by Aivars »

mithcd wrote:Any chance of having grouping by comments to be developed in the future?
Will you use this feature?
Blumentals Software Programmer
Post Reply