shortcuts to Ant targets
OK--stupid question. Tracker request #7174
<http://www.intellij.net/tracker/idea/viewSCR?publicId=7174> says "...we can
add a shortcut to a project Ant target...". Well, I'm having trouble doing
even that.
I have added a Ant project, and I see Ant Targets listed in the Keymap
Settings, but I cannot expand Ant Targets. In the Ant Build window, when I
right-click on an ant target, the "Assign shortcut..." menu entry is
insensitive.
Is there some magic widget somewhere I have to enable? (This is with the
3.0 release build if that matters.)
Kendall
Please sign in to leave a comment.
view
http://www.intellij.net/forums/thread.jsp?forum=22&thread=16861&tstart=0&trange=15
On Mon, 11 Nov 2002 21:29:43 -0600, "Kendall Collett"
<kcollett@jump.net> wrote:
>Is there some magic widget somewhere I have to enable? (This is with the
>3.0 release build if that matters.)
You just have to start making a new keymap. Make a copy of one of the
others, and then make it active.
Thomas
Hello Kendall!
Please go to the Ant build file properties dialog, tab Filter Targets.
Shortcuts are assignable to the targets that are checked on that page.
--
Best regards,
Anton Katilin
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Kendall Collett" <kcollett@jump.net> wrote in message
news:aqpsj8$3so$1@is.intellij.net...
can
doing
>
I
>
>
>
>
Good idea, but I do have a new keymap (based on default), and that keymap
is the active one.
Kendall
"Thomas Saxtoft" <ts@sondagsavisen.dk> wrote in message
news:2qh1tuk1bikdlvhh1r13h8g1n1fl62jh7v@4ax.com...
Whether the Ant target appears in the filtered target list doesn't seem to
matter. "Assign shortcut..." is insensitive even for entries that are
checked in the Filter Targets tab.
Kendall
PS: I don't know if this should matter, but the keymap that I'm using was
copied from the default one circa build #668 (version="1"), and the project
I'm using was created circa build #670 (project version="3").
"Anton Katilin" <anton@intellij.com> wrote in message
news:aqqhhh$uls$1@is.intellij.net...
>
trouble doing
when
the
On Tue, 12 Nov 2002 07:57:14 +0000, Kendall Collett wrote:
Is it possible to associate a keymap with a project? So that if we change
projects, it selects the other keymap (which compiles the different ant
target)
--
-- \m/ --
"...if I seem super human I have been misunderstood." (c) Dream Theater
mark@talios.com - ICQ: 1934853 JID: talios@myjabber.net
I believe that sort of flexibility is what tracker request #7174
<http://www.intellij.net/tracker/idea/viewSCR?publicId=7174> is addressing.
Kendall
"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2002.11.12.20.52.42.597362@talios.com...
>
keymap is
>
FYI, I tried the following:
o uninstalled Idea
o moved .IntelliJIdea to some other directory
o reinstalled Idea (3.0 release)
o created a new project
o added the Ant buildfile to the project
o created a copy of the default keymap and made the copy the active
keymap
I still see the same result. :(
Kendall
"Kendall Collett" <kcollett@jump.net> wrote in message
news:aqr2lr$sd$1@is.intellij.net...
>
>
project
>
"...we
Hello Kendall !
Is 'name' attribute specified in the 'project' tag of your Ant xml?
--
Best regards,
Anton Katilin
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Kendall Collett" <kcollett@jump.net> wrote in message
news:aqskk3$v1b$1@is.intellij.net...
>
>
>
>
>
>
>
>
>
to
was
Keymap
is
with
>
>
Anton, I believe you've identified the crux of the problem!
The Ant in the buildfile I added to my Idea project only defines the "default" and "basedir" attributes. I tried adding a "name" attribute, and that made the difference. In the Ant Build window, the root of the "target tree" changed from "build.xml" to the name I supplied ("foo"), the "Assign shortcut..." menu entries became sensitive, and I can expand the "Ant Targets" node within the Keymap window. The upshot is that I'm now able to add shortcuts to Ant targets. You might still want to see if you can change Idea to somehow handle the case where doesn't have a "name" attribute; according to the Ant documentation (see ) the "name" attribute is optional. (If it cannot be done without significant pain in the code, then perhaps a comment in the documentation indicating the limitation.) Kendall "Anton Katilin" ]]> wrote in message
news:aqtiq1$fkr$1@is.intellij.net...
>
seem
Targets.
page.
window,
entry