如何在 (Cloud9) 中增加缩进大小
How to increase the indent size in (Cloud9)
在我的 cloud9 编辑器中,有些文件的缩进为 3 个字符,而其他文件的缩进为 7 个字符。
有没有办法协调这一点并在所有地方都有相同的缩进?是否还有自动缩进?
3 个字符的缩进示例:
function indent3() {
// code here
}
7 个字符的缩进示例:
function indent7() {
// code here
}
您可以通过单击该文件编辑器右下角的附近来调整制表符大小。
另一种方法是通过 Cloud 9 用户界面右上角的设置按钮 select 首选项。这会将您带到一个 GUI,您可以在其中设置项目的默认缩进,因此它的所有文件都具有相同的缩进。
在我的 cloud9 编辑器中,有些文件的缩进为 3 个字符,而其他文件的缩进为 7 个字符。
有没有办法协调这一点并在所有地方都有相同的缩进?是否还有自动缩进?
3 个字符的缩进示例:
function indent3() {
// code here
}
7 个字符的缩进示例:
function indent7() {
// code here
}
您可以通过单击该文件编辑器右下角的附近来调整制表符大小。
另一种方法是通过 Cloud 9 用户界面右上角的设置按钮 select 首选项。这会将您带到一个 GUI,您可以在其中设置项目的默认缩进,因此它的所有文件都具有相同的缩进。