Delete package - cannot confirm by Enter key

Hi, when I try to delete package (directory) in project tree then I cannot
confirm "Delete" dialog by Enter key. I must click on OK button. Sometimes I
hate mouse....

||| likeapear


8 comments

Does Ctrl+Enter work?

N.

likeapear wrote:

Hi, when I try to delete package (directory) in project tree then I cannot
confirm "Delete" dialog by Enter key. I must click on OK button. Sometimes I
hate mouse....

||| likeapear

0

We did not make OK default button there to prevent occasional deletion. Use
Space key.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"likeapear" <likeapear@centrum.cz> wrote in message
news:c0800a$s15$1@is.intellij.net...

Hi, when I try to delete package (directory) in project tree then I cannot
confirm "Delete" dialog by Enter key. I must click on OK button. Sometimes

I

hate mouse....

>

||| likeapear

>
>


0

Valentin Kipiatkov (JetBrains) <valentin@intellij.com> wrote:

We did not make OK default button there to prevent occasional deletion. Use
Space key.


Isn't it a general thing that ]]> is the official "press that
button" key in Swing applications (unlike Windows that uses Enter)?

Dirk Dittert

0


Isn't it a general thing that <Space> is the official "press that
button" key in Swing applications (unlike Windows that uses Enter)?


This setting is look and feel specific. Most laf's inherit from metal
and behave this way. windows laf has enter=space -> press current
button.

FWIW, I modified the laf's I use/provide (kunststoff,jgoodies,modified
metal) to behave like windows: enter presses the selected/current
button.

0

BTW: in the "Safe delete" confirmation dialog Enter key works...

||| likeapear


0

likeapear wrote:

BTW: in the "Safe delete" confirmation dialog Enter key works...


This is because it is safe delete :)

Friendly,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

"Dmitry Lomov (JetBrains)" <Dmitry.Lomov@jetbrains.com> píse v diskusním príspevku news:c0a8s3$au2$1@is.intellij.net...

This is because it is safe delete :)

Heh, thank you.

||| likeapear

0

Please sign in to leave a comment.