Sublime Forum

Autocomplete of class names, ID’s

#1

I’ve just installed ST3 on a new machine. I’ve noticed when I’m typing in previously used class names in .CSS files, they don’t autocomplete. i.e. .classname1 {color: red;}, when I start typing .classn… no autocomplete is shown. I’m used to autocomplete basically working on any given word already used in the current file you’re working on. That’s what I want.

If I run this same test in a .SCSS file, it will show .classname1 as an autocomplete option which is what I want. Plain text also shows auto complete. PHP and HTML do not show autocomplete options.

I have these packages installed-
All Autocomplete
AutoSetSyntax
BracketHighlighter
Sprint
Package Control
AutoBackups
AutoSetIndentation

This is what my User Settings look like-
{
“auto_complete”: true,
“auto_complete_selector”: “source, text”,
“color_scheme”: “Packages/Theme - Spacegray/base16-eighties.dark.tmTheme”,
“enable_tab_scrolling”: false,
“font_size”: 15,
“highlight_line”: true,
“ignored_packages”:
[
“Vintage”
],
“match_brackets”: false,
“match_brackets_angle”: false,
“match_brackets_braces”: false,
“match_brackets_content”: false,
“match_brackets_square”: false,
“match_tags”: false,
“open_files_in_new_window”: false,
“scroll_past_end”: true,
“theme”: “Spacegray Eighties.sublime-theme”,
“word_separators”: “#./\()”’:,;<>~!@%^&*|+=[]{}`~?",
“word_wrap”: true
}

Any idea how to get autocomplete to show options for just about any word previously used in this document?

0 Likes