[Pharo-dev] fixing 'format on display' and 'format on accept'

2014-11-04 Thread Paul DeBruicker
Hi -

I'm going to get 'format on display' and 'format on accept' working in 
Nautilus.  In Pharo 3 in the settings browser under 'code browsing'  there is a 
'pretty print' check box.  As far as I can tell it doesn't affect code 
displaying at all in Nautilus.  


Is it OK to repurpose that checkbox as a control for 'format on display' and to 
also add a check box right there for 'format on accept' ?  If not what would be 
better?  


Thanks

Paul


Re: [Pharo-dev] fixing 'format on display' and 'format on accept'

2014-11-04 Thread Paul DeBruicker
Slice is in the Pharo30Inbox

https://pharo.fogbugz.com/f/cases/14387/ressurrect-format-on-accept-and-format-on-display

It uses the settings browser as described below and auto-formats methods (on
display or accept or both) in Nautilus and the senders/implementors browser.




Paul DeBruicker wrote
> Hi -
> 
> I'm going to get 'format on display' and 'format on accept' working in
> Nautilus.  In Pharo 3 in the settings browser under 'code browsing'  there
> is a 'pretty print' check box.  As far as I can tell it doesn't affect
> code displaying at all in Nautilus.  
> 
> 
> Is it OK to repurpose that checkbox as a control for 'format on display'
> and to also add a check box right there for 'format on accept' ?  If not
> what would be better?  
> 
> 
> Thanks
> 
> Paul





--
View this message in context: 
http://forum.world.st/fixing-format-on-display-and-format-on-accept-tp4788392p4788410.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] fixing 'format on display' and 'format on accept'

2014-11-05 Thread Marcus Denker

> On 04 Nov 2014, at 20:25, Paul DeBruicker  wrote:
> 
> Slice is in the Pharo30Inbox
> 
> https://pharo.fogbugz.com/f/cases/14387/ressurrect-format-on-accept-and-format-on-display
> 
> It uses the settings browser as described below and auto-formats methods (on
> display or accept or both) in Nautilus and the senders/implementors browser.
> 

Nice! We should forward port that to Pharo4, too.
(I cleaned up the setting a lot… we should not add new dependencies on 
CodeHolder,
and I already merged all the CodeHolderSystemSettings into the classes they 
where
manipulating (or removed them).

For Pharo3 I guess it can be ok to reuse the CodeHolder stuff (there are 
already many
dependencies everywhere to it).

Marcus




Re: [Pharo-dev] fixing 'format on display' and 'format on accept'

2014-11-07 Thread stepharo

I like the idea because I would like to have all the code reformatted.

Stef
On 4/11/14 18:09, Paul DeBruicker wrote:

Hi -

I'm going to get 'format on display' and 'format on accept' working in 
Nautilus.  In Pharo 3 in the settings browser under 'code browsing'  there is a 
'pretty print' check box.  As far as I can tell it doesn't affect code 
displaying at all in Nautilus.


Is it OK to repurpose that checkbox as a control for 'format on display' and to 
also add a check box right there for 'format on accept' ?  If not what would be 
better?


Thanks

Paul






Re: [Pharo-dev] fixing 'format on display' and 'format on accept'

2014-12-04 Thread Otto Behrens
Hi,

We just upgraded to Pharo 3 (after using pharo 1.4 for a looong time).
I'm a bit new to some things, so pardon my ignorance.

We're so used to auto formatting the code, it drives us nuts not to have it.

I eventually figured out that the Pharo30 inbox is here:
http://smalltalkhub.com/mc/Pharo/Pharo30Inbox/main.

Is a slice is something I can "patch in"? How do I get hold of this?

Thanks a lot
Otto

On Tue, Nov 4, 2014 at 9:25 PM, Paul DeBruicker  wrote:
> Slice is in the Pharo30Inbox
>
> https://pharo.fogbugz.com/f/cases/14387/ressurrect-format-on-accept-and-format-on-display
>
> It uses the settings browser as described below and auto-formats methods (on
> display or accept or both) in Nautilus and the senders/implementors browser.
>
>
>
>
> Paul DeBruicker wrote
>> Hi -
>>
>> I'm going to get 'format on display' and 'format on accept' working in
>> Nautilus.  In Pharo 3 in the settings browser under 'code browsing'  there
>> is a 'pretty print' check box.  As far as I can tell it doesn't affect
>> code displaying at all in Nautilus.
>>
>>
>> Is it OK to repurpose that checkbox as a control for 'format on display'
>> and to also add a check box right there for 'format on accept' ?  If not
>> what would be better?
>>
>>
>> Thanks
>>
>> Paul
>
>
>
>
>
> --
> View this message in context: 
> http://forum.world.st/fixing-format-on-display-and-format-on-accept-tp4788392p4788410.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>



Re: [Pharo-dev] fixing 'format on display' and 'format on accept'

2014-12-04 Thread Marcus Denker

> On 04 Dec 2014, at 10:41, Otto Behrens  wrote:
> 
> Hi,
> 
> We just upgraded to Pharo 3 (after using pharo 1.4 for a looong time).
> I'm a bit new to some things, so pardon my ignorance.
> 
> We're so used to auto formatting the code, it drives us nuts not to have it.
> 
> I eventually figured out that the Pharo30 inbox is here:
> http://smalltalkhub.com/mc/Pharo/Pharo30Inbox/main.
> 
> Is a slice is something I can "patch in"? How do I get hold of this?
> 

-> opem Monticello Browser
-> open inbox
-> search for 14387
-> “Merge” (not load).

> Thanks a lot
> Otto
> 
> On Tue, Nov 4, 2014 at 9:25 PM, Paul DeBruicker  wrote:
>> Slice is in the Pharo30Inbox
>> 
>> https://pharo.fogbugz.com/f/cases/14387/ressurrect-format-on-accept-and-format-on-display
>> 
>> It uses the settings browser as described below and auto-formats methods (on
>> display or accept or both) in Nautilus and the senders/implementors browser.
>> 
>> 
>> 
>> 
>> Paul DeBruicker wrote
>>> Hi -
>>> 
>>> I'm going to get 'format on display' and 'format on accept' working in
>>> Nautilus.  In Pharo 3 in the settings browser under 'code browsing'  there
>>> is a 'pretty print' check box.  As far as I can tell it doesn't affect
>>> code displaying at all in Nautilus.
>>> 
>>> 
>>> Is it OK to repurpose that checkbox as a control for 'format on display'
>>> and to also add a check box right there for 'format on accept' ?  If not
>>> what would be better?
>>> 
>>> 
>>> Thanks
>>> 
>>> Paul
>> 
>> 
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://forum.world.st/fixing-format-on-display-and-format-on-accept-tp4788392p4788410.html
>> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>> 
> 




Re: [Pharo-dev] fixing 'format on display' and 'format on accept'

2014-12-04 Thread Otto Behrens
Thanks a lot. Phew, that was difficult. :-)

On Thu, Dec 4, 2014 at 12:55 PM, Marcus Denker  wrote:
>
>> On 04 Dec 2014, at 10:41, Otto Behrens  wrote:
>>
>> Hi,
>>
>> We just upgraded to Pharo 3 (after using pharo 1.4 for a looong time).
>> I'm a bit new to some things, so pardon my ignorance.
>>
>> We're so used to auto formatting the code, it drives us nuts not to have it.
>>
>> I eventually figured out that the Pharo30 inbox is here:
>> http://smalltalkhub.com/mc/Pharo/Pharo30Inbox/main.
>>
>> Is a slice is something I can "patch in"? How do I get hold of this?
>>
>
> -> opem Monticello Browser
> -> open inbox
> -> search for 14387
> -> “Merge” (not load).
>
>> Thanks a lot
>> Otto
>>
>> On Tue, Nov 4, 2014 at 9:25 PM, Paul DeBruicker  wrote:
>>> Slice is in the Pharo30Inbox
>>>
>>> https://pharo.fogbugz.com/f/cases/14387/ressurrect-format-on-accept-and-format-on-display
>>>
>>> It uses the settings browser as described below and auto-formats methods (on
>>> display or accept or both) in Nautilus and the senders/implementors browser.
>>>
>>>
>>>
>>>
>>> Paul DeBruicker wrote
 Hi -

 I'm going to get 'format on display' and 'format on accept' working in
 Nautilus.  In Pharo 3 in the settings browser under 'code browsing'  there
 is a 'pretty print' check box.  As far as I can tell it doesn't affect
 code displaying at all in Nautilus.


 Is it OK to repurpose that checkbox as a control for 'format on display'
 and to also add a check box right there for 'format on accept' ?  If not
 what would be better?


 Thanks

 Paul
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: 
>>> http://forum.world.st/fixing-format-on-display-and-format-on-accept-tp4788392p4788410.html
>>> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>>>
>>
>
>