Code completion for new code
I am using Netbeans 3.3.2 and I love the code completion for the standard
java foundation library classes. Is there anyway for the code completion to
be able to pick up other third party objects like the ones in struts or
possibly some of the objects in packages that I created. All those packages
can be found in the directories that I have mounted. In other IDE's that I
have use one had to include a jar or a path for code completion to pick up
these objects. Does NetBeans have this kind of functionality? Thanks up
front for your responses.
Gus
# 1
On Friday 02 August 2002 08:45, Gus Frezoulis wrote:
> I am using Netbeans 3.3.2 and I love the code completion for the standard
> java foundation library classes. Is there anyway for the code completion
> to be able to pick up other third party objects like the ones in struts or
> possibly some of the objects in packages that I created. All those
> packages can be found in the directories that I have mounted. In other
Right click on the mounted JAR, ZIP, or directory. Then click 'tools'. Then
click 'Update Parser Database' on Netbeans 3.2, Forte 3, or Forte 4, or
'Update Code Completions...' on Netbeans 3.4 RC1.
Also new to Netbeans 3.4 RC1 is the ability to manage them. This can be
accomplished via clicking on the tools menu at the top, followed by 'Code
Completion Database Manager'.
# 2
"Daniel Bruce Lynes" <dlynes@shaw.ca> wrote in message
news:netbeans.nbusers/200208020854.49011.dlynes@shaw.ca...
On Friday 02 August 2002 08:45, Gus Frezoulis wrote:
> I am using Netbeans 3.3.2 and I love the code completion for the standard
> java foundation library classes. Is there anyway for the code completion
> to be able to pick up other third party objects like the ones in struts or
> possibly some of the objects in packages that I created. All those
> packages can be found in the directories that I have mounted. In other
Right click on the mounted JAR, ZIP, or directory. Then click 'tools'.
Then
click 'Update Parser Database' on Netbeans 3.2, Forte 3, or Forte 4, or
'Update Code Completions...' on Netbeans 3.4 RC1.
Also new to Netbeans 3.4 RC1 is the ability to manage them. This can be
accomplished via clicking on the tools menu at the top, followed by 'Code
Completion Database Manager'.
What happens if you have several different versions of the same code. For
example my position requires me to work on new development, old development,
and bug fixes for production. Basically we are maintaining three different
versions of the same code. How would I do that? Do you recommend different
workspaces? How do I make sure that I am getting code completion from the
correct version? Thanks for responding.
Gus
# 3
On Friday 02 August 2002 12:31, Gus Frezoulis wrote:
> What happens if you have several different versions of the same code. For
> example my position requires me to work on new development, old
> development, and bug fixes for production. Basically we are maintaining
> three different versions of the same code. How would I do that? Do you
> recommend different workspaces? How do I make sure that I am getting code
> completion from the correct version? Thanks for responding.
Just reuse the same database name for that code completion, and regenerate it
when you switch projects.
# 4
> What happens if you have several different versions of the same code. For
> example my position requires me to work on new development, old
development,
> and bug fixes for production. Basically we are maintaining three
different
> versions of the same code. How would I do that? Do you recommend
different
> workspaces? How do I make sure that I am getting code completion from the
> correct version? Thanks for responding.
>Gus
I have somewhat similiar situation (2 versions of code) and I use different
projects
--
Sincerely yours,
Maxym
-
Netbeans localization - http://translatedfiles.netbeans.org
Maxym at 2007-7-2 23:49:53 >

# 5
Hi,
> > What happens if you have several different versions of the same
code.
> For
> > example my position requires me to work on new development, old
> development,
> > and bug fixes for production. Basically we are maintaining three
> different
> > versions of the same code. How would I do that? Do you recommend
> different
> > workspaces? How do I make sure that I am getting code completion
from
> the
> > correct version? Thanks for responding.
> >Gus
>
> I have somewhat similiar situation (2 versions of code) and I use
> different
> projects
There are plans to let the user decide the scope (System or project) for
each code completion database. Unfortunately it's not implemented yet,
but it will come - hope so ;)
More information you can find at the editor project.
Greetings,
Thorsten