id and class auto complete

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
charlesroper
Posts: 34
Joined: Wed May 10, 2006 9:57 am

id and class auto complete

Post by charlesroper »

A feature I'd love to see is auto complete for id and class attributes. In other words, hit ctrl-space (or whatever) when the cursor is in an id="" and you'd get a list of ids from the currently linked stylesheets. Same for classes.

Charles
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

I guess it works for classes already... or not?
Karlis Blumentals
Blumentals Software
www.blumentals.net
charlesroper
Posts: 34
Joined: Wed May 10, 2006 9:57 am

Post by charlesroper »

No, it doesn't work for classes already, but it would be good if it did.

:)

Charles
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Post by Gatis »

Auto complete for classes works just fine:

Code: Select all

<style type="text/css">
/*<![CDATA[*/
.top {
	padding: 1em
}
/*]]>*/
</style>

<div class="">
Press Ctr-Space while inside quotes: class="|".
A list should pop up. Doesn't it? :?
charlesroper
Posts: 34
Joined: Wed May 10, 2006 9:57 am

Post by charlesroper »

Ah ha! Yes, I see. It works when styles are embedded within a style block within the document, but not when stylesheets are linked. It's a really useful feature, but is a bit redundant if it only works for styles embedded in the document. Needs to work with linked stylesheets and ids too for full effect.

Cheers,

Charles
charlesroper
Posts: 34
Joined: Wed May 10, 2006 9:57 am

Post by charlesroper »

Is autocomplete for classes and ids when the stylesheets are linked likely to be implemented? This is another one of those small yet totally invaluable features TopStyle has. Since switching, I'm really missing it. :cry: [/i]
Post Reply