gpt4 book ai didi

sublimetext2 - sublimetext 中的默认缩进

转载 作者:行者123 更新时间:2023-12-04 23:26:29 25 4
gpt4 key购买 nike

我使用 Sublime Text 并希望 JavaScript 文件使用三个空格作为缩进。

我在 Packages/User/Preferences.sublime-settings 中设置了这个:

{
"tab_size": 3,
"translate_tabs_to_spaces": true
}

但它没有影响,我需要为每个新文件手动更改它。

最佳答案

打开 JavaScript 文件后,请执行以下操作:

Per-syntax Settings

Settings may be specified on a per-syntax basis. You can edit the settings for the current syntax using the Preferences/Settings - More/Syntax Specific - User menu.



这将允许您为当前语法设置自定义首选项。更多关于缩进的信息: http://www.sublimetext.com/docs/2/indentation.html

关于sublimetext2 - sublimetext 中的默认缩进,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12147911/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com