Intellisense for writting CSS selectors

TopStyle has been discontinued and support is no longer available. The forum is read-only. NOTE: TopStyle was not developed by the makers of CSS HTML Validator.
User avatar
FataL
Rank II - Novice
Posts: 23
Joined: Mon Feb 28, 2011 7:41 pm

Intellisense for writting CSS selectors

Post by FataL »

When creating CSS selectors TopStyle can lookup for structure of HTML markup and suggest appropriate HTML structure.
This is already implemented in Microsoft Sharepoint Designer and Microsoft Expression Web for many years.

You can test this feature here for free (only via Internet Explorer).

I created animated GIF to show how it works.
User avatar
TopStyle Support
Rank VI - Professional
Posts: 506
Joined: Sat Jun 13, 2009 12:38 pm

Re: Intellisense for writting CSS selectors

Post by TopStyle Support »

I'm planning this for TopStyle 5
User avatar
TopStyle Support
Rank VI - Professional
Posts: 506
Joined: Sat Jun 13, 2009 12:38 pm

Re: Intellisense for writting CSS selectors

Post by TopStyle Support »

I have added this to TopStyle version 5.0.0.30.
User avatar
FataL
Rank II - Novice
Posts: 23
Joined: Mon Feb 28, 2011 7:41 pm

Re: Intellisense for writting CSS selectors

Post by FataL »

Great!
Testing...
User avatar
FataL
Rank II - Novice
Posts: 23
Joined: Mon Feb 28, 2011 7:41 pm

Re: Intellisense for writting CSS selectors

Post by FataL »

This is a good start, I can say.

Current TopStyle's implementation lacks HTML hierarchy awareness and suggests all known tags every time. But it has awareness of all IDs and classes in the document (disregards real IDs and classes owners).

Ideally Intellisense should suggest HTML structure and after that full list of known HTML tags.

Code: Select all

<p class="one"><span>test</span></p>
<p class="two"><em>test</em><p>
<div class="three">test</div>
p.|
===============
.one
.two
===============


p |
===============
em
span
---------------------
a
abbr
acronym
...
===============


div |
===============
a
abbr
acronym
...
===============


.two |
===============
em
---------------------
a
abbr
acronym
...
===============