ALT+F12快捷打开terminal窗口

 

使用idea的Terminal终端中使用mvn命令时,无法找到命令。网上找到解决方式如下:

1.修改File->setting>Terminal 》将shell path 修改为系统cmd.exe命令位置(一般是c盘windows/system32)

2.修改cmd 命令,关闭最新特性,启用旧特性,重启idea(重启idea方法找到file  --invalidate cache/restart 进入重启窗口)

3.添加M2_HOME,说是有些工程无法识别MAVEN_HOME路径(这个有点不知为啥)

4、你idea安装目录+\plugins\maven\lib\maven3\bin    复制到系统环境变量path里

5、重启电脑

OK 打开terminal窗口 输入mvn有效果了

 

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 个月前 )
d04381ec "HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme. 6 天前
e83434ff Turns out that having the styles for the KeyChordText and ParsedCommandLineText be empty for high contrast mode caused the issue. Since we're already using theme resources for the colors, we automatically adjust properly to whatever the high contrast theme is (Thanks XAML!). Bonus points: - we didn't need the theme dictionaries anymore, so I just moved them to the ResourceDictionary directly - ParsedCommandLineTextBlockStyle isn't used. So I removed it altogether. Validated command palette with multiple high contrast themes. See PR thread for demo. Closes #17914 6 天前
Logo

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

更多推荐