eclipse-xtext / eclipse-xtext/xtext
Highlight Xtend rich string comments in compare view
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 831
- Forks
- 330
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
Description
Given is the following Foo.xtend file:
package foo
class Foo {
/**
* Javadoc comment
*/
/*
* Multiline comment
*/
// single line comment
val a = '''
line
««« rich string comment
line
'''
}
The Xtend rich string comments are not highlighted on the compare view. However, the highlighting of all the other comments (javadoc comment, multiline comment, single line comment) are also working in the compare view.

It would be awesome if the highlighting of the rich string comments should also work on the compare view.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the compare view implementation and trace how Javadoc, multiline, and single-line comments are detected for Foo.xtend. Compare that handling with Xtend rich string comments marked by ««« in the issue example. Done means those rich string comments receive the same highlighting in the compare view without regressing the other comment types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100