当前位置:网站首页>code::blocks代码格式化快捷键
code::blocks代码格式化快捷键
2022-06-29 06:40:00 【SevenBerry】
1. 原生代码格式化:代码编辑区右键,选择 Format use Astyle
2. 设置代码格式化快捷键:依次选择
Settings -> Editor... -> Keyboard shortcuts -> Plugins -> Source code formatter (AStyle)
在 New Shortcut 中按下预设置的快捷键,然后点击 Add

3. codeblocks代码格式化的默认风格为大括号另起一行,就像下面这样

若觉得不习惯可修改为括号在上一行
首先,Settings -> Editor... -> Source formatter -> Style -> Bracket style 修改为 Java
然后,Settings -> Editor... -> Source formatter -> Padding 在 Insert space padding around operators 前面打上勾


边栏推荐
- [translation] swarmed out. Design methods for building modern applications
- Appium environment setup
- 并发幂等性防抖
- matlab simulink 电网扫频仿真和分析
- 查看tensorflow是否支持GPU,以及测试程序
- 100 lectures on Excel advanced drawing skills (VI) - practical application cases of Gantt chart in project progress
- Up and down transitions in polymorphism
- [translation] how Bink drives the digital loyalty transactions of some of the largest banks in the UK
- 数组知识点小结
- 施努卡:什么是视觉定位系统 视觉定位系统的工作原理
猜你喜欢
![[translation] E-Cloud. Large scale CDN using kubeedge](/img/ac/178c078589bb5bc16dbdc8f4ae9525.png)
[translation] E-Cloud. Large scale CDN using kubeedge

Interviewer: why does database connection consume resources? Where are the resources consumed?

Vulnhub's dc9 target

Appium自动化测试基础 — ADB常用命令(三)

【工控老马】洗衣机PLC程序控制系统设计详解
![[industrial control old horse] detailed explanation of the design scheme of the running lamp control system based on Siemens S7-200PLC](/img/c5/9383a02050c83b26bb56f4045b0774.png)
[industrial control old horse] detailed explanation of the design scheme of the running lamp control system based on Siemens S7-200PLC
![Detailed explanation of communication principle between [industrial control old horse] single chip microcomputer and Siemens S7-200](/img/56/b300c0c3606dbc328e301092615bff.jpg)
Detailed explanation of communication principle between [industrial control old horse] single chip microcomputer and Siemens S7-200

【工控老马】PLC六路抢答器系统设计详解

postman预处理/前置条件Pre-request

Explanation of swing transformer theory
随机推荐
循环嵌套问题:为什么大循环在内,小循环在外可以提高程序的运行效率
Vibration signal generation and processing based on MATLAB Doppler effect
指针引用数组元素
Cv:: mat and Base64 conversion (including picture compression and decompression)
Appium automation test foundation ADB common commands (II)
【工控老马】基于PLC的花样喷泉设计原理详解
TF. Repeat and stack operations of slim
多态中的向上和向下转型
Detailed explanation of top and free commands
施努卡:轮胎自动抓取安装,3D视觉定位,机器人自动抓取
tf. count_ nonzero
Explain canfd message and format in AUTOSAR arxml in detail
4年工作经验,多线程间的5种通信方式都说不出来,你敢信?
KingbaseES 中select distinct on 语句
cv2.cvtColor
tf.compat.v1.assign
1032 Sharing
Reflection modification final
电检码配置
Schnuka: automatic tire grabbing installation, 3D visual positioning, automatic robot grabbing