| Summary: | multiple file extensions - java.lang.IllegalStateException | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | yirco <netswengineer> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 1.0.1 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | M5 | ||
| Hardware: | All | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
yirco
please put a comma between the extensions. We should validate the property in the workflow component. (In reply to comment #1) > please put a comma between the extensions. > We should validate the property in the workflow component. Hi Sven, thank you for reply. Well, I tried comma too but in that case only the first extension is propagated to var file.extensions = "mydsl" I think that another issue is that when I try to open a file e.g. file.abc explicitly selecting the editor (Open With), the editor shall not throw an exception because of unregistered extension but open the file. At least other editors do that in Eclipse. Otherwise Xtext seems to be an amazing tool. I've added a validation for the generator component and fixed the wizard. I also made the Xtext editor use an injected Resource.Factory which lets it open any file no matter which file extension (the builder will still ignore them). (In reply to comment #3) > I've added a validation for the generator component and fixed the wizard. > I also made the Xtext editor use an injected Resource.Factory which lets it > open any file no matter which file extension (the builder will still ignore > them). OK, thanks, appreciated. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |