Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 300 forks source link

Commando: Shell Scope: Allow repeat commands #1474

Open th3coop opened 8 years ago

th3coop commented 8 years ago

Short Summary

If I run a command, whether successful or a failure (even more so if it's a failure, incase I made a simple syntactical error), it would be nice to be able to immediately jump back into Commando box in the same context I was just in.

I don't know exactly what the best solution for this wuold be to make it intuitive but I think a good starting point would be, if the user starts typing again then they are likely expecting to enter another command. Given the focus is the command output then I feel the context of typing is still in COmmando. We could make this more clear by still having the commando input still flashing a cursor but the suggestions part of commando collapsed out of view.

ascii art: Commando input

--------------------------------------------------------------
[   >_ ruby -v | # note flashing cursor                    ]
--------------------------------------------------------------
  Note: suggestions  boxes is collapsed, commando output panel is below
       -----------------------------------------------
      |    $ ruby -v                                         |
      |       ruby version *the one you instal  |
      |       led*                                              |
       -----------------------------------------------

In this context, with the output panel still open, and a flashing cursor in the commando input, I would expect that if I start typing:

  1. the output panel would disappear
  2. My cursor focus would return to the Commando input
  3. Commando suggestions relevant to my context would reappear.

Clear as mud right? That's just one way it could be done.

th3coop commented 8 years ago

I knew the formatting wuldn't work...

Defman21 commented 8 years ago

Best ASCII art ever.

Naatan commented 8 years ago

Does this basically boil down to you want the output of the command to show without commando closing?

th3coop commented 8 years ago

I guess. Not exactly. I don't think the command suggestions should be shown. It boils down to, focus should go back to the Commando interface in certain situations.

tonyattwood commented 8 years ago

Hi friend!

I've noticed a great improvement in your work, and I need your opinion about an issue, please take a look http://jozukyslu.whatisfoodinsurance.com/e4cpkujv

Warm regards, tony.attwood