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


0
8 comments
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

Does Ctrl+Enter work?


Or ]]>?

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user


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
Avatar
Permanently deleted user

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

||| likeapear


0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

"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.