CTRL + SHIFT + r => find & open resource
CTRL + SHIFT + f => format text
Creating Non Formatting Areas
Window >> Preferences >> Java >> Code Style >> Formatter >> Edit Profile >> Off/On Tags >> Enable Off/On Tags
Usage:
// @formatter:off
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests()
.antMatchers("/", "/public/**").permitAll()
}
// @formatter:on
Formatting of Inline Elements & Line Width
Window >> Preferences >> Web >> Html Files >> Editor >>
Manage your line width and inline elements and make new line for every attribute
Hiç yorum yok:
Yorum Gönder