1. 去掉兼容性运行

右键属性,选择兼容性,点击更改多有用户的设置,去掉“以兼容模式运行这个程序”
在这里插入图片描述

2.在settings.json文件中配置

点击左下角设置,选择一个命令面板
在这里插入图片描述
选择首选项:Open Settings(JSON)
在这里插入图片描述
在打开的文件中输入以下两行代码
在这里插入图片描述
配置代码:

 "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
 "python.jediEnabled": false

最后重启命令行即可输入命令了

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分支:1 个月前 )
494bc5bd Closes #17505 2 天前
36f064cf The settings UI and settings model allow you to set the icon to "none" to hide the icon (you can actually see this effect in the settings UI when changing the value of the profile icon). However, during settings validation, "none" is considered a file path, which is then failed to be parsed, resulting in the icon being marked as invalid and immediately clearing the value. This PR fixes this issue by considering "none" to be an accepted value during validation. Related to #15843 Closes #17943 ## Validation Steps Performed When an icon is set to "none", ... ✅ no more warning ✅ the icon is hidden 2 天前
Logo

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

更多推荐