Visual D 0.3.26 released

Alex Rønne Petersen xtzgzorex at gmail.com
Fri Aug 26 00:58:01 PDT 2011


On 26-08-2011 09:20, Rainer Schuetze wrote:
>
>
> On 25.08.2011 15:34, Alex Rønne Petersen wrote:
>> On 25-08-2011 09:28, Rainer Schuetze wrote:
>>> Hi,
>>>
>>> I'd like to announce the release of a new version of Visual D:
>>>
>>> 2011-08-25 Version 0.3.26
>>> [...]
>>
>> One question:
>>
>>> * fixed bad indentation of first contract
>>
>> What exactly does this fix? Can you give an example?
>
> reindenting a function with contracts used to produce something like this:
>
> int foo(int x)
> in
> {
> assert(x > 0);
> }
> body
> {
> return -x;
> }
>
> Now, the in contract is aligned with the function declaration and the body:
>
>
> int foo(int x)
> in
> {
> assert(x > 0);
> }
> body
> {
> return -x;
> }

Oh, great! It seems that it still happens while you type out the 
function, though. Can anything be done about that?

- Alex


More information about the Digitalmars-d-ide mailing list