r5n-labs/vscode-react-javascript-snippets

Snippets are not working in jsx file but working in js file

lym5460 opened this issue ยท 4 comments

Snippets are not working in jsx file but working in js file

I have the same issue.

I added "editor.snippetSuggestions": "inline" in settings.json and this fixed it.
Another possible temp solution is mentioned here

This fix is temporary as not all snippets work as expected. As @RAMTO mentioned below, this is caused by the latest update.

RAMTO commented

I am having the same issues, snippets stopped working in .jsx & .tsx files, but working in .ts & .js files.
Haven't change the settings for the plugin.
I suspect that this issue started after the latest VSCode update Version: 1.75.0 (Universal)

The snippets issue has been fixed on version 1.75.1. This one can be closed.