0
 Followers
5
 Likes

Jump to previous/next instance of a style class in CSS style sheet editor

New

It would be handy to be able to jump forwards and backwards to the previous/next instance of any given style class in the CSS style sheet editor.

So for example see below, clicking next (or right arrow icon) it would jump you from the first highlighted instance of the login-logo to the second highlighted instance of it.



In addition to that, it would be nice if the total number of instances of the selected class in that style sheet was visible somewhere.

Created on 22 May (10 days ago)
Comments (11)

If the style class is defined in more than one style sheet, you should be able to easily navigate between those too.

Yes! 

And be able to see the total number of instances in each style sheet and collectively between them.

Hi all,


It's already possible to achieve that by finding usages of the class name and then jumping back and forth by hitting Shift+F3 and F3, respectively.


Cheers!

That only works through searching though, which isn't ideal since it also brings up all the places that style class is used in. Being able to do the same thing from within the style sheet editor would be more useful.

I agree with you, Zachary, but for the time being, if you search for the class name with the dot before it (".my-class"), it won't retreive search results where the class is used, such as Containers or Expressions, so it's a way to accomplish what's being proposed in this idea, despite not being the ideal one.


Cheers!

 Yes it's already possible to do, but whole the point of the suggestion is to save time and hassle - which is the aim of low code.  Currently to know what is in a style sheet, you have to do a search even if no other instances exist, as there's no way of knowing there aren't other instances without actually doing a search, which just isn't efficient.  Plus searches are clunky as you can only search one style sheet at a time or the entire module.

Sure thing, Sienna. 

I also aggree that the whole CSS style sheet navigation experience should be reviewed and improved, from having line numbers to searching for a specific class or selector.

Yes indeed - here's hoping eh!

It can be done by find all occurances in search. It also gives the number of total occurances.

+1

views
51
Followers
0