Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
453 posts
|
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! |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2019 posts
|
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:
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
453 posts
|
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:
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1347 posts
|
2015-02-17 21:53 GMT+01:00 sergio_101 <[hidden email]>:
Settings browser -> Refactoring Engine -> Configurable Formatter
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
453 posts
|
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:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
5777 posts
|
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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2019 posts
|
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. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
7582 posts
|
In reply to this post by Sean P. DeNigris
it is on the TODO… Marcus
|
Free forum by Nabble | Edit this page |