Code assist for uml2 packages doesn't work [message #477607] |
Wed, 16 July 2008 06:26 |
alfred schnabel 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 |
james bruck 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 |
james bruck 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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03559 seconds