Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » AJDT Example: Autocompletion Doesn't Work
AJDT Example: Autocompletion Doesn't Work [message #26004] Wed, 17 September 2003 17:00 Go to next message
Eclipse UserFriend
Originally posted by: eeide.cs.utah.edu

I was going through the online ``Getting Started with AJDT'' document (URL
below), and I came across a part of the example that doesn't work for me. I'd
like to determine if the example is out of date, or if I've installed AJDT
incorrectly.

First, my stats: Eclipse 2.1.1, AJDT 1.1.3, Sun JDK 1.4.2_01, Windows XP.

Going through the user guide, on the ``Adding a New Aspect to Your Project''
page:
< http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/org. eclipse.ajdt/plugins/org.eclipse.ajdt/doc/AJDTug/ajdt-addasp ect.html>

It says:
Start typing inside the body of the aspect: "pointcut greeting() : exe"
and then hit "Ctrl+Space" (code completion). The editor will suggest
auto-completions for the execution pointcut: [...]

When I do this, I simply get a message in the Eclipse status bar:
``No completions available.''

I believe that I am using the proper editor and so on; AspectJ keywords are
highlighted in the editor, and I can compile and run AspectJ programs.

So, is the online example wrong, or have I missed some configuration bit?

Thanks ---

Eric.

--
------------------------------------------------------------ -------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX
Re: AJDT Example: Autocompletion Doesn't Work [message #26126 is a reply to message #26004] Thu, 18 September 2003 13:28 Go to previous messageGo to next message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
On Wed, 17 Sep 2003 11:00:03 -0600 (MDT), Eric Eide <eeide@cs.utah.edu>
wrote:

> I was going through the online ``Getting Started with AJDT'' document
> (URL
> below), and I came across a part of the example that doesn't work for
> me. I'd
> like to determine if the example is out of date, or if I've installed
> AJDT
> incorrectly.
>
> First, my stats: Eclipse 2.1.1, AJDT 1.1.3, Sun JDK 1.4.2_01, Windows XP.
>
> Going through the user guide, on the ``Adding a New Aspect to Your
> Project''
> page:
> < http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/org. eclipse.ajdt/plugins/org.eclipse.ajdt/doc/AJDTug/ajdt-addasp ect.html>
>
> It says:
> Start typing inside the body of the aspect: "pointcut greeting() : exe"
> and then hit "Ctrl+Space" (code completion). The editor will suggest
> auto-completions for the execution pointcut: [...]
>
> When I do this, I simply get a message in the Eclipse status bar:
> ``No completions available.''
>
> I believe that I am using the proper editor and so on; AspectJ keywords
> are
> highlighted in the editor, and I can compile and run AspectJ programs.
>
> So, is the online example wrong, or have I missed some configuration bit?
>
> Thanks ---
>
> Eric.
>

Hi Eric,

You are doing everything right. What's wrong is that the "Getting Started
with AJDT" user guide is actually for AJDT 1.1.4 which has not been
released yet. Auto-completion is one of the new features in 1.1.4.

We are *very* close to releasing 1.1.4 but, because of one or two
unforeseen things that have fallen out of the QA phase on it and AspectJ
1.1.1 on which it depends, things have slipped a little. We will sort this
now.

Best regards,
--
George
Re: AJDT Example: Autocompletion Doesn't Work [message #26165 is a reply to message #26126] Thu, 18 September 2003 14:21 Go to previous message
Eclipse UserFriend
Originally posted by: eeide.cs.utah.edu

"George" == George Harley <gharley@uk.ibm.com> writes:

George> You are doing everything right. What's wrong is that the
George> "Getting Started with AJDT" user guide is actually for AJDT
George> 1.1.4 which has not been released yet. Auto-completion is one
George> of the new features in 1.1.4.

Ah, thanks! Now that I look, I see that 1.1.4 is specified several times in
the guide --- it's even in the in subtitle! Still, somehow I missed it.

I will also mention that in following the guide with 1.1.3, I couldn't seem to
make the Aspect Visualizer do anything for the (trivial) example program; the
visualizer window was always blank. When 1.1.4 is available, I'll try again,
and submit a more detailed report if necessary.

Thanks again ---

Eric.

--
------------------------------------------------------------ -------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX
Re: AJDT Example: Autocompletion Doesn't Work [message #571415 is a reply to message #26004] Thu, 18 September 2003 13:28 Go to previous message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
On Wed, 17 Sep 2003 11:00:03 -0600 (MDT), Eric Eide <eeide@cs.utah.edu>
wrote:

> I was going through the online ``Getting Started with AJDT'' document
> (URL
> below), and I came across a part of the example that doesn't work for
> me. I'd
> like to determine if the example is out of date, or if I've installed
> AJDT
> incorrectly.
>
> First, my stats: Eclipse 2.1.1, AJDT 1.1.3, Sun JDK 1.4.2_01, Windows XP.
>
> Going through the user guide, on the ``Adding a New Aspect to Your
> Project''
> page:
> < http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/org. eclipse.ajdt/plugins/org.eclipse.ajdt/doc/AJDTug/ajdt-addasp ect.html>
>
> It says:
> Start typing inside the body of the aspect: "pointcut greeting() : exe"
> and then hit "Ctrl+Space" (code completion). The editor will suggest
> auto-completions for the execution pointcut: [...]
>
> When I do this, I simply get a message in the Eclipse status bar:
> ``No completions available.''
>
> I believe that I am using the proper editor and so on; AspectJ keywords
> are
> highlighted in the editor, and I can compile and run AspectJ programs.
>
> So, is the online example wrong, or have I missed some configuration bit?
>
> Thanks ---
>
> Eric.
>

Hi Eric,

You are doing everything right. What's wrong is that the "Getting Started
with AJDT" user guide is actually for AJDT 1.1.4 which has not been
released yet. Auto-completion is one of the new features in 1.1.4.

We are *very* close to releasing 1.1.4 but, because of one or two
unforeseen things that have fallen out of the QA phase on it and AspectJ
1.1.1 on which it depends, things have slipped a little. We will sort this
now.

Best regards,
--
George
Re: AJDT Example: Autocompletion Doesn't Work [message #571448 is a reply to message #26126] Thu, 18 September 2003 14:21 Go to previous message
Eclipse UserFriend
Originally posted by: eeide.cs.utah.edu

"George" == George Harley <gharley@uk.ibm.com> writes:

George> You are doing everything right. What's wrong is that the
George> "Getting Started with AJDT" user guide is actually for AJDT
George> 1.1.4 which has not been released yet. Auto-completion is one
George> of the new features in 1.1.4.

Ah, thanks! Now that I look, I see that 1.1.4 is specified several times in
the guide --- it's even in the in subtitle! Still, somehow I missed it.

I will also mention that in following the guide with 1.1.3, I couldn't seem to
make the Aspect Visualizer do anything for the (trivial) example program; the
visualizer window was always blank. When 1.1.4 is available, I'll try again,
and submit a more detailed report if necessary.

Thanks again ---

Eric.

--
------------------------------------------------------------ -------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX
Previous Topic:aspectj editor problem
Next Topic:AJDT 1.1.4 Announce
Goto Forum:
  


Current Time: Fri Apr 26 17:25:01 GMT 2024

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

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

Back to the top