brackets-nodejs icon indicating copy to clipboard operation
brackets-nodejs copied to clipboard

Quick command use and saved last commands

Open jchannon opened this issue 11 years ago • 5 comments

Attempt at #9.

Beautify also ran against source.

jchannon avatar Feb 22 '14 11:02 jchannon

This is quite a lot, I'll have a look. But I'm not sure yet whether I like the exec-panel's removal.

Acconut avatar Feb 22 '14 19:02 Acconut

To summarize, I've removed the exec modal and put a textbox on the terminal panel.

The terminal can be opened via Alt+T

The last commands are stored in an array up to a max of 10 items

The up and down keys when the textbox has focus will go through the last commands array and populate it with the command. You can then hit enter or click the arrow button to execute it.

jchannon avatar Feb 22 '14 19:02 jchannon

Another option would be to use the new datalists (http://davidwalsh.name/datalist). It's a bit fancier because you can see the last commands and not only navigate through them. What do you think?

Acconut avatar Feb 26 '14 12:02 Acconut

I guess its an option. I did the keyup/down thing to keep it similar to how it works in a Terminal :)

jchannon avatar Feb 26 '14 14:02 jchannon

datalists work with keys up and down, too. I'll try it out and then we can compare :D

Acconut avatar Feb 26 '14 14:02 Acconut