r5n-dev / vscode-react-javascript-snippets

Extension for React/Javascript snippets with search supporting ES7+ and babel features
MIT License
1.72k stars 441 forks source link

Intellisense taking priority over this extension for tab completion? #331

Open adamerose opened 1 month ago

adamerose commented 1 month ago

For example when I run useStateSnippet it gives me the snippet const [first, setfirst] = useState(second) with both instances of first highlighted. Then if I type a name like asdf and hit tab, it automatically capitalizes the second one. However if the name I typed matches any intellisense options, it instead replaces the words completely.

The workaround is to first press Escape to close the intellisense window, then hit tab. But is there any config to fix the default behavior to prioritize the snippet completion when I hit tab?

2024-08-06_18-36-42