CSS extract feature and something

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
limonabc
Posts: 11
Joined: Sat Aug 08, 2015 8:29 pm

CSS extract feature and something

Post by limonabc »

hi, is it possible to build in such type of feature where i will paste all of my html code and only id and class selector will be extract within in a second ? in before i use extractcss.com to extract id, n class selector, but it is not avilable now, if possible it would help us a lot to save time and it would be unique feature for rapid programs, and one more thing i would say every time when we open new css file we have to write
* { margin: 0 and padding: 0 } for avoid unexpected default css, so it can be default setting, what do you think? besides in rapid php editor 2015 everytime i have to select " word warp " , its boring, i think default setting should be selected > word wrap < as every time needs word wrap, isnt it?


in html file inside table tag width and height attribute code hints is missing, example <td width="" height=""> </td> and finally
align attribute code hints is missing, <p align=""> text </p> << here no code hints for "ALIGN" :?:
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: css extract feature and something

Post by Aivars »

We'll think about such feature for class/id extraction.

I don't think having * { margin: 0 and padding: 0 } for defaults would be a good idea for everyone because many are using variants of reset.css which makes this unnecessary. You can however make your base template, use File -> Save as Template, and then whenever you need it, use File -> New from Template.

If you set Word Wrap and then restart Rapid PHP, it will remember this setting, so you don't have to turn it on every time.

These attributes (width, height and align) are deprecated in HTML 5 and you should use CSS instead. If your HTML document has a doctype that specifies HTML 4, then there will be width, height and align in the auto-complete, if you must go old-school for some reason.
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: css extract feature and something

Post by pmk65 »

There's a "extract-css" Node.js module: https://github.com/jonkemp/extract-css
Using that it should be fairly simple to create a plugin using my CSSCombWB plugin as codebase. (CSSCombWB use a Node.js module too.)
There are 10 types of people in the world: Those who understand binary and those who don't.
limonabc
Posts: 11
Joined: Sat Aug 08, 2015 8:29 pm

Re: css extract feature and something

Post by limonabc »

thnx you so much, i always get helpful reply to you, :)
Post Reply