[英]Indent or beautify scss in Visual Studio Code Mac
indentation or beautify files (sass and css) in VSCode drives me nuts. 缩进或美化VSCode中的文件(sass和css)使我发疯。 I installed the "Beautify css/sass/scss/less" extension.
我安装了“美化css / sass / scss / less”扩展名。
After that i've two commands: Format document (option-shift-F) or Format Selection (cmd-K cmd-F). 之后,我有两个命令:格式化文档(option-shift-F)或格式化选择(cmd-K cmd-F)。 When selecting aa few lines with the mouse and use "Format Selection", it's formatting the whole file.
当用鼠标选择几行并使用“格式选择”时,它将格式化整个文件。 Tried it with sass and css files.
尝试使用sass和css文件。
I'm doing something wrong? 我做错了吗? What do i have to do when i wanna indent or beautify only selected lines?
我只想缩进或美化所选行,该怎么办?
I work with JavaScript in visual studio code and it working 我在Visual Studio代码中使用JavaScript并能正常工作
Shift + Alt + F will work Shift + Alt + F将起作用
Try with the scss-formatter extension . 尝试使用scss-formatter扩展 。 For scss woks greatly.
对于炒锅炒锅。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.