Home  >  Article  >  Software Tutorial  >  How to set up automatic typesetting in eclipse How to set up automatic typesetting in eclipse

How to set up automatic typesetting in eclipse How to set up automatic typesetting in eclipse

WBOY
WBOYOriginal
2024-06-10 16:45:08336browse

The Eclipse automatic typesetting problem that has been troubled for a long time, PHP editor Yuzi will explain the solution to you in detail! This article will guide you step by step: How to set up Eclipse automatic typesetting? How to customize code formatting rules? Want to completely solve the trouble of Eclipse code typesetting? Come and read this article to get detailed solutions!

1. First, after opening the eclipse software interface, click the Window menu above

eclipse怎么设置自动排版 eclipse设置自动排版的方法

2. Then, click the Preferences option in the drop-down menu

eclipse怎么设置自动排版 eclipse设置自动排版的方法

3. Then, find the Editor option under the Java section in the new window that opens, and click the Save Actions button

eclipse怎么设置自动排版 eclipse设置自动排版的方法

4. After that, click the mouse to check Perform the selected actions on save, Format source code and Format all lines options

eclipse怎么设置自动排版 eclipse设置自动排版的方法

5. Finally, click the Apply button to complete the addition and close it

eclipse怎么设置自动排版 eclipse设置自动排版的方法

The above is the detailed content of How to set up automatic typesetting in eclipse How to set up automatic typesetting in eclipse. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn