Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Code assist for uml2 packages doesn't work
Code assist for uml2 packages doesn't work [message #477607] Wed, 16 July 2008 06:26 Go to next message
alfred schnabel is currently offline alfred schnabelFriend
Messages: 2
Registered: July 2009
Junior Member
Hi e/m/m/u

I can't get eclipse code assist to work for the org.eclipse.uml2 packages.
I know, this might be the wrong place to ask this, but since I'm having
this problem only with the MDT packages I hope someone in this group can
help me. I installed MDT UML2 via Help->Software Updates... and then
referenced all jars named org.eclipse.uml2.??? in my project. I then
created an empty StateMachine, by invoking
UMLFactory.eINSTANCE.createStateMachine(). The code compiles, thus the jar
references seem to work. Nevertheless if I type UMLFactory.eINSTANCE. and
then press Ctrl-Space for code assist, I get no default proposals, but a
message that no completions are available. Code assist works fine for
other external jars, like JUnit... I really hope someone can help me along
here, cause working without code assist feels like driving with sunglasses
at night.

So long,
Alfred
Re: Code assist for uml2 packages doesn't work [message #477616 is a reply to message #477607] Thu, 17 July 2008 19:30 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Alfred,

I don't think this is something specific to MDT packages since the scenario
you mentioned works fine for me.
I googled "code assist not working" and found some interesting hits ..


----------------
Restoring the defaults in for the Prefs -> Java -> Editor -> content assist
prefs does not correct the problem. However, Drilling down deeper, to
Prefs -> Java -> Editor -> content assist -> advanced and resetting defaults
did help.
-------------


Cheers,

- James.


"Alfred Schnabel" <willybrandt@gmx.de> wrote in message
news:eac66b0950e55184a19238b6f92e4fb9$1@www.eclipse.org...
> Hi e/m/m/u
>
> I can't get eclipse code assist to work for the org.eclipse.uml2 packages.
> I know, this might be the wrong place to ask this, but since I'm having
> this problem only with the MDT packages I hope someone in this group can
> help me. I installed MDT UML2 via Help->Software Updates... and then
> referenced all jars named org.eclipse.uml2.??? in my project. I then
> created an empty StateMachine, by invoking
> UMLFactory.eINSTANCE.createStateMachine(). The code compiles, thus the jar
> references seem to work. Nevertheless if I type UMLFactory.eINSTANCE. and
> then press Ctrl-Space for code assist, I get no default proposals, but a
> message that no completions are available. Code assist works fine for
> other external jars, like JUnit... I really hope someone can help me along
> here, cause working without code assist feels like driving with sunglasses
> at night.
>
> So long,
> Alfred
>
Re: Code assist for uml2 packages doesn't work [message #626807 is a reply to message #477607] Thu, 17 July 2008 19:30 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Alfred,

I don't think this is something specific to MDT packages since the scenario
you mentioned works fine for me.
I googled "code assist not working" and found some interesting hits ..


----------------
Restoring the defaults in for the Prefs -> Java -> Editor -> content assist
prefs does not correct the problem. However, Drilling down deeper, to
Prefs -> Java -> Editor -> content assist -> advanced and resetting defaults
did help.
-------------


Cheers,

- James.


"Alfred Schnabel" <willybrandt@gmx.de> wrote in message
news:eac66b0950e55184a19238b6f92e4fb9$1@www.eclipse.org...
> Hi e/m/m/u
>
> I can't get eclipse code assist to work for the org.eclipse.uml2 packages.
> I know, this might be the wrong place to ask this, but since I'm having
> this problem only with the MDT packages I hope someone in this group can
> help me. I installed MDT UML2 via Help->Software Updates... and then
> referenced all jars named org.eclipse.uml2.??? in my project. I then
> created an empty StateMachine, by invoking
> UMLFactory.eINSTANCE.createStateMachine(). The code compiles, thus the jar
> references seem to work. Nevertheless if I type UMLFactory.eINSTANCE. and
> then press Ctrl-Space for code assist, I get no default proposals, but a
> message that no completions are available. Code assist works fine for
> other external jars, like JUnit... I really hope someone can help me along
> here, cause working without code assist feels like driving with sunglasses
> at night.
>
> So long,
> Alfred
>
Previous Topic:How to make a Class and an Interface read-only?
Next Topic:Continuing saga of the standalone app
Goto Forum:
  


Current Time: Thu Mar 28 20:00:43 GMT 2024

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

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

Back to the top