Sublime Forum

Snippets are triggered by any operator or punctuation

#1

My snippets are triggered by any operator or punctuation, such as : before pressing Tab. How do I fix it?

I use *, . as a trigger for snippets. Is it treated as regex?

PS: Sublime Text4, MacOS10.15

0 Likes

#2

Does it also do that in Safe Mode?

0 Likes

#3

No. It seems that safe mode is more handy when : dose not trigger snippets.

And I get the following information from console in normal mode:
current triggername: 'python-complete-local-symbols'
It may be a useful clue to fix the problem.

0 Likes

#4

If it works in safe mode, then it’s like a plugin problem.

If you are lazy to find out which plugin is the culprit, you may post your plugin list here.

0 Likes

#5

Sorry the information is produced when I input def

0 Likes

#6

I believe that the problem is made by “sublimeCodeIntel”, when I remove it, the problem disappears. But I installed it very early, and did not meet such trouble.

0 Likes

#7

I would personally classify SublimeCodeIntel as unmaintained and there are better choices nowadays.

For python, a better choice is LSP + LSP-pyright.

1 Like