Sublime Forum

CSS classes not listing

#1

hi
am using ST-3 in that i want to use the classes whatever the css files has been linked in that file. i installed css extension package . but its not listing connected css classes while am typing it shows only whichever already used in that file.

how to list all the classes from the css file whichever the files has been included (linked) in the html file?

0 Likes

#2

Sublime Text already has an CSS package, then you cannot have installed it again. You should have installed some other package. Which package did you installed exactly?

I am not sure if there is exists some package which can do autocompletion for CSS classes/files. But you can give a look into some other packages as:

  1. https://github.com/y0ssar1an/CSS3
  2. https://github.com/Microsoft/language-server-protocol
  3. https://github.com/tomv564/LSP
  4. https://github.com/SublimeCodeIntel/SublimeCodeIntel
0 Likes

#3

i’ve installed https://packagecontrol.io/packages/CSS%20Extended%20Completions
but if am using for ex: whatever the class it is…

in that nav and nav-bar classes are needs to be listed from the bootstrap css or any other css if that class is in css file, which is linked into that html file. but its not listing while typing its listing only which is already used any other file or used in that.
if you use dreamweaver code editor in that if press space bar in class name it will list all the classes from the css files which all are linked in to that. like that i want.

0 Likes

#4

You could open an issue on the CSS Extended Completions issue tracker:

  1. https://github.com/subhaze/CSS-Extended/issues

Or look for some other alternative as LSP (Language Server Protocol).

0 Likes