Added settings, currently those only are applied to snippets applied from search prompt (CMD + Shift + R):
prettierEnabled
importReactOnTop
typescript
semiColons
singleQuote
tabWidth
languageScopes
typescriptComponentPropsStatePrefix
To research yet:
Currently prettier/settings are only applied to snippets triggered via search. Despite that, the extension regenerates and replaces generated.json after settings change, VS Code does not load file even after reload (might be an editor limitation)
Because VS Code can't load this changed generated.json snippets scope which is currently changed via settings is not always working properly - still looks like limitation and extension would need to extend its snippets array in package.json => From now I will approve PR's for every js based file recognition.
closes #62 #144 #153
Breaking Changes:
prettierEnabled
importReactOnTop
typescript
semiColons
singleQuote
tabWidth
languageScopes
typescriptComponentPropsStatePrefix
To research yet:
generated.json
after settings change, VS Code does not load file even after reload (might be an editor limitation)generated.json
snippets scope which is currently changed via settings is not always working properly - still looks like limitation and extension would need to extend itssnippets
array inpackage.json
=> From now I will approve PR's for every js based file recognition.