| Summary: | [xtext] validate context menu action chokes on editor for non-workspace resource | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Johan Wannheden <johan.wannheden> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | christian.dietrich.opensource |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Johan Wannheden
https://bugs.eclipse.org/bugs/show_bug.cgi?id=283086 solves the validation part of the problem. rename fails with java.lang.IllegalStateException: Could not determine project for context resource file:/Users/dietrich/demo.xtext at org.eclipse.xtext.ui.refactoring.ui.DefaultLinkedPositionGroupCalculator.getLinkedPositionGroup(DefaultLinkedPositionGroupCalculator.java:107) at org.eclipse.xtext.ui.refactoring.ui.RenameRefactoringController$1.run(RenameRefactoringController.java:145) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) i think there should be no validation or rename available at all |