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: | Reformat on save breaks javadoc formatting | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | MackSix |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
test file
Format Settings |
Description
Jiri Prox
2013-01-23 09:55:55 UTC
Reproducible Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Unfortunately, I cannot reproduce the problem in the current dev build. Could you please attach your formatting options? Thanks. (In reply to comment #2) > Unfortunately, I cannot reproduce the problem in the current dev build. Could > you please attach your formatting options? Thanks. Use the default settings for formatting blank lines and right margin set to 80. No need to save the file, just keep formatting it with Alt+Shift+F. It only happens in Javadoc with line that extends past right margin. Use attached code and keep formatting it with Alt+Shift+F and you will see the last line in the last 2 Javadocs split across 2 lines. Format again and they go back to one line. It keeps doing this each time you Format. Each time it merges back to one line a new "*" is added in the middle of the line. Product Version: NetBeans IDE Dev (Build 201304102301) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Created attachment 133477 [details]
test file
Created attachment 133478 [details]
Format Settings
Here is an export of all of the default Formatting settings.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/2c73d535d55e Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2c73d535d55e User: Dusan Balek <dbalek@netbeans.org> Log: Issue #225221: Reformat on save breaks javadoc formatting - fixed. v. |