I have installed Reactjs code snippets code snippet extension.
Snippets used to work Until I installed PHP Storm Keymap extension.
In a JSX (or JS) file when I try to add snippet the editor converts it to a tag instead of completing the snippet. ( It will convert rcc to <rcc></rcc> instead of completing snippet.)
I checked my Keyboard Shortcuts both, exmpandAbbreviation and insertSnippet are set on tab I tested changing insertSnippet to other keybinding but it still doesn't work.
Any thoughts?
Add a comment
|
2 Answers
Apparently adding
"editor.tabCompletion": true
to settings.json solves the problem.
3 Comments
Santosh Kumar
This should be the default behavior, isn't so?
Mehrdad Shokri
Wasn't set in my env
Niso
In MacOS, navigate to Code -> Preferences -> Settings Search for: "tabCompletion" and change the value to "True"