RB code formatter comment placement settings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RB code formatter comment placement settings

swcwork

Sorry for potential double post.

 

Given an initial method

 

formattingCheck2

                self yourself.

 

                "bb"

                self yourself.

 

Auto-formatting yields:

 

formattingCheck2

                self yourself "bb".

                self yourself.

 

What setting(s) can I change so that the empty line before the comment is retained, and the comment is not swallowed into the preceding statement?


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Steve Cline
Reply | Threaded
Open this post in threaded view
|

Re: RB code formatter comment placement settings

Boris Popov, DeepCove Labs (SNN)

Steven,

 

This is addressed in latest VisualWorks 7.7.1/7.8 so the below formats as,

 

formattingCheck2

 

                self yourself.

 

                "bb"

                self yourself

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Cline, Steven
Sent: Friday, August 19, 2011 12:52 PM
To: [hidden email]
Subject: [vwnc] RB code formatter comment placement settings

 

Sorry for potential double post.

 

Given an initial method

 

formattingCheck2

                self yourself.

 

                "bb"

                self yourself.

 

Auto-formatting yields:

 

formattingCheck2

                self yourself "bb".

                self yourself.

 

What setting(s) can I change so that the empty line before the comment is retained, and the comment is not swallowed into the preceding statement?


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc