This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | 6.0 M9 - "sense-making" line wrap | ||
---|---|---|---|
Product: | java | Reporter: | wqtnetbeans <wqtnetbeans> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | gtzabari |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
wqtnetbeans
2007-05-12 05:37:12 UTC
Have you seen Tools-Options -> Java Code -> Formatting, Category == Wrapping, ...? I am sorry, but what exactly are you reporting? Are those settings broken? Or insufficent, you need better control? Thanks. This may fall in the category of "enhancement". Sorry for not being clear as I am not sure myself. Nevertheless, note that there is nothing in the "Tools-Options -> Java Code -> Formatting, Category == Wrapping" that can provide the line wrapping described here. I guess in terms of implementation it's trickier than just "always wrap after semi-colomn". For things like for (int i = 0; i < someMax; i++) { should NOT be wrapped to for (int i = 0; i < someMax; i++) { But, things like if (someCondition) { doThing1(); doThing2(); .... SHOULD be wrapped into if (someCondition) { doThing1(); doThing2(); .... Also the examples metioned earlier. I see, I'll passed this on to the java editor guys. Thanks. Fixed in the current dev build. |