当前位置:网站首页>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] E-Cloud. Large scale CDN using kubeedge
- 施努卡:3D视觉识别系统 3D视觉检测原理
- tf.compat.v1.assign
- Software testing
- Appium 环境搭建
- Unexpected exception ... code: Badrequest when downloading Xilinx 2018.2
- How to authorize subordinates?
- 101. symmetric binary tree (recursive and iterative methods)
- flutter 仿照 uiswitch
- from xx import*等价于from xx import *,不一定要加空格
猜你喜欢

pycharm的虚拟环境如何共享到jupyter-lab
![[old horse of industrial control] detailed explanation of Siemens PLC s7-300scl programming](/img/da/08f23cfe7f8759b73576eb0638fec5.png)
[old horse of industrial control] detailed explanation of Siemens PLC s7-300scl programming
![[translation] E-Cloud. Large scale CDN using kubeedge](/img/ac/178c078589bb5bc16dbdc8f4ae9525.png)
[translation] E-Cloud. Large scale CDN using kubeedge

Roblox sword nine sword two

AI与元宇宙擦出火花:人类失去的只有枷锁,获得的是全方面的解放

Blue Bridge Cup -- Analysis of the second batch of test questions of the 13th session

Kyushu cloud helps Inner Mongolia's "counting from the east to the west" project to drive the smart new ecology of the surveying and mapping industry

Schnuka: 3D visual inspection scheme 3D visual inspection application industry

施努卡:什么是视觉定位系统 视觉定位系统的工作原理

Appium自动化测试基础 — ADB常用命令(三)
随机推荐
postman预处理/前置条件Pre-request
Markdown skill tree (9): tables
Schnuka: 3D visual recognition system 3D visual inspection principle
【工控老马】西门子PLC s7-300SCL编程详解
Alicloud access resource: nosuchkey
719. 找出第 K 小的数对距离(二分)
Vulnhub's dc7 target
Postman pre request
Golang modifying the value of a structure slice
719. find the distance of the number pair with the smallest K (two points)
Unexpected exception ... code: Badrequest when downloading Xilinx 2018.2
Schnuka: what is visual positioning system? How visual positioning system works
1183: patient queue
蓝桥杯——13届第二批试题解析
施努卡:视觉定位系统厂家 什么是视觉定位系统
手把手系列---安装SpotBugs、并快速上手使用
Appium automation test foundation ADB common commands (III)
from xx import*等价于from xx import *,不一定要加空格
tf. count_ nonzero
ES中配置ext.dic文件不生效的原因