You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@afontcu thanks for the nice suggestion. I consider this as a nice solution.
As described in #16 I had to make a choice when created the snippets. At that point the majority of the people include the semicolons. Or at least this was my sense.
Now I see that this changes. So I might remove all semicolons in a future release if more people ask for it.
Reacted by Wenfang Du, Thiago Santos, Gautam Sondur, Jack, Joonas Häkkinen, JohnSmith0602, Alex Lukyanov, Miyan0, ax1, michael and 5 more
I love this extension but found myself hitting End and Backspace after using any snippets since I use the StandardJS style which enforces not using semicolons - I have published a fork of this with semicolons removed ✨ GitHub || Extension
Search VS Code settings or open ~/.config/Code/User/settings.json and set "javascript.format.semicolons": "remove",
Then rightclick a JS file open in the editor and "Format Document With..." "TypeScript and JavaScript Language Features (default)" or simply press the assigned shortcut.
Reacted by Ant, Andrey Ho, Alex Joyce, star.lit, Airton Esmerio, Donna Dychinco, David Kyle - Basilary Group, Khet and Daniel Almeida
Activity
afontcu commentedon Aug 21, 2017
Hi,
instead of removing semicolon I just set my VSC to autoFix linter issues on save:
this way, semicolons are left alone or removed depending on my project's eslint configuration.
Hope it helps.
xabikos commentedon Sep 26, 2017
@afontcu thanks for the nice suggestion. I consider this as a nice solution.
As described in #16 I had to make a choice when created the snippets. At that point the majority of the people include the semicolons. Or at least this was my sense.
Now I see that this changes. So I might remove all semicolons in a future release if more people ask for it.
jmsv commentedon Nov 21, 2018
I love this extension but found myself hitting
EndandBackspaceafter using any snippets since I use the StandardJS style which enforces not using semicolons - I have published a fork of this with semicolons removed ✨ GitHub || Extensionantmdvs commentedon Nov 21, 2018
Hi All, you may want to upvote microsoft/vscode#63534
wojjas commentedon Dec 19, 2018
semiis the rule that governs semi colons be or not to be.Since you ask to remove then:
xabikos commentedon Dec 24, 2018
I even added a note on the readme about the fork extension that doesn't include the semicolon.
franciscolourenco commentedon Mar 28, 2019
Use https://github.com/jmsv/vscode-javascript-standard instead
CTimmerman commentedon Jan 10, 2020
Search VS Code settings or open
~/.config/Code/User/settings.jsonand set"javascript.format.semicolons": "remove",Then rightclick a JS file open in the editor and "Format Document With..." "TypeScript and JavaScript Language Features (default)" or simply press the assigned shortcut.
AshakaE commentedon Nov 12, 2021
adding this
"eslint.codeActionsOnSave.mode": "problems"to settings.json did it for me.