使用命名终端启动 VScode 并准备启动命令
每次我打开包含多个项目的 vsCode 项目时,我都需要打开多个终端并使用命令“yarn
我有两个问题:
- 有没有办法打开预定义的终端列表,并为每个项目预定义名称。
- 有没有办法在每个终端中输入命令,无论是否启动命令。
感谢您的帮助!
Everytime I open my vsCode project with multiple projects inside, I need to open multiple terminals and use the command "yarn <project_name>:start". I also rename them with the project name because they all have the name name by default (powershell in my case, then node when the command is launched).
I have 2 questions:
- Is there a way to open a predefined list of terminals with a predefined name for each project.
- Is there a way to input the command in each terminal with or without lauching the command.
Thank you for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 vscode 任务,我能够添加 2 个任务,并在每次打开工作区时自动激活的另一个任务中将它们一起调用。
Using vscode tasks, I was able to add 2 tasks and call them together in another tasks that activates automatically on everytime I open the workspace.