一. 自动排版快捷键: ctrl+shift+F
若不起作用,应该是快捷键冲突;
可以点击 source -> Format.
二. 更改单行最大字数
windows -> preferences -> c/c+±> code style -> formatter -> edit -> line warpping -> maximum line width
如果使用的默认风格会提示无法更改;此时默认风格新建一个自己的profile,再更改
eclipse 自动排版 单行最大字数更改

相关文章:

  • 2022-02-07
  • 2022-01-25
  • 2021-06-21
  • 2021-12-01
  • 2022-02-07
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2022-02-07
  • 2021-10-09
  • 2021-12-04
  • 2021-06-08
  • 2022-02-07
  • 2021-07-23
相关资源
相似解决方案