Home Download Buy Blog Forum Support

Auto-complete for CSS Class and ID names

Auto-complete for CSS Class and ID names

Postby mdumka on Thu Aug 08, 2013 4:48 pm

Hello,

I have been working with the tutorials and video's out there for ST. But the only problem is I have no idea what package to use for auto-completing class and ID names.

I tried AllAutoComeplete but it did not bring up my styles or id's.

I tried SublimeCodeIntel and it is not working (at least for me, but that's another post).

Is there any other packages out there that will do this?

Thanks
mdumka
 
Posts: 5
Joined: Wed Jun 05, 2013 9:27 pm

Re: Auto-complete for CSS Class and ID names

Postby subhaze on Thu Aug 08, 2013 11:21 pm

I'm not sure if this will help you, but, I have a personal CSS plugin for ST3 which auto completes CSS class names.
It lazy loads the completion list currently so you'll have to actually save a file and then it'll will parse the file and store the completion results.

FYI, it overrides the shipped CSS package since I started the code base from it.

https://github.com/subhaze/CSS-sublime-package
subhaze
 
Posts: 221
Joined: Tue Apr 09, 2013 3:22 am

Re: Auto-complete for CSS Class and ID names

Postby mdumka on Fri Aug 09, 2013 5:24 am

Thanks for the help, I will give it a shot.

But is there really nothing out there that does this in ST2? How did you deal with this problem in v2?

I use a few of the popular packages in ST2, do they work in ST3?

Thanks again
mdumka
 
Posts: 5
Joined: Wed Jun 05, 2013 9:27 pm

Re: Auto-complete for CSS Class and ID names

Postby c41 on Thu Aug 29, 2013 4:02 am

this works!
have been looking for this for a long time. can finally switch to ST3.
thankyou
c41
 
Posts: 4
Joined: Tue Feb 26, 2013 11:02 pm

Re: Auto-complete for CSS Class and ID names

Postby cozzbie on Tue Dec 31, 2013 8:04 pm

c41 wrote:this works!
have been looking for this for a long time. can finally switch to ST3.
thankyou



Hey. Can you please give me some help on how to get this working on ST3? Downloaded the package but it stil doesn't work.
Thanks
cozzbie
 
Posts: 1
Joined: Tue Dec 31, 2013 7:56 pm

Re: Auto-complete for CSS Class and ID names

Postby jhnhrpr on Sun Jan 12, 2014 7:39 pm

Pull up the Command Palette (Tools > Command Palette). Type "repository" and select Package Control: Add Repository. Paste in the github url (https://github.com/subhaze/CSS-sublime-package) and press return. Go back to the Command Palette, type "install", then select Package Control: Install Package. Begin typing the name of the package, CSS Sublime Package, and it should show up in the drop down menu. Then to test it, open up a CSS file or create a new file and change the syntax to CSS (View > Syntax > CSS) and it should work as intended.
jhnhrpr
 
Posts: 1
Joined: Sun Jan 12, 2014 7:31 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 23 guests