Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] find references for juno?
[xcore] find references for juno? [message #825713] Wed, 21 March 2012 06:51 Go to next message
Knut Wannheden is currently offline Knut WannhedenFriend
Messages: 298
Registered: July 2009
Senior Member
Hi,

I've noticed that certain UI actions in the Xcore editor haven't been fully
implemented yet. For instance the find references action doesn't find
references in Xtend files which refer to the Java classes and methods
generated for the XClasses, XOperations, etc. Similarly hitting F3 in the
Xtend editor on a reference like this will actually open the Xcore editor, but
it won't select the corresponding location in the file.

After a short investigation I found that part of the reason is that some
operations in XcoreModelAssociator have been mocked. Since this mocking
apparently is intentional I was wondering if there are plans to fully
implement features like find references for Juno.

Regards,

--knut
Re: [xcore] find references for juno? [message #825730 is a reply to message #825713] Wed, 21 March 2012 07:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Knut,

I was working on refactoring, which integrates with Java refactoring,
but it works so poorly with the current base frameworks currently
limitations (I opened several bugzillas) that it works better if the
associations to Java aren't known. For example, refactoring a feature
from x -> y, results in the getter being refactored from getX -> getY
and the refactoring for the setter, getY is completely ignored. This
just ends up making a mess...

I'm not sure it's possible to support the F3 and find use navigation
without also making refactoring behave poorly. In any case, please open
a bugzilla and I'll have a look.


On 21/03/2012 7:51 AM, Knut Wannheden wrote:
> Hi,
>
> I've noticed that certain UI actions in the Xcore editor haven't been
> fully implemented yet. For instance the find references action doesn't
> find references in Xtend files which refer to the Java classes and
> methods generated for the XClasses, XOperations, etc. Similarly
> hitting F3 in the Xtend editor on a reference like this will actually
> open the Xcore editor, but it won't select the corresponding location
> in the file.
>
> After a short investigation I found that part of the reason is that
> some operations in XcoreModelAssociator have been mocked. Since this
> mocking apparently is intentional I was wondering if there are plans
> to fully implement features like find references for Juno.
>
> Regards,
>
> --knut


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Defining a new DataType for EMF/Ecore in UML
Next Topic:Bind CTRL+C to CopyAction
Goto Forum:
  


Current Time: Fri Apr 26 03:46:08 GMT 2024

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

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

Back to the top