1087 views|3 replies

32

Posts

0

Resources
The OP
 

Let's talk about the code formatting function of MounRiver Studio [Copy link]

MounRiver Studio has a code formatting function. You can do this by right-clicking a c file and clicking "code format". This function is only for a c or h file. The entry for one-click code formatting for the entire project has not yet been found.


But the effect of code formatting is not satisfactory:

The main problem is that I am not used to the position of the braces. The first brace always appears at the end of the line, and there is no line break.
Can I ask the big guys if this code formatting rule supports user settings?

This post is from MCU

Latest reply

I usually edit in VSCode and compile in Keil, but Keil's code formatting is so weak that I can't   Details Published on 2023-5-16 09:15
 

6742

Posts

2

Resources
2
 
If you feel that it cannot be customized, you can use vscode to format the code
This post is from MCU
 
 

32

Posts

0

Resources
3
 

I know how to do it. MounRiver Studio has multiple built-in formatting methods for users to choose from. I am more used to using BSD.

This post is from MCU
 
 
 

44

Posts

0

Resources
4
 

I usually edit in VSCode and compile in Keil, but Keil's code formatting is so weak that I can't

This post is from MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
MATLAB APP Designer serial port debugging tool writing

This post was last edited by lb8820265 on 2019-5-9 23:11 Previously, we introduced two ways to use VC6 to make serial ...

About the original picture and packaging

Does anyone have the original picture and package of STM32F103 series?

How to use CPLD to collect asynchronous signals

Scenario: Use CPLD to decode a serial data channel. The data has no accompanying clock and has a fixed frequency but a d ...

Measuring poles and zeros from a Bode plot

This post was last edited by Jack315 on 2021-1-25 00:52 The transfer function of a single zero is: 522846 The Bode plot ...

Encoder counting principle and motor speed measurement principle - multi-picture analysis

This post was last edited by DDZZ669 on 2021-2-14 23:30 Encoder is a sensor used to measure mechanical rotation or displ ...

35 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (Realizing Hello World)

The best way to learn ROS is to use it. The ROS official website has a Chinese version of the tutorial . After install ...

36 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (VSCode to Implement Hello World)

It is very convenient to run ROS projects in VSCode. In this section, we use ROS to write and run the "Hello world" pro ...

[The strongest open source] Hand-rubbed 120W switching power supply

I recently took the time to make a switching power supply 645265 645262 645263 645264 645261 645260

Record a blue screen pit

I mentioned a while ago that my company's computers would occasionally blue screen. Now I think about it, the blue scree ...

ESP8266 01+DHT11 acquisition

Could anyone give me some advice? When I collect DHT11 data through one of GPIO 0 and 2, the 8266 01 keeps restarting. O ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list