Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 419715 - [formatting][javadoc] package-info.java not formatted
Summary: [formatting][javadoc] package-info.java not formatted
Status: VERIFIED DUPLICATE of bug 303519
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.8 M5   Edit
Assignee: Mateusz Matela CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 09:47 EDT by Sebastian Zarnekow CLA
Modified: 2018-01-22 22:55 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2013-10-17 09:47:32 EDT
Formatting does not seem to work in package-info.java files.

--- (nothing happens) ---

/**
 * A line that is supposed to be wrapped because it's too long
 */
package com.acme;
-------------------------


--- (nothing happens) ---
/****** some header comment *******/
/**
 * A line that is supposed to be wrapped because it's too long
 */
package com.acme;
-------------------------

This (invalid) file is formatted.

--- (formatting works) ---
package com.acme;
/**
 * A line that is supposed to be wrapped because it's too long
 */
-------------------------
Comment 1 Mateusz Matela CLA 2018-01-20 18:10:24 EST
This problem no longer occurs after the formatter redesign.

*** This bug has been marked as a duplicate of bug 303519 ***
Comment 2 Manoj N Palat CLA 2018-01-22 22:55:53 EST
Verified for Eclipse Photon 4.8 M5 with Build id:  I20180122-0800