-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User in full control over comments #5
Comments
ProblemThe following real world example shows why comment handling is needed. - return not
- (R1 (1).X > R2 (2).X -- R1 on the right of R2
- or else R2 (1).X > R1 (2).X -- R2 on the right of R1
- or else R1 (1).Y > R2 (2).Y -- R1 below R2
- or else R2 (1).Y > R1 (2).Y); -- R1 above R2
+ return
+ (((R1 (1).X <= R2 (2).X) and then (R2 (1).X <= R1 (2).X))
+ and then (R1 (1).Y <= R2 (2).Y))
+ and then (R2 (1).Y <= R1 (2).Y); -- R1 above R2 Although one might wonder whether the comment is still correct after the transformation. A SolutionComments within place holders are part of that place holder. Example:
What does he wants as end result?
or even
Proposed solution:
Questions:
So has
a clear interpretation? Ada ExamplesPattern
will match
Pattern
will match
|
The following design is proposed (for now): In find patterns
Note: using a check function, a comment can still be matched to a particular text. In replace patterns
|
We would like to give the user more control over the comments:
Currently, before and after trivia are supported but this can lead to duplication of comments.
E.g. with find pattern
and replace pattern
with
before
andafter
equal toAll_Trivia
.The find pattern matches the following instance
results in the replacement
However, we also want to enable tools to add marks to the code,
such that consequent changes are limited to the marked sections.
These comments should NOT be accessible by other
users
.The text was updated successfully, but these errors were encountered: