Summary: | No support for "new" assignment statement wrapping | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Hacking Bear <cutebear103> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | chris, juergenkrey |
Version: | 3.1 | ||
Target Milestone: | 3.3 RC4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Hacking Bear
2005-06-13 23:54:30 EDT
Another example of code which does not wrap well. Actually, it does not wrap at all. -------- import java.util.ArrayList; import java.util.List; import net.sf.acegisecurity.GrantedAuthority; import net.sf.acegisecurity.providers.dao.AuthenticationDao; public class AuthDao implements AuthenticationDao { public UserDetails loadUserByUsername(String username) { // the next line does not wrap: final List<GrantedAuthority> authorities = new ArrayList<GrantedAuthority>(); } } -------- Closing as WORKSFORME. In 3.3, you can set a line wrapping for assignment in: Preferences>Java>Code Style>Formatter>Line Wrapping>Expressions>Àssigments |