DEV Community

Discussion on: VScode completes things I don't want it to complete.

Collapse
 
foresthoffman profile image
Forest Hoffman • Edited

That is an interesting problem. Because of the general scope of the problem, I don't know how helpful it would be, but with snippets, you can control where the cursor lands.

code.visualstudio.com/docs/editor/...

EDIT: I use snippets to avoid VSCode's auto-completion suggestions when writing Jest tests in TypeScript.

Collapse
 
antonrich profile image
Anton

I looked into snippets they explain how to work with prefixes at the end they have something about keybinding. But I need somehow to explain vscode that when I hit enter key inside curly braces open them in a certain way. It's a hard.

As I understand putting the cursor in a certain place is an easy part.