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

Textbox and Dropdown of Last Commands

Open jchannon opened this issue 11 years ago • 3 comments

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?

screen shot 2014-02-21 at 17 06 04

Alternatively you could have a combined textbox/dropdown...

jchannon avatar Feb 21 '14 17:02 jchannon

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.

Acconut avatar Feb 21 '14 21:02 Acconut

Sure, did think about giving it a go but we'll see how I go ;)

jchannon avatar Feb 21 '14 21:02 jchannon

Think this is done now so let me know what you think :smile:

jchannon avatar Feb 22 '14 18:02 jchannon