| Summary: | Code formatting (ctrl+shift+f) removes {@value} texts from comments for javadoc, in certain circumstances. | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Erwin Smout <e.smout> |
| Component: | Core | Assignee: | Mateusz Matela <mateusz.matela> |
| Status: | VERIFIED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, manoj.palat, mateusz.matela |
| Version: | 4.3 | ||
| Target Milestone: | 4.8 M5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | To be verified for 4.8 M5 | ||
This problem no longer occurs after the formatter redesign. *** This bug has been marked as a duplicate of bug 303519 *** Verified for Eclipse Photon 4.8 M5 with Build id: I20180122-0800 |
As the title says. Here is a snippet before code formatting : /** * {@value} is an interval operator that is equivalent to, in Allen terms, STARTS or DURING or FINISHES or EQUAL. For a detailed definition, see {@link IntervalWithinOperatorImplementation#executeOperator(java.util.LinkedList)} */ public static final String WITHIN = "WITHIN"; //$NON-NLS-1$ Here is the same snippet after code formatting : /** * is an interval operator that is equivalent to, in Allen terms, STARTS or DURING or FINISHES or EQUAL. For a detailed definition, see {@link IntervalWithinOperatorImplementation#executeOperator(java.util.LinkedList)} */ public static final String WITHIN = "WITHIN"; //$NON-NLS-1$ The leading {@value} construct is removed entirely.