my pretty print is acting much differently than it used to. it seems to be breaking every statement into a separate line. at some point, i remember being able to adjust this via some system settings, but i am not finding that anymore. is this called something different now, or am i just not understanding how it works? thanks! |
Hi, what version are you using? I see it in the settings under Code Browsing > Pretty Printing. Peter On Tue, Feb 17, 2015 at 3:17 PM, sergio_101 <[hidden email]> wrote:
|
i am using pharo 3.. i don't see many options under pretty printing.. especially when dealing with cascading... hmmm... On Tue Feb 17 2015 at 10:35:58 AM Peter Uhnák <[hidden email]> wrote:
|
2015-02-17 21:53 GMT+01:00 sergio_101 <[hidden email]>:
Settings browser -> Refactoring Engine -> Configurable Formatter
|
found it! thanks!.. i dunno why i couldn't find it before... thanks again! On Tue Feb 17 2015 at 4:05:48 PM Nicolai Hess <[hidden email]> wrote:
|
Administrator
|
In reply to this post by Nicolai Hess
In 4.0 these settings have apparently been moved to Settings browser -> Code Browsing -> Pretty Printing. BTW two questions: 1. are these only applied if you click "format" from a source pane's context menu or is there another way (e.g. automatically on method save)? 2. Is there a way to view the source pretty-printed without dirtying the source? I feel like there used to be an obvious option... maybe in the old browser? Thanks.
Cheers,
Sean |
BTW two questions: There is shortcut (ctrl+shift+f on linux, couple people mentioned it being broken on Mac). There was some discussion about it being formatted when writing, but that has yet to be thought through and implemented (afaik). 2. Is there a way to view the source pretty-printed without dirtying the You could probably feed the source to RBConfigurableFormatter (or whatever the object name is), however I'm not aware of any pretty viewer. |
In reply to this post by Sean P. DeNigris
it is on the TODO… Marcus
|
Free forum by Nabble | Edit this page |