Sublime Forum

Autocomplete bug !?

#1

hi,

I’m having a problem with autocomplete on ST3 and not sure if it’s a bug or bad config.

when I want to do let’s say a h2

I will type “<h2” then hit tab
it will create the

just fine, place the cursor between the ><.
So i write the text then hit end to go at the end of the line and hit Enter to jump to the next line.
and that when the problem occur. On the next line it will immediately prompt the auto-complete with “h2>” and just stay there until I type something.
It don’t even follow the cursor if I do a second line-break it just go under the auto-complete popup.
I added “auto_complete_commit_on_tab”: true so at least it don’t insert “h2>” on a new line for nothing when I try to jump.
But that still really annoying and was not doing it in ST2.

my config:

{
	"auto_complete_commit_on_tab": true,
	"auto_complete_with_fields": true,
	"bold_folder_labels": true,
	"caret_extra_width": 1,
	"caret_style": "phase",
	"color_scheme": "Packages/User/Solarized (Dark) (SL).tmTheme",
	"draw_minimap_border": true,
	"draw_white_space": "all",
	"flatland_square_tabs": true,
	"font_face": "Inconsolata",
	"font_size": 10,
	"highlight_line": true,
	"ignored_packages":
	
		"SublimeLinter-jshint",
		"Vintage",
		"Emmet"
	],
	"indent_guide_options":
	
		"draw_active"
	],
	"mouse_wheel_switches_tabs": true,
	"phoenix_color_blue": true,
	"phoenix_color_expanded_folder": true,
	"phoenix_dirty_bottom_bar": true,
	"phoenix_dirty_bottom_bar_red": true,
	"phoenix_highlight_current_tab": true,
	"phoenix_sidebar_tree_medium": true,
	"phoenix_solid_current_tab": true,
	"phoenix_tabs_auto_width": true,
	"tab_completion": true,
	"tabs_small": true,
	"theme": "Phoenix Dark.sublime-theme",
	"trim_trailing_white_space_on_save": true,
	"word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=]{}`~?",
	"word_wrap": false
}
0 Likes

#2

I’m not positive, but, the symptoms you describe are spot on with an issue with Sublime CodeIntel. You can find more info here github.com/SublimeCodeIntel/Sub … issues/345 if you have that package installed.

0 Likes

#3

ahh yeah exactly my problem, installed this addon a week ago without testing it, thinking it looked useful.

Thx for the quick response !!

0 Likes