Ant Code Completion

Why is there no code completion in Ant-Tasks ?
e.g.

]]>


If I try the codecompletion within classname Attribute, nothing happens. I remember that version 3 worked with that.

12 comments
Comment actions Permalink

Juergen wrote:

Why is there no code completion in Ant-Tasks ?
e.g.

> ]]>


If I try the codecompletion within classname Attribute, nothing happens. I remember that version 3 worked with that.

You can use CtrlAltSpace. It seems not very useful and in aurora this
won't be fixed.

IK


--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

???
Nothing happens if I press CrtlAltSpace

By the way: Custom Ant Taks are not recognized any more if I add the jars into the additional classpath of the build file properties. What is the recommended way to include custom ant tasks ?

0
Comment actions Permalink

Juergen wrote:

???
Nothing happens if I press CrtlAltSpace

Try it with valid prefix. It's common practice to not allow class name
completion without any prefix.


By the way: Custom Ant Taks are not recognized any more if I add the jars into the additional

>classpath of the build file properties. What is the recommended way to
include custom ant tasks ?
Please file this issue. May be it is recognized but highlighter is not
updated so try to change anything in this document.

Thanks,
IK


--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Ant (Class) Code Completion:
-


Don't know exactly what you mean with "valid" prefix. If I type "a" and press CtrlAltSpace then some strange classes appear in my List like:

a0 ( com.sun.rsassign )
a1 ( com.sun.rsassign )
a2 ( com.sun.rsassign )
a3 ( com.sun.rsassign )
a4 ( com.sun.rsassign )

and so on.....

Custom Ant Tasks:
-


Highlighter was updated, but shows always red.
In Version 3 I included my custom ant tasks into the additional classpath list ( Ant Build Tab -> -> Build File Properties ).
But the jars there are not resolved any more. Only at Run-Time. So if I start the Ant-build, everthing runs well, but IDEA marks my custom ANT-Tasks red ( I defined them with "taskdef" ).

0
Comment actions Permalink

Hi Juergen!

Juergen wrote:

Ant (Class) Code Completion:
-----------------------------
Don't know exactly what you mean with "valid" prefix. If I type "a" and press CtrlAltSpace then some strange classes appear in my List like:

a0 ( com.sun.rsassign )
a1 ( com.sun.rsassign )
a2 ( com.sun.rsassign )
a3 ( com.sun.rsassign )
a4 ( com.sun.rsassign )

and so on.....

That's classes from your libraries (resign) starting with a :).


Custom Ant Tasks:
-----------------
Highlighter was updated, but shows always red.
In Version 3 I included my custom ant tasks into the additional classpath list ( Ant Build Tab -> -> Build File Properties ).
But the jars there are not resolved any more. Only at Run-Time. So if I start the Ant-build, everthing runs well, but IDEA marks my custom ANT-Tasks red ( I defined them with "taskdef" ).


Hmm.. Could you please send me your build file and jar and we'll try to
fix this.

IK

--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

That's classes from your libraries (resign) starting with a :).


RSA signatures, maybe you have jsse in your libraries?


0
Comment actions Permalink

I am having the same problems with Ant. My tags no longer have code completion for tag attributes, so if I want to define a simple ]]> tag, and I type tar..., then IDEA gives me the list of tags, however, it will not give me options for "name" and "description" attributes. Very annoying.

I also have the same issue with taskdefs. All red.

0
Comment actions Permalink

That's classes from your libraries (resign)

starting with a :).

RSA signatures, maybe you have jsse in your
libraries?

Sorry, I found those libraries... they must be standard in jdk1.3 under /jre/lib/sunrsasign.jar

Okay, it seems that this CtrlAltSpace thing is working.

0
Comment actions Permalink

I've attached a demoproject which shows the error.



Attachment(s):
anttest.zip
0
Comment actions Permalink

Juergen wrote:

I've attached a demoproject which shows the error.

Fixed in 1129.

Thanks,
IK

--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

jason boutwell wrote:

I am having the same problems with Ant. My tags no longer have code completion for tag attributes, so if I want to define a simple <target> tag, and I type tar..., then IDEA gives me the list of tags, however, it will not give me options for "name" and "description" attributes. Very annoying.


Please file his as a separate SCR and we'll deal with it. I think that
the problem is in your file.

IK



--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.