I am having the opposite problem than this question: In a SASS .scss file, I want comments command (ctrl/⌘ + /
, ctrl/⌘ + K ctrl/⌘ + C
) to default to //
, and use the Block comment /* ... */
only when using the block comment (shift+alt+A
).
I have been unable to find a way to change this setting, via the user settings or even a plugin. Is it possible? Is my google-fu just bad?
Press Control + Shift + P or Command + Shift + P (Mac) to open the command palette and type format document and then select Format Document option.
Open your VS editor. Navigate to the upper part of the screen and select File. Now, in the drop-down menu, go to Preferences > Settings. You'll now see the Commonly Used section with a menu on the right-side of the screen, you can access the font from this page or by following the step below.
The code formatting is available in Visual Studio Code through the following shortcuts: On Windows Shift + Alt + F. On Mac Shift + Option + F. On Linux Ctrl + Shift + I.
A very belated answer, but you can amend the language-configuration.json
file for the language in question. More here: https://code.visualstudio.com/api/language-extensions/language-configuration-guide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With