>>It doesn't work with code like >> String [] s = {"un","deux" | >> >> >Yeah, this is a long standing issue, that is not addressed for performance >issues. >
> performance <--> implementation
>>I wonder if it was related to/motivated by implementation or usability? >> >> >By usability if I'm not mistaken. >
>Alain, we discussed 2 separate issues, didn't we?:-) >
>
I guess I misread your reply.
Though, I can't see any usability motivation for not inserting the closing '}', the way it works for all the other paired symbols. The only difference is that you would have use the user-specified formating options, to know where to place this '}'.
For some reason I like the way insert-"}" works. When I work on a method declaration that already has a body, I'm glad IDEA doesn't insist on inserting a "}" that I would have to delete right-away. Usability makes sense to me.
>>It doesn't work with code like >> String [] s = {"un","deux" | >> >> >Yeah, this is a long standing issue, that is not addressed for performance >issues.
The case with '}' is a special case. The matching '}' is inserted when you
hit enter. Don't remember the exact reason for that though:)
Eugene.
"Alain Ravet" <alain.ravet@biz.tiscali.be> wrote in message
news:cm0eua$1lj$1@is.intellij.net...
>
>
>
Evgueny
>The case with '}' is a special case. The matching '}' is inserted when you
>hit enter.
>
It doesn't work with code like
String [] s = {"un","deux" |
>Don't remember the exact reason for that though:)
>
I wonder if it was related to/motivated by implementation or usability?
Alain
Yeah, this is a long standing issue, that is not addressed for performance
issues.
By usability if I'm not mistaken.
Eugene.
Eugene,
I see a contradiction in your reply:
>>It doesn't work with code like
>> String [] s = {"un","deux" |
>>
>>
>Yeah, this is a long standing issue, that is not addressed for performance
>issues.
>
>
performance <--> implementation
>>I wonder if it was related to/motivated by implementation or usability?
>>
>>
>By usability if I'm not mistaken.
>
>
Alain
Alain, we discussed 2 separate issues, didn't we?:-)
"Alain Ravet" <alain.ravet@biz.tiscali.be> wrote in message
news:cm5t4p$jne$1@is.intellij.net...
>
>
performance
>
>
Eugen,
>Alain, we discussed 2 separate issues, didn't we?:-)
>
>
I guess I misread your reply.
Though, I can't see any usability motivation for not inserting the
closing '}', the way it works for all the other paired symbols.
The only difference is that you would have use the user-specified
formating options, to know where to place this '}'.
Alain
For some reason I like the way insert-"}" works. When I work on a
method declaration that already has a body, I'm glad IDEA doesn't
insist on inserting a "}" that I would have to delete right-away. Usability
makes sense to me.
cheers :)
Vince.
Evgueny Vigdorchik wrote:
>>It doesn't work with code like
>> String [] s = {"un","deux" |
>>
>>
>Yeah, this is a long standing issue, that is not addressed for performance
>issues.
>
I found it, patiently and silently waiting in the tracker:
"[Ctrl-Shift-Enter] fails on open arrays "
http://www.intellij.net/tracker/idea/viewSCR?publicId=22823
Alain