r5n-labs / vscode-react-javascript-snippets

Extension for React/Javascript snippets with search supporting ES7+ and babel features
MIT License
1.74k stars 443 forks source link

Can I set a default indentation for snippets? #254

Open stramin opened 2 years ago

stramin commented 2 years ago

I like to write my code using tab for indentation, but when I use any snippet from ES7+ it writes 2 spaces for indentation.

I think ES7+ should use indentation from VS Code setting.

Is there any way to configure this behaviour?

ashuvax commented 2 years ago

I did not understand you can you send a video?

robbpage commented 4 months ago

this extension saves me ZERO time, since i have to correct it's ignorant use of 2-space tabs instead of the correct 4-space tabs (like real professionals use). i have vs code set to 4-space, why does your extension ignore this?

fix it.