-
Notifications
You must be signed in to change notification settings - Fork 80
Provide quickfixes for illegal rule references (WIP) #1492
Conversation
createLinkingIssueResolutions(issue, acceptor); | ||
createNewRule(ruleName, ruleType)); | ||
|
||
Optional<IssueResolution> iResolution = acceptor.getIssueResolutions().stream().filter(ir -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am not sure if i like the after effect filtering
shouldnt
createLinkingIssueResolutions
be modified to ctreate resolutions for that matching methods rule type only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@szarnekow what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be in favor of adding another @Fix(UNRESOLVED_TERMINAL_RULE)
and call createLinkingIssueResolutions()
from there to make sure it is only invoked once for that issue code.
Signed-off-by: nbhusare <neerajbhusare@gmail.com>
…ultiple threads Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
[eclipse#1494] fixed race condition on loading the Xtext index from multiple threads
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
…or tycho 2.0 Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
[eclipse/xtext#1816] harmonize includeSource to true in preparation for tycho 2.0
- Extend the 'Xtext UI Testing' test infrastructure by the AbstractCodeMiningTest abstract class to provide a base infrastructure for testing the code mining capabilities. - Extend the Xtext Examples by CodeMiningTest test cases to demonstrate the usage of the AbstractCodeMiningTest class. Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
regenerated docs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
fixed warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, that was too fast from my side. Is this good to be reviewed or WIP?
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
…ap_version [releng] Bootstrap against 2.23.0.M2
removed obsolete org.eclipse.xtend.shared.ui.prefs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
always archive ui test logs
@szarnekow The code changes are good to be reviewed. I haven't fixed the unit-tests which is why I have put WIP. |
Signed-off-by: nbhusare <neerajbhusare@gmail.com>
…into nb_1448_03
@nbhusare the 19 commits look wired? did you properly rebase on eclipse/master? |
@cdietrich I had rebased correctly. In Eclipse, I saw that my branch was lagging behind some comments in remote after which I pulled which lead to this state. |
@cdietrich I am not sure. I don't merge except on the master (git fetch upstream, git merge upstrem/master, git push) after which I switch to the feature branch and do a git rebase master. |
@cdietrich Probably the git pull on the feature branch might have created the merge commit. I am not sure. |
@cdietrich I'll be discarding the branch after porting the changes to a new one. |
can you please try to clean that up
or
or create a new branch? |
@cdietrich I have created a new branch - #1507 |
createChangeToIssueResolution()
to avoid duplicate 'Change to' quick-fix if there are multiple/different fixes for an issuefixUnresolvedEnumRule()
.Signed-off-by: nbhusare neerajbhusare@gmail.com