Sublime Forum

Autocomplete suggestions do not automatically appear

#1

I am not sure which particular setting I changed but now autocomplete suggestions appear only when I press CTRL+Space.

How can I rectify this to have autocomplete suggestions appear automatically?


autocomplete packages enabled:

  • All Autocomplete
  • DictionaryAutoComplete
  • Autocomplete Javascript with Method Signature
  • FileSystem Autocompletion

Sublime Text 3 build:
3126

OS:
Mac OS X 10.11

settings:

{
	"auto_complete": true,
	"auto_complete_cycle": true,
	"auto_complete_selector": "meta.tag - punctuation.definition.tag.begin, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
	"auto_indent": true,
	"binary_file_patterns":
	[
		"*.dds",
		"*.eot",
		"*.gif",
		"*.ico",
		"*.jar",
		"*.jpeg",
		"*.jpg",
		"*.pdf",
		"*.png",
		"*.swf",
		"*.tga",
		"*.ttf",
		"*.zip",
		"node_modules/**"
	],
	"bold_folder_labels": true,
	"caret_style": "solid",
	"color_scheme": "Packages/Agila Theme/Agila Oceanic Next.tmTheme",
	"detect_indentation": true,
	"font_face": "Consolas for Powerline",
	"font_options":
	[
		"subpixel_antialias"
	],
	"font_size": 15,
	"highlight_line": false,
	"highlight_modified_tabs": true,
	"ignored_packages":
	[
		"Alignment",
		"ChangeQuotes",
		"Cucumber",
		"Cucumber Step Finder",
		"Evernote",
		"Fizzy Theme",
		"GitSavvy",
		"Haskell",
		"ImportJS",
		"IntelliDocs",
		"Intellitip",
		"JavaScript & NodeJS Snippets",
		"Markdeep",
		"MarkdownHighlighting",
		"Markmon real-time markdown preview",
		"Oceanic Next Color Scheme",
		"Package Syncing",
		"Poppins - Color Scheme",
		"Rails Developer Snippets",
		"SublimeLinter",
		"SublimeLinter-contrib-eslint",
		"SublimeLinter-jshint",
		"Theme - Cyanide",
		"Theme - Faarikaal",
		"Theme - Minimal",
		"Theme - Soda",
		"Theme - Spacegray",
		"theme switch",
		"View In Browser",
		"Vintage",
		"WebdriverIO"
	],
	"indent_guide_options":
	[
	],
	"line_padding_bottom": 3,
	"line_padding_top": 3,
	"overlay_scroll_bars": "enabled",
	"save_on_focus_lost": true,
	"tab_completion": true,
	"tab_size": 2,
	"theme": "Cola.sublime-theme",
	"translate_tabs_to_spaces": true,
	"word_wrap": false
}
0 Likes

#2

The settings "auto_complete_delay": 50, does it on 50 milliseconds. Some package may be overtiring it, so put it on your settings file.

If not work, backup all your settings and revert Sublime Text to a clean state and test if it is working. It should, then start installing your settings until you find out what is breaking it.

Some useful links:

  1. Complete clean install proceedings
  2. Reverting to a clean state (backup your data)

Notes

  1. There is not ctrl+space on OS, but cmd+space IIRC.
  2. When I am on commentaries they do not pops up here. I do not know why or if it is good.
0 Likes

#3

In my case, I had to add text, comment, string to auto_complete_selector in my settings:

"auto_complete_selector": "text, comment, string, meta.tag - punctuation.definition.tag.begin, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc"

to my settings.

1 Like