当前位置:网站首页>Code:: blocks code formatting shortcuts
Code:: blocks code formatting shortcuts
2022-06-29 07:57:00 【SevenBerry】
1. Native code formatting : Right click in the code editing area , choice Format use Astyle
2. Set code formatting shortcuts : Choose in turn
Settings -> Editor... -> Keyboard shortcuts -> Plugins -> Source code formatter (AStyle)
stay New Shortcut Press the preset shortcut key , And then click Add

3. codeblocks The default style of code formatting is to start a new line with braces , It looks like this

If you are not used to it, you can change it into brackets on the upper line
First ,Settings -> Editor... -> Source formatter -> Style -> Bracket style It is amended as follows Java
then ,Settings -> Editor... -> Source formatter -> Padding stay Insert space padding around operators Tick the front


边栏推荐
- Gateway controller communication protocol
- 低配MySQL数据库几十秒插入百万数据
- 打包时提示: Property ‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘
- Software testing
- Automated test - uiautomator2 framework application - automatic clock in
- 498. 对角线遍历(模拟)
- Program debugging - debug/release version
- [industrial control old horse] detailed explanation of design principle of pattern fountain based on PLC
- nor flash 应用层操作
- 精选西门子PLC工程实例源码【共300套】
猜你喜欢

Compiling principle: the king's way

Vulnhub's dc9 target

Reasons why the ext.dic file configured in ES does not take effect

Problem solving -- > online OJ (13)

C实战——高配版贪吃蛇游戏设计
![[FreeRTOS] interrupt mechanism](/img/ab/9b1d07048b4631d7cc95db99ed529a.png)
[FreeRTOS] interrupt mechanism

从Nacos客户端谈Nacos配置中心

Common MySQL errors and solutions summarized painstakingly (II)

【工控老马】单片机与西门子S7-200通信原理详解

手把手系列---安装SpotBugs、并快速上手使用
随机推荐
基础语法 - 位运算
SQL injection bypass (6)
From XX import* is equivalent to from XX import *, and no space is required
Compiling principle: the king's way
Detailed explanation of route (Jiuyang Scripture)
C actual combat - high configuration version of Snake game design
路由详解(九阳真经)
Cartographer中的线程池操作
反思 - 完美主义
JS XOR obfuscation code
1031 Hello World for U
编译原理王者之路
101. symmetric binary tree (recursive and iterative methods)
JSP learning part
Appium environment setup
How to share the virtual environment of pycharm to jupyter Lab
[old horse of industrial control] detailed explanation of Siemens PLC s7-300scl programming
Ceres optimization based on sophus
手把手系列---安装SpotBugs、并快速上手使用
nor flash 应用层操作