Writing [[[ in a class comment

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

Writing [[[ in a class comment

abergel
Hi!

I am trying to follow Peter’s coding convention and writing some pillar code in a class comment. However, currently, it is a bit cumbersome. If I type three times the key ‘[‘ and press enter I have:

[ [ [
                         ] ] ]


Is there a way to have
[[[
        |<— cursor here ?
]]]

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Writing [[[ in a class comment

Peter Uhnak
Thanks for pointing this out, I didn't even notice it's adding spaces... should be easy to fix automatically though.

Also I vaguely remember that this used to be hard-coded somewhere, but I have no idea where it's in Rubric.
Maybe its worth to add an issue to Pharo's issue tracker.

Peter

On Fri, Sep 4, 2015 at 11:48 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

I am trying to follow Peter’s coding convention and writing some pillar code in a class comment. However, currently, it is a bit cumbersome. If I type three times the key ‘[‘ and press enter I have:

[ [ [
                         ] ] ]


Is there a way to have
[[[
        |<— cursor here ?
]]]

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.