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?
Apparently adding
"editor.tabCompletion": true
to settings.json
solves the problem.
I went to my setting.json file and had to delete this line
"editor.snippetSuggestions": "none",
and that worked.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.