如何隐藏 Java 编译器路径 VSCode? [英] How can you hide Java compiler path VSCode?

查看:42
本文介绍了如何隐藏 Java 编译器路径 VSCode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 vscode 的集成终端中运行 java 程序时,完整的 java 路径显示为一个大文本框.有什么办法可以解决这个问题吗?

When I run a java program in vscode's integrated terminal, the full java path displays as a large box of text. Is there any way to get ride of this?

/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java --enable-preview -Dfile.encoding=UTF-8 -cp "/Users/myusername/Library/Application Support/Code/User/workspaceStorage/alotofnumbers/redhat.java/jdt_ws/foldername/bin"

/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java --enable-preview -Dfile.encoding=UTF-8 -cp "/Users/myusername/Library/Application Support/Code/User/workspaceStorage/alotofnumbers/redhat.java/jdt_ws/foldername/bin"

推荐答案

转到 File->Preferences->Settings 并搜索此文本 Java › Debug › Settings: Console 然后选择 内部控制台.

Go to File->Preferences->Settings and search this text Java › Debug › Settings: Console then select internalConsole.

查看 DEBUG CONSOLE 的输出.

这篇关于如何隐藏 Java 编译器路径 VSCode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆