eclipse-xtext / eclipse-xtext/xtext
Rename refactoring does not trigger build
Open
@szarnekow is already working on this.
Since May 13, 2019.
bug
confirmed
- Dominant language
- Java
- Stars
- 831
- Forks
- 330
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
Description
Hi.
Even though the following example is written in Xtend, I'm pretty sure it might be a general Xtext-problem, since I've noticed a similar problem with my own language:
- Create file Foo.xtend:
package bug
class Foo {
public String name
}
- Create file Bar.xtend:
package bug
class Bar {
def static void main(String[] args) {
val foo = new Foo
println(foo.name)
}
}
- Open Xtext Build Console
- Rename field name to name2 in class Foo. You will notice the Xtext Build Console does not log anything
- Open Bar.xtend
- Modify the file in the editor (e.g. insert a line feed somewhere). foo.name2 is now marked with an error marker.
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.
Assessment
This issue has not been assessed yet.