brackets-nodejs
brackets-nodejs copied to clipboard
Quick command use and saved last commands
Attempt at #9.
Beautify also ran against source.
This is quite a lot, I'll have a look. But I'm not sure yet whether I like the exec-panel's removal.
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.
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?
I guess its an option. I did the keyup/down thing to keep it similar to how it works in a Terminal :)
datalists work with keys up and down, too. I'll try it out and then we can compare :D