eclipse settings formatting

Because the default format template of eclipse cannot be modified, create a new template (also use the previous template configuration) and modify the maximum line width under Line wrapping

1.
Set the format template of the java editor
window - preferences - java - code style





2.
Set the formatting template of the jsp/html editor.
ctrl + i can format a single line of code in jsp.
window - preferences - MyEclipse - Files and Editors - HTML - HTML Source



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326458995&siteId=291194637