Fuzzy search means, you can type some characters contained by the word you are looking for with just the order being important but not the position of the character.
Typing a string like “erp” or just “rpo” would result in “email-responsive” being suggested.
Without fuzzy search you need to type “email-re” to find the same thing.
Fuzzy can just help finding things if you don’t exactly know the word you are looking for.
Am I naming the triggers wrongly?
No, not at all. The provided examples are very perfect.
is there any way to see completions automatically
I copied your most recent code snippet. It shows automatically in the completion popup when typing “s-” in a SASS file.
Is "auto_complete"
set to true
in your Preferences?
I use https://packagecontrol.io/packages/Syntax%20Highlighting%20for%20Sass package as it seems to be the most recent one.
As you suggested, I put this code in settings:
I would suggest to keep the default selectors untouched and just add further selectors to the "auto_complete_selector"
setting in order to not break auto-completion with the default syntaxes. You just need to add text.html
as ST doesn’t enable auto-completion for text by default. The top-level scope source
which SASS belongs to, is enabled by default.
You can imagine the value of the "auto_complete_selector"
setting as a kind of SQL query string to tell ST for which code elements to enable auto-completion.