您现在的位置是: 首页 > 杂七杂八 idea去掉Smart commands execution提示

idea去掉Smart commands execution提示

2020-06-16 杂七杂八 3524人已围观 7183次浏览

简介idea去掉Smart commands execution提示

最近idea经常在输入命令之后出现提示

Smart commands execution
Highlighted commands can be interpreted and executed by the IDE in a smart way.
Press Ctrl+Enter to try this, or Enter to run the command in the console as usual.
You can turn this behavior on/off in Preferences | Tools | Terminal. Got it!

本意是好的,引入了智能执行终端命令的功能,在匹配到输入命令后,将其突出显示(当前功能还在测试阶段)

但是在实际的使用过程中,经常提示这个就会很烦人,并且此功能也不是很稳定,如果不想继续看到此类提示,可以通过下面的方法进行禁用

首先在 idea 界面,连按两下 Shift ,出现界面后输入 “registry”,并选择第一个打开注册表窗口

然后找到(没有搜索功能,但是有首字母排序)

terminal.shell.command.handling

将其禁用(就是这一行后面的 Value 列中,去掉勾即可)

之后关闭该窗口即可,即时生效(不用重启 idea)

参考文档

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360008464899-What-s-the-smart-commands-execution

很赞哦! (0)

站长推荐

站点信息

  • 网站地图