Feature Request: new formatting option for anonymous methods
Hi,
I'd like to have the option to format "simple" anonymous methods on one
line.
Something like:
x = delegate { return "asdf"; }
Rather than some variation of this:
x = delegate
{
return "asdf";
}
Thanks.
---
Richard
Please sign in to leave a comment.
This is already implemented in the upcoming release 2.5
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Richard" <monica.spence@t4g.com> wrote in message
news:ehinuv$an2$1@is.intellij.net...
>
>
>
>
>
Great.
Any word on when 2.5 will be released? Or an EAP?
Thanks.
---
Richard
"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:ehj17i$51h$1@is.intellij.net...
>
>> Hi,
>>
>> I'd like to have the option to format "simple" anonymous methods on one
>> line.
>>
>> Something like:
>> x = delegate { return "asdf"; }
>>
>> Rather than some variation of this:
>> x = delegate
>> {
>> return "asdf";
>> }
>>
>> Thanks.
>>
>> ---
>> Richard
>>
>
Soon. Very soon. :)
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Richard" <monica.spence@t4g.com> wrote in message
news:ehl9pg$k3a$1@is.intellij.net...
>
>
>
>
>> This is already implemented in the upcoming release 2.5
>>
>> --
>> Eugene Pasynkov
>> Developer
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>> "Richard" <monica.spence@t4g.com> wrote in message
>> news:ehinuv$an2$1@is.intellij.net...
>>> Hi,
>>>
>>> I'd like to have the option to format "simple" anonymous methods on one
>>> line.
>>>
>>> Something like:
>>> x = delegate { return "asdf"; }
>>>
>>> Rather than some variation of this:
>>> x = delegate
>>> {
>>> return "asdf";
>>> }
>>>
>>> Thanks.
>>>
>>> ---
>>> Richard
>>>
>>
>>
>
Please Please Please tell me that "Smart-Enter/Complete-Statement" is part
of the scope of 2.5!!
"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:ehlc4m$hnr$1@is.intellij.net...
>> Any word on when 2.5 will be released? Or an EAP?
>
>
>> Great.
>>
>>
>> Thanks.
>>
>> ---
>> Richard
>>
>> "Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
>> message news:ehj17i$51h$1@is.intellij.net...
>>> This is already implemented in the upcoming release 2.5
>>>
>>> --
>>> Eugene Pasynkov
>>> Developer
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>> "Richard" <monica.spence@t4g.com> wrote in message
>>> news:ehinuv$an2$1@is.intellij.net...
>>>> Hi,
>>>>
>>>> I'd like to have the option to format "simple" anonymous methods on one
>>>> line.
>>>>
>>>> Something like:
>>>> x = delegate { return "asdf"; }
>>>>
>>>> Rather than some variation of this:
>>>> x = delegate
>>>> {
>>>> return "asdf";
>>>> }
>>>>
>>>> Thanks.
>>>>
>>>> ---
>>>> Richard
>>>>
>>>
>>>
>>
>>
>
Unfortunately, no :(
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:ehliff$kp5$1@is.intellij.net...
>
>>> Any word on when 2.5 will be released? Or an EAP?
>>
>> Soon. Very soon. :)
>>
>> --
>> Eugene Pasynkov
>> Developer
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>> "Richard" <monica.spence@t4g.com> wrote in message
>> news:ehl9pg$k3a$1@is.intellij.net...
>>> Great.
>>>
>>>
>>> Thanks.
>>>
>>> ---
>>> Richard
>>>
>>> "Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
>>> message news:ehj17i$51h$1@is.intellij.net...
>>>> This is already implemented in the upcoming release 2.5
>>>>
>>>> --
>>>> Eugene Pasynkov
>>>> Developer
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>> "Richard" <monica.spence@t4g.com> wrote in message
>>>> news:ehinuv$an2$1@is.intellij.net...
>>>>> Hi,
>>>>>
>>>>> I'd like to have the option to format "simple" anonymous methods on
>>>>> one line.
>>>>>
>>>>> Something like:
>>>>> x = delegate { return "asdf"; }
>>>>>
>>>>> Rather than some variation of this:
>>>>> x = delegate
>>>>> {
>>>>> return "asdf";
>>>>> }
>>>>>
>>>>> Thanks.
>>>>>
>>>>> ---
>>>>> Richard
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>