修改Visual Code编辑器配置

{
    "files.autoSave": "off",
    "editor.fontSize": 15,
    "react-native-tools.networkInspector.consoleLogsColorTheme": "Dark",
    "editor.codeActionsOnSave": {
        "source.organizeImports": true
    },
    "editor.tabSize": 4,
    "editor.insertSpaces": true,
    "editor.detectIndentation": false
}

editor.tabSize,设置缩进为4个空格
editor.insertSpaces,输入tab时插入空格
editor.detectIndentation,关闭编辑器的监视,不然设置editor.tabSize会没反应

你可能感兴趣的:(修改Visual Code编辑器配置)