Sublime Forum

Drop-down suggestions not working properly

#1

I made snippets using sublime-snippet extension for c++.

Tab trigger- template
What happened was-
I opened a file, and typed t, it showed the drop down of things. I pressed space or backspace, the drop-down obviously disappeared. But when I pressed t / te / tem / temp… again, it wouldn’t show the drop-down the next time. The suggestions disappeared.

I played with it a bit and found out that everytime I pressed # it showed the drop-down menu but that is not efficient as everytime pressing # kind of loses the point of it.

Please help in fixing this so that just pressing t gives the drop-down menu everytime while coding.

0 Likes

#2

It works with tab key when I am in the middle of the code.
But when I start coding in a file, I have to type # or it doesn’t show completions.
Now tab does 2 jobs: space and completions (but not in the beginning).
How do I solve this?

0 Likes