ccs20代码格式化在哪里设置啊,找不到,默认的不太习惯
现在保存以后是这个样子的
if (a > b) { a++; }
我想把格式改成下面这样
if (a > b) { a++; }
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
ccs20代码格式化在哪里设置啊,找不到,默认的不太习惯
现在保存以后是这个样子的
if (a > b) { a++; }
我想把格式改成下面这样
if (a > b) { a++; }
您好,
请参考 5.1. User Interface Introduction — Code Composer Studio 20.1.1 Documentation “5.8. Customizing the Environment”
搞定了,settings.json里面把 clang-format指令加进去就好了