Hi, I have this idea of typing a method in a Browser and have another code area in the same browser where the method test is "automagically generated". This is, divide the current method pane in two: One for the method being written itself, and another for its test, where at least the method selector could be autogenerated by writing testXXXX Of course being able to jump to the method test would be super nice! (and with a keyboard shortcut). This reminds myself to write the method now instead of forget it forever. Any hints to make this happen in Calypso? Cheers, Hernán |
Ok, any hint to split the code area in Calypso at least? Salut! Hernán El mié., 25 sept. 2019 a las 1:06, Hernán Morales Durand (<[hidden email]>) escribió:
|
In reply to this post by hernanmd
Hernán Morales Durand
<[hidden email]> wrote: > Hi, > > I have this idea of typing a method in a Browser and have another code area > in the same browser where the method test is "automagically generated". > > This is, divide the current method pane in two: One for the method being > written itself, and another for its test, where at least the method > selector could be autogenerated by writing testXXXX When do you find that useful? I have only a very small number of test cases where the name of the test is that of the method. Stephan |
In reply to this post by hernanmd
I clearly understand your issue of having ways to show more code on the screen (at least that is how I interpret the issue). Here are a few tricks I only learned recently, and which has helped me live with what is in the standard image. Double clicking on a code tab maximises the code window, double clicking it again brings it back to normal. Double clicking on a method name opens a new browser with the method selected (same works for the other 3 browser panes). This allow me to work with more code on the screen, and fewer lists. I am on mac, using pharo 8. Best, Kasper On 1 October 2019 at 06.35.02, Hernán Morales Durand ([hidden email]) wrote:
|
In reply to this post by hernanmd
Hi Hernan. Sorry for late response (noticed mail just now). First try to implement just another browser tab which will show you covering test or allow to create one. Check for example how extra tab with test setup is done. Then there is a feature in the tab manager to show multiple tabs at same time. On the MacOS it is done by cmd+click on the tab header. Maybe it will be enough for your idea. Best regards, Denis ср, 25 сент. 2019 г., 5:07 Hernán Morales Durand <[hidden email]>:
|
On 4 October 2019 at 10.09.25, Denis Kudriashov ([hidden email]) wrote:
You are my hero of the day!!! |
In reply to this post by Denis Kudriashov
I read so many explanations how you can do stuff with mouse, cmd click ir whatever. How can I figure out that on my own? If it is hidden it is pretty useless. Norbert
|
On 4 October 2019 at 12.39.56, Norbert Hartl ([hidden email]) wrote:
👍 |
Administrator
|
In reply to this post by NorbertHartl
NorbertHartl wrote
> I read so many explanations how you can do stuff with mouse, cmd click ir > whatever. How can I figure out that on my own? If it is hidden it is > pretty useless. This is a very important point. Since we have commander, shouldn't it be relatively straightforward to show a window with all the commands/shortcuts/mouse-gestures? IIRC we had something like this in the past. ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Cheers,
Sean |
Administrator
|
In reply to this post by Kasper Osterbye
Kasper Osterbye wrote
> Double clicking on a code tab maximises the code window, double clicking > it again brings it back to normal. This is cool - and seems to be new for Pharo 8. It does nothing in my 7.0.3 image. Kasper Osterbye wrote > Double clicking on a method name opens a new browser with the method > selected (same works for the other 3 browser panes). Ah, nice one! ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Cheers,
Sean |
In reply to this post by Stephan Eggermont-3
Hi Stephan El vie., 4 oct. 2019 a las 4:40, Stephan Eggermont (<[hidden email]>) escribió: Hernán Morales Durand Actually I don't care too much about the test name, but it would be super for me to have a side code pane (IN the same browser window) to remember to write/update the current method test. It is more an usability issue. Hernán |
In reply to this post by Denis Kudriashov
Hi Denis, El vie., 4 oct. 2019 a las 5:09, Denis Kudriashov (<[hidden email]>) escribió:
Cool!! Well structured!
That deserves a lot of points :) Thank you for sharing!
I will keep you noticed Hernán
|
Well, it took some time but I created an issue and dirty implementation proposal: Cheers, Hernán El mié., 9 oct. 2019 a las 1:57, Hernán Morales Durand (<[hidden email]>) escribió:
|
Free forum by Nabble | Edit this page |