eclipse-xtext / eclipse-xtext/xtext

Error logged during rename refactoring

Open
#2,422 1 comment 0 reactions 1 assignee View on GitHub

@JanKoehnlein is already working on this.

Since Oct 13, 2017.

Dominant language
Java
Stars
831
Forks
330
Avg merge
3d 7h
Merged PRs (30d)
12

Description

In xtext-eclipse workspace during re-naming errors are logged.

E.g. in AbstractIgnoreCaseLinkingTestLanguage rename Element to Element3

org.eclipse.xtext.ui.refactoring.impl.EmfResourceReferenceUpdater - Couldn't find source element platform:/resource/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/AbstractIgnoreCaseLinkingTestLanguage.genmodel#//ignoreCaseLinkingTest/Element/reference in platform:/resource/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/AbstractIgnoreCaseLinkingTestLanguage.genmodel

Also crossref [Element] is not updated:

Element3:
    name=ID reference=[Element]? '{'
    	elements += Element3*
    '}'
;

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.