【VSCODE】使用技巧

C/C++格式化:

复制代码
{
  BasedOnStyle: LLVM,
  IndentWidth: 4,
  ColumnLimit: 200,

  BreakBeforeBraces: Attach,

  AlignConsecutiveMacros: AcrossEmptyLinesAndComments,
  AlignTrailingComments: true,
  AlignConsecutiveAssignments: false,
  AlignConsecutiveDeclarations: false,

  AllowShortFunctionsOnASingleLine: None,
  AllowShortIfStatementsOnASingleLine: WithoutElse,
  AllowShortLoopsOnASingleLine: true,

  BreakStringLiterals: false,
  ReflowComments: false,
  BinPackArguments: true,
  BinPackParameters: true,
}
相关推荐
JMchen1235 小时前
Cursor高阶玩法:.cursorrules编写与Spec-Driven开发实战,把AI调教成专属结对编程搭档
人工智能·vscode·kotlin·cursor·结对编程·spec-driven·.cursorrules
2501_9151063212 小时前
Swift 4开发环境设置教程:xCode安装与Playground入门
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
一支黑色の铅笔14 小时前
VSCode 克隆Git项目
ide·git·vscode
蓝白云1 天前
告别繁琐配置!TreeATE Copilot 插件 VS Code 完整使用教程
vscode·copilot
一叶龙洲1 天前
Ubuntu24.04 Cursor导入vscode配置
vscode·编辑器
好悬给我拽开线3 天前
RoboTTT
ide·vscode·编辑器
时间的情敌4 天前
几款常用的编程AI工具
vscode
捷瑞电子工坊4 天前
VSCode的配置和一些报错问题
vscode·ubuntu·c/c++·编译报错·开发环境配置·初学者教程·json配置
孙小l懒_keep_update4 天前
【VSCODE中的Codex 打不开(页面空白,一直 Loading)】
vscode
面包狗AI4S4 天前
Codex/ChatGPT 反复 Reconnecting(正在重新连接) 5/5 的最简修复方法
人工智能·vscode·chatgpt