Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Organize Imports not working in my xbase dsl
Organize Imports not working in my xbase dsl [message #1779931] Mon, 15 January 2018 20:06 Go to next message
Larry LeBron is currently offline Larry LeBronFriend
Messages: 124
Registered: October 2015
Senior Member
I've recently updated my dsl to use Xtext 2.13, and am now using Eclipse Oxygen, and now the shortcut to organize imports is no longer working.

The imports themselves are still working, and everything is building fine.

The file entity in my grammar begins with:

importSection=XImportSection?

Any thoughts on what might cause this? Is there something additional I need to support?

Imports are working for Xtend, though I did notice that I don't see the option in the UI menu when I right click in a .xtend file.

Thanks!
Re: Organize Imports not working in my xbase dsl [message #1779932 is a reply to message #1779931] Mon, 15 January 2018 20:11 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
is org.eclipse.xtext.xbase.ui.imports.OrganizeImportsHandler in plugin.xml
did you debug that handler?


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Organize Imports not working in my xbase dsl [message #1779936 is a reply to message #1779932] Mon, 15 January 2018 21:42 Go to previous message
Larry LeBron is currently offline Larry LeBronFriend
Messages: 124
Registered: October 2015
Senior Member
Ah, thanks for pointing me to that.

When I set my language up for the new version, I hadn't copied over the plugin.xml_gen to the plugin.xml for the UI project.

It's working now :)
Previous Topic:gradle builder xtextbin file
Next Topic:How to remove prefix in cross-reference
Goto Forum:
  


Current Time: Thu Apr 25 15:15:32 GMT 2024

Powered by FUDForum. Page generated in 0.03849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top