简体   繁体   中英

Get last command in VSCode terminal

I want to get the last command line in terminal that I wrote. In cases when I need to run the same line but to change a few words. In ex:

python manage.py startapp firstapp

and then I need also the same command:

python manage.py startapp secondapp

How to find this shortcut in keyboard Shortcuts in Preferences so that I don't have to type the whole thing again? Not sure how it's officially called. I found some that are Terminal: Select to Previous Command and Scroll to Previous Command.

向上箭头键始终使所有您最后写入的命令

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM