你可以使用 EditorConfig(https://EditorConfig.org/) 中的设置覆盖 IDE 代码样式设置。
要使用 EditorConfig 设置,必须安装并启用 EditorConfig 插件。要在 EditorConfig 中配置样式,请打开设置 (&shortcut:ShowSettings;),导航到 Editor | Code style,然后选中 Enable EditorConfig support 复选框。
若要将当前 IDE 代码样式设置导出到 .editconfig 文件中,请单击 Export。