0

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?

2 Answers 2

2

Apparently adding

 "editor.tabCompletion": true

to settings.json solves the problem.

Sign up to request clarification or add additional context in comments.

3 Comments

This should be the default behavior, isn't so?
Wasn't set in my env
In MacOS, navigate to Code -> Preferences -> Settings Search for: "tabCompletion" and change the value to "True"
0

I went to my setting.json file and had to delete this line

"editor.snippetSuggestions": "none",

and that worked.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.