brackets-nodejs
brackets-nodejs copied to clipboard
Textbox and Dropdown of Last Commands
Hi,
Have installed latest update and like the new feature of showing what command just run and refreshing/re-running that command.
I was wondering if on the terminal window we could have a textbox to run the Execute Command feature and then have a dropdown of the last 10 commands that have been run?
Alternatively you could have a combined textbox/dropdown...
I totally agree with you, this is a good idea. I'll add this feature later but you could try it yourself.
You just need to make ConnectionManager.last
an array (https://github.com/Acconut/brackets-nodejs/blob/master/main.js#L66), add event listenrs (https://github.com/Acconut/brackets-nodejs/blob/master/main.js#L248) and add the input fields (https://github.com/Acconut/brackets-nodejs/blob/master/html/panel.html#L5). An alternative to the textbox could be a shortcut to the command panel.
Sure, did think about giving it a go but we'll see how I go ;)
Think this is done now so let me know what you think :smile: