Page 1 of 1

Intellisense for writting CSS selectors

Posted: Mon Feb 28, 2011 7:55 pm
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:
Image

Re: Intellisense for writting CSS selectors

Posted: Tue Mar 01, 2011 12:37 am
by TopStyle Support
I'm planning this for TopStyle 5

Re: Intellisense for writting CSS selectors

Posted: Thu Jul 05, 2012 9:56 am
by TopStyle Support
I have added this to TopStyle version 5.0.0.30: http://svanas.dynip.com/topstyle/beta.html

Re: Intellisense for writting CSS selectors

Posted: Thu Sep 13, 2012 10:52 am
by FataL
Great!
Testing...

Re: Intellisense for writting CSS selectors

Posted: Wed Oct 10, 2012 12:04 am
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
...
===============