Project

General

Profile

Feature #2111

Feature #1739: add hints/features for better control over comment conversion

improve handling of comments that are related to each other ("sets" of comments)

Added by Greg Shah about 11 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
16.00 h
billable:
No
vendor_id:
GCD
version_reported:
version_resolved:

History

#1 Updated by Greg Shah about 11 years ago

Sets of comments that match the following rules should be treated differently:

1. There is no code in between the comments; AND
2. There is only whitespace with a maximum of 1 newline in between the comments.

These sets should be treated as a contiguous comment. Perhaps they should be merged into a single comment that has embedded newlines to keep the formatting intact.

Some examples:

/* this is a top of file */
/* comment that is split */
/* across multiple lines */

/* another comment that is not part of the top of file comment */

/* this is a function-specific */
/* comment set that is split   */
/* across multiple lines */
function bogus returns int ():
   /* a comment that is not part of the function-specific comments */
   return 0.
end.

#2 Updated by Greg Shah about 11 years ago

  • Estimated time set to 16.00

#3 Updated by Greg Shah over 7 years ago

  • Target version deleted (Code Improvements)

Also available in: Atom PDF