• IMport the Java formater

Formate file:

1.Coding format configuration file :  Enables you to format your code according to the document by pressing a keyboard shortcut (default is Ctrl-Shift-F).   

  Formate file: cs-formatter.xml

2.Code templates configuration file:  contains templates for automatically inserted comments and templates for newly created files, types, etc.

  Formate file:   codetempaltes.xml

3.Code cleanup configuration file : setup for the code cleanup wizard (default keyboard shortcut is Alt-Shift-S, U). Useful right before creating a diff for a review. Cleans up all spaces at the end of the lines.

  Formate file: Codecleanup.xml

Use  the Java formater

Use  the Java formater

  • Clean up 

Ctrl+A  Choose code > Shift+ALT + S  >  choose Clean Up

Use  the Java formater     Use  the Java formater

  • Formate

Ctrl+A  Choose code >  Control + Shift+ F

 

相关文章:

  • 2021-11-02
  • 2021-10-26
  • 2021-09-09
  • 2021-11-22
  • 2022-12-23
  • 2021-08-10
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2021-06-28
  • 2021-08-04
  • 2021-11-01
  • 2022-02-02
  • 2022-12-23
  • 2021-11-06
  • 2021-09-08
相关资源
相似解决方案