Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 140096 Details for
Bug 235295
[formatter] javadoc of CodeFormatter#F_INCLUDE_COMMENTS needs improvement
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
v00.txt (text/plain), 1.83 KB, created by
Frederic Fusier
on 2009-06-25 09:58:19 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2009-06-25 09:58:19 EDT
Size:
1.83 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: formatter/org/eclipse/jdt/core/formatter/CodeFormatter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatter.java,v >retrieving revision 1.24 >diff -u -r1.24 CodeFormatter.java >--- formatter/org/eclipse/jdt/core/formatter/CodeFormatter.java 27 Jun 2008 16:04:12 -0000 1.24 >+++ formatter/org/eclipse/jdt/core/formatter/CodeFormatter.java 25 Jun 2009 13:48:21 -0000 >@@ -85,14 +85,19 @@ > * {@link #K_UNKNOWN} kinds for now but might be extended to other ones > * in future versions. > * </p><p> >- * Note also that it has an effect only when the option >- * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT} >- * is set to {@link DefaultCodeFormatterConstants#TRUE} while calling >+ * Note also that it has an effect only when one or several format comments >+ * options for >+ * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT javadoc} >+ * , >+ * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT block} >+ * or >+ * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_LINE_COMMENT line} >+ * are set to {@link DefaultCodeFormatterConstants#TRUE true} while calling > * {@link #format(int, String, int, int, int, String)} or > * {@link #format(int, String, IRegion[], int, String)} methods > * </p><p> >- * For example, with the Eclipse default formatter options, the formatting of >- * the following code snippet using {@link #K_COMPILATION_UNIT}: >+ * For example, with the Eclipse default formatter options, the formatting >+ * of the following code snippet using {@link #K_COMPILATION_UNIT}: > * <pre> > * public class X { > * /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235295
: 140096