Vs2022 运行终端更改(编译器本地与windows terminal之间互相更改)

进入正题

在这里插入图片描述

这是一个在我们实训做魔塔游戏运行时候出现的bug,每次输入数据都要点到windows terminal 进行输入,及其不方便运行程序;

点击运行框此处

在这里插入图片描述

得到以下界面

在这里插入图片描述

在这里插入图片描述

点击设置 再转到启动项,将右侧配置默认文件下拉

在这里插入图片描述

选择配置文件

一般更改为

在这里插入图片描述

在这里插入图片描述

默认终端应用程序选择Windows控制台主机即可
请添加图片描述点击保存,退出再次运行即可

注:有些电脑可能要更改为命令提示符(根据我在不同电脑实验可得,不同电脑更改的配置可能不一样,所以建议大家都试一下)

GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
06890671 `pathTranslationStyle` has four options: - `none`: Do no translation - `wsl`: Translate `C:\` to `/mnt/c` and `\\wsl$\Foo\bar` to `/bar` - `cygwin`: Translate `C:\` to `/cygdrive/c` - `msys2`: Translate `C:\` to `/c` It is intended as a broadly-supported replacement for us checking the source every time the user drops a path. We no longer need to push the source name all the way down to the control. I am hesitant to commit to using other folks' product names in our settings model, however, these are almost certainly more recognizable than whatever other weird names we could come up with. The Git Bash fragment extension profile could conceivably use `pathTranslationStyle` `msys2` to make sure drag/dropped paths look right. 5 天前
90866c7c The original intent with dynamic profiles was that they could be uninstalled but that Terminal would remember your settings in case they ever came back. After we implemented dynamic profile _deletion_, however, we accidentally made it so that saving your settings after a dynamic profile disappeared scoured it from the planet _forever_ (since we remembered that we generated it, but now it was no longer in the settings file). This pull request implements: - Tracking for orphaned dynamic profiles - A new settings page for the profile that explains what happened - Badging on the Navigation Menu indicating which profiles are orphaned and which are hidden Closes #14061 Closes #11510 Refs #13916 Refs #9997 5 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐