Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Support for refactoring in EmbeddedEditor
Support for refactoring in EmbeddedEditor [message #1037687] Tue, 09 April 2013 18:36 Go to next message
Eclipse UserFriend
Was wondering if there will be any refactoring support in the Xtext 2.2 EmbedddedEditor?
Re: Support for refactoring in EmbeddedEditor [message #1037763 is a reply to message #1037687] Tue, 09 April 2013 21:24 Go to previous messageGo to next message
Eclipse UserFriend
There is rename refactoring included out of the box (I know it was there in 2.3 and it's still there in 2.4, unsure about 2.2 since I never used it). Any other refactoring will have to be coded.
Re: Support for refactoring in EmbeddedEditor [message #1037905 is a reply to message #1037763] Wed, 10 April 2013 02:37 Go to previous message
Eclipse UserFriend
Oh ok, I just realised I am using 2.3.1

However, when I use Alt+Shift+R, the
org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler
is called and this expects an
org.eclipse.xtext.ui.editor.XtextEditor
to be present, but as I'm using an EmbeddedEditor, this isn't present or available.

Can you please guide me as to how to enable the refactoring of elements in an
org.eclipse.xtext.ui.editor.embedded.EmbeddedEditor
.

Your assistance is much appreciated.
Previous Topic:Performance in scoping
Next Topic:Creating an Outline
Goto Forum:
  


Current Time: Tue Jul 08 22:58:40 EDT 2025

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

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

Back to the top