谷歌风格指南的升华文本支持 我使用崇高的文本3来编写C++代码。 我们跟着
我正在寻找使用样式指南作为参考的任何提供自动加固和过梁支持的插件。我刚刚尝试过,它似乎工作正常 您必须将用户设置(“升华文本”>“首选项”>“升华格式设置程序”>“设置-用户”)编辑为以下内容:谷歌风格指南的升华文本支持 我使用崇高的文本3来编写C++代码。 我们跟着,c++,ide,sublimetext,google-style-guide,C++,Ide,Sublimetext,Google Style Guide,我正在寻找使用样式指南作为参考的任何提供自动加固和过梁支持的插件。我刚刚尝试过,它似乎工作正常 您必须将用户设置(“升华文本”>“首选项”>“升华格式设置程序”>“设置-用户”)编辑为以下内容: // This is a simplified settings file that only defines the coding style of your project { "options_default": { // Default bracket style
// This is a simplified settings file that only defines the coding style of your project
{
"options_default": {
// Default bracket style
// Can be either "allman", "ansi", "bsd", "break", "java", "attach", "kr", "k&r",
// "k/r" "stroustrup", "whitesmith", "banner", "gnu", "linux", "horstmann",
// "1tbs", "otbs ", "pico", "lisp", "python", or ""
"style": "google"
}
}
您可以选择一些有趣的选项,如“保存时自动格式化”,缩进等。clang format有一个谷歌选项IIRC。过了很长时间后重新访问。。多亏了@chris,我一直在用这个-