Sublime Forum

AutoComplete for SASS Variables?

#1

I am using “All Autocomplete” package; which is great for HTML, CSS.
https://packagecontrol.io/packages/All%20Autocomplete

But sadly it’s not catching anything for SASS (variables, mixins, extends, etc)…

Is it possible to use this package for SASS?
Otherwise please suggest an alternative…

0 Likes

#3

You can try to create some Sublime Text Snippets:

  1. http://docs.sublimetext.info/en/latest/extensibility/snippets.html?highlight=snippets
  2. http://docs.sublimetext.info/en/latest/extensibility/completions.html?highlight=snippets
  3. http://docs.sublimetext.info/en/latest/reference/completions.html?highlight=snippets

See also:

  1. https://www.sublimetext.com/docs/3/auto_complete.html
  2. https://www.sublimetext.com/docs/3/tab_completion.html

You can install packages which provide snippets, you can search for them on:

  1. https://packagecontrol.io/browse/labels/snippets

But you can also install auto completion packages as:

  1. https://www.youtube.com/watch?v=2GqpdfIAhz8 (Language Server Protocol Explained)
  2. https://github.com/y0ssar1an/CSS3
  3. https://github.com/Microsoft/language-server-protocol
  4. https://github.com/tomv564/LSP
  5. https://github.com/SublimeCodeIntel/SublimeCodeIntel
0 Likes

#4

Ha juda ham ajoyib!

0 Likes

#5

I already have my snippet manager. :slight_smile:

I need auto completion for my SASS variables/mixins/extends to be specific.

0 Likes