Sublime Forum

Turn of autocomplete between quotation marks

#1

Hello, I just purchased a new license (having used Sublime 2 and 3 before). And I noticed something annoying that I cannot seem to figure out how to turn off. I am using Sublime (4) to edit Go source files, and the autocomplete keeps popping up when typing in string literals (i.e. between " " ). How can I turn that off ?

Note, I do not want to turn of autocomplete entirely , just turn it off when I am typing in text between quotation marks . . .

0 Likes

#2

Adjust the auto_complete_selector in Preferences.sublime-settings.

0 Likes

#3

Something like that should work:

	"auto_complete_selector": "meta.tag, source - comment - string",

For some unknown reason, ST only excludes some very special kinds of strings by default.

0 Likes