VS Code TAB triggers problems
VS Code must have made an update that automatically took effect. I'm getting odd auto-completes for 2 situations in an HTML file
1. using
p
for paragraph followed by TAB gives me:
2. Using !
+ TAB for the HTML boilerplate gives me:
Has anyone else encountered this? Regardless, how do I turn off t hat behavior? I still want TAB autocompletes but this never happened before.25 Replies
mmmm I would think this was something you added with an extension, not a vscode update.
can you start vscode without extensions?
would help if you showed the suggestion too like before you hit tab
that helps a lot too, it usually shows the extension that generates it
cause vscode has "suggestions, emmet, +snippets"
How do you do that?
here are 2 screenshots
launch it from cmd line
code --disable-extensions
I use Emmet all the time but this never happened before
yea that is something you installed that includes snippets
those are all snippets
looks like from some JS es6 extension
If you want to keep them but have emmet come up first you can get into your settings and configure the order.
Okay, I did not get those issues wheen I opened VS that way - but what does that mean? That it is a recent extension that is causing it? How would I be able to search by date installed. I've been on the road for a number of months so it most likely would have been something I added months ago - let me scan them though...
This is the one thats doing it
Do you have something like this in your @installed extensions?
Right now I have
top
- should I change ot to inline
? Let me try that...Maybe you installed it not realizing from someones recs ? 🤷♂️
yes - have had it for years
That would probably work yes
It did. So somehow that got changed but don't ask me how - thanks everyone for the replies!
Glad you got it sorted!
Also I would check which one of those you have cause looks like there is lots of variations, A good snippet package is only going to work in files that should use it. Like in .html JS snippets should only fire when in <script>
This is why I don't use others I make my own too 🤷♂️
It looks like the extensions push through updates - here is my extensions in descending order of "Date modified"
Example of how it "should work"
So yea I'd dicth the extension personally
or find a better one or make your own from the ones you use in the extension
snippets allow you to "scope" to languages not files is what it is