Text Indentation in Pharo editor
Hi, in most code editors I know one can select a (multiline) block of code/text and then hit TAB to indent and move it from the position to the right side. Using SHIFT+TAB one can move it back to the left. In Pharo the selected text unfortunately is always deleted instead of moved/indented when hitting TAB. Is such an editor mode or special key combination available? If not could this easily be brought into the current text/code editor(s) in Pharo 7? Or will a possible upcoming Bloc text/code editor support such behavior? This would be really nice to have and move Pharo editor away from being like Notepad. Because editors in Eclipse, NetBeans, VS, Brackets, Atom, Notepad++ all support this TAB Indentation out of the box. ;) Thanks T.
2017-12-07 16:19 GMT+01:00 Torsten Bergmann <astares@gmx.de>:
Hi,
in most code editors I know one can select a (multiline) block of code/text and then hit TAB to indent and move it from the position to the right side.
Using SHIFT+TAB one can move it back to the left. In Pharo the selected text unfortunately is always deleted instead of moved/indented when hitting TAB.
Is such an editor mode or special key combination available? If not could this easily be brought into the current text/code editor(s) in Pharo 7? Or will a possible upcoming Bloc text/code editor support such behavior?
Ctrl + Shift + L or Ctrl + Shift + R -- Pavel
This would be really nice to have and move Pharo editor away from being like Notepad. Because editors in Eclipse, NetBeans, VS, Brackets, Atom, Notepad++ all support this TAB Indentation out of the box. ;)
Thanks T.
Pavel Krivanek-3 wrote
Ctrl + Shift + L or Ctrl + Shift + R
Mac: Cmd + ⦠----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
Hi Pavel, so we do it with different shortcuts than regular editors - but at least it is there. Thanks for the hint! Bye T.   Gesendet: Donnerstag, 07. Dezember 2017 um 16:22 Uhr Von: "Pavel Krivanek" <pavel.krivanek@gmail.com> An: "Pharo Development List" <pharo-dev@lists.pharo.org> Betreff: Re: [Pharo-dev] Text Indentation in Pharo editor  2017-12-07 16:19 GMT+01:00 Torsten Bergmann <astares@gmx.de[mailto:astares@gmx.de]>:Hi, in most code editors I know one can select a (multiline) block of code/text and then hit TAB to indent and move it from the position to the right side. Using SHIFT+TAB one can move it back to the left. In Pharo the selected text unfortunately is always deleted instead of moved/indented when hitting TAB. Is such an editor mode or special key combination available? If not could this easily be brought into the current text/code editor(s) in Pharo 7? Or will a possible upcoming Bloc text/code editor support such behavior?  Ctrl + Shift + L or Ctrl + Shift + R  -- Pavel This would be really nice to have and move Pharo editor away from being like Notepad. Because editors in Eclipse, NetBeans, VS, Brackets, Atom, Notepad++ all support this TAB Indentation out of the box. ;) Thanks T. Â
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;) ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
On 8 December 2017 at 11:37, Sean P. DeNigris <sean@clipperadams.com> wrote:
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;)
We should be different if there is a good reason, but where possible (especially on UI interface) we should align with the majority. I feel this case is the latter. cheers -ben
I would love to have Ctrl E and Ctrl A. And yes we should not be different for the sake of it. For the moment the reason is simple: we are full of work and even more. FYI: I'm starting at regular crash of the VM and regular superbad behavior of the debugger (like hundred of debuggers, like spawing many process) there is a really bad problem there. Setf On Fri, Dec 8, 2017 at 10:52 AM, Ben Coman <btc@openinworld.com> wrote:
On 8 December 2017 at 11:37, Sean P. DeNigris <sean@clipperadams.com> wrote:
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;)
We should be different if there is a good reason, but where possible (especially on UI interface) we should align with the majority. I feel this case is the latter.
cheers -ben
Hi Stef, Do you get the debugger issue even in a plain Pharo image? Doru
On Dec 8, 2017, at 3:40 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
I would love to have Ctrl E and Ctrl A. And yes we should not be different for the sake of it. For the moment the reason is simple: we are full of work and even more.
FYI: I'm starting at regular crash of the VM and regular superbad behavior of the debugger (like hundred of debuggers, like spawing many process) there is a really bad problem there.
Setf
On Fri, Dec 8, 2017 at 10:52 AM, Ben Coman <btc@openinworld.com> wrote:
On 8 December 2017 at 11:37, Sean P. DeNigris <sean@clipperadams.com> wrote:
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;)
We should be different if there is a good reason, but where possible (especially on UI interface) we should align with the majority. I feel this case is the latter.
cheers -ben
-- www.tudorgirba.com www.feenk.com "Don't give to get. Just give."
Am 08.12.2017 um 21:24 schrieb Tudor Girba <tudor@tudorgirba.com>:
Hi Stef,
Do you get the debugger issue even in a plain Pharo image?
I do Norbert
Doru
On Dec 8, 2017, at 3:40 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
I would love to have Ctrl E and Ctrl A. And yes we should not be different for the sake of it. For the moment the reason is simple: we are full of work and even more.
FYI: I'm starting at regular crash of the VM and regular superbad behavior of the debugger (like hundred of debuggers, like spawing many process) there is a really bad problem there.
Setf
On Fri, Dec 8, 2017 at 10:52 AM, Ben Coman <btc@openinworld.com> wrote:
On 8 December 2017 at 11:37, Sean P. DeNigris <sean@clipperadams.com> wrote:
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;)
We should be different if there is a good reason, but where possible (especially on UI interface) we should align with the majority. I feel this case is the latter.
cheers -ben
-- www.tudorgirba.com www.feenk.com
"Don't give to get. Just give."
I think so too. Yesterday we got a crazy stuff spawning UI processes like hell. In fact I have the impression that a crazy progress is running from time to time. I wonder if it is not linked to tests. Stef On Sat, Dec 9, 2017 at 7:48 AM, Norbert Hartl <norbert@hartl.name> wrote:
Am 08.12.2017 um 21:24 schrieb Tudor Girba <tudor@tudorgirba.com>:
Hi Stef,
Do you get the debugger issue even in a plain Pharo image?
I do
Norbert
Doru
On Dec 8, 2017, at 3:40 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
I would love to have Ctrl E and Ctrl A. And yes we should not be different for the sake of it. For the moment the reason is simple: we are full of work and even more.
FYI: I'm starting at regular crash of the VM and regular superbad behavior of the debugger (like hundred of debuggers, like spawing many process) there is a really bad problem there.
Setf
On Fri, Dec 8, 2017 at 10:52 AM, Ben Coman <btc@openinworld.com> wrote:
On 8 December 2017 at 11:37, Sean P. DeNigris <sean@clipperadams.com> wrote:
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;)
We should be different if there is a good reason, but where possible (especially on UI interface) we should align with the majority. I feel this case is the latter.
cheers -ben
-- www.tudorgirba.com www.feenk.com
"Don't give to get. Just give."
On 8 Dec 2017, at 15:40, Stephane Ducasse <stepharo.self@gmail.com> wrote:
I would love to have Ctrl E and Ctrl A. And yes we should not be different for the sake of it. For the moment the reason is simple: we are full of work and even more.
FYI: I'm starting at regular crash of the VM and regular superbad behavior of the debugger (like hundred of debuggers, like spawing many process) there is a really bad problem there.
Setf
On Fri, Dec 8, 2017 at 10:52 AM, Ben Coman <btc@openinworld.com> wrote:
On 8 December 2017 at 11:37, Sean P. DeNigris <sean@clipperadams.com> wrote:
Torsten Bergmann wrote
so we do it with different shortcuts than regular editors
I wonder if it makes sense to allow the standard shortcut. The current one is a bit like playing twister ;)
We should be different if there is a good reason, but where possible (especially on UI interface) we should align with the majority.
+1000 this is my work motto, and what Iâm trying to do with my work on Pharo every day :) and of course, lot of work is still needed.
I feel this case is the latter.
agreed. Esteban
cheers -ben
participants (8)
-
Ben Coman -
Esteban Lorenzano -
Norbert Hartl -
Pavel Krivanek -
Sean P. DeNigris -
Stephane Ducasse -
Torsten Bergmann -
Tudor Girba