简体   繁体   中英

Can Eclipse Java Editor Be Formatted Like .NET Between Methods?

I am really liking the power of Java over VB .NET. But the one thing I dis like are no line breaks between java methods like in VB between subs. Is there a break setting that can mimic VB to make Eclipse look and feel like VB?

Check your Java Formatter preferences.

Open the Preferences dialog from the Window menu and navigate to Java->Code Style->Formatter (or just type "format" into the search box on the left and pick it). Edit a profile of your own and you can set, from the Blank Lines tab, to have one before each method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM