欢迎选择我的课程,让我们一起见证您的进步~~
Is this what you are talking about? Code -> Reformat Code:
option+command+L。
option
command
L
...Mac下大部分Window的Ctrl都可以用小菊花 instead.
Mac
Window
Ctrl
小菊花
windows 是 Ctrl + Alt + LMac 是 小菊花 + Alt + L
windows
Ctrl + Alt + L
小菊花 + Alt + L
option+command+L, just look at the Reformat Code in the code menu
I often use this function: Windows is obviously ctrl + alt + LMac is command + alt + LWhy do some people always say the wrong answer? In addition, you can see the shortcut keys when entering the menu
cmd option l建议配合.editorconfig
root = true
[*]charset = utf-8end_of_line = lfindent_size = 2indent_style = spaceinsert_final_newline = truemax_line_length = 80trim_trailing_whitespace = truespaces_around_brackets = bothspaces_around_operators = true
[*.md]max_line_length = 0trim_trailing_whitespace = falseinsert_final_newline = falsetrim_trailing_whitespace = false
Is this what you are talking about? Code -> Reformat Code:
option
+command
+L
。...
Mac
下大部分Window
的Ctrl
都可以用小菊花
instead.windows
是Ctrl + Alt + L
Mac
是小菊花 + Alt + L
option+command+L, just look at the Reformat Code in the code menu
I often use this function:
Windows is obviously ctrl + alt + L
Mac is command + alt + L
Why do some people always say the wrong answer? In addition, you can see the shortcut keys when entering the menu
cmd option l
建议配合.editorconfig
http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
spaces_around_brackets = both
spaces_around_operators = true
[*.md]
max_line_length = 0
trim_trailing_whitespace = false
insert_final_newline = false
trim_trailing_whitespace = false