I want to remove the directory and file details while i run the program :
我想在运行程序时删除目录和文件详细信息:
cd "/Users/purnendubikashjana/Visual_Studio/Preparation-Java/" && javac armstrong.java && java armstrong
🅟 🅑 🅙 ₹ Preparation-Java ₿ cd "/Users/purnendubikashjana/Visual_Studio/Prepa
ration-Java/" && javac armstrong.java && java armstrong
371 is an Armstrong number.
1634 is an Armstrong number.
I want a clean terminal like below :
我想要一个干净的终端,如下所示:
🅟 🅑 🅙 ₹ Preparation-Java ₿
371 is an Armstrong number.
1634 is an Armstrong number.
Is it possible to get like this terminal in VS Code in Java or any other languages ??
有可能在VS代码中用Java或任何其他语言得到这样的终端吗?
Kindly see the attached image for reference.
请看附件中的图片以供参考。
更多回答
I don't think what you want is easily possible. VS Code is showing the commands that are run, as if you had typed those yourself.
我认为你想要的不是那么容易实现的。VS代码显示正在运行的命令,就像是您自己键入的一样。
@ryanwebjackson yeah... but is it possible to clean vs code terminal as i said ??
@ryanwebjackson是的……但有没有可能像我说的那样清理VS代码终端?
I assume you'd have to have access to the source code of the extension that you're using, or write your own, so that you can add that conditional logic for Terminal output display.
我假设您必须能够访问您正在使用的扩展的源代码,或者编写您自己的扩展,这样您就可以为终端输出显示添加条件逻辑。
@starball not yet.... and whoever is not getting my question and mark as not useful kindly read my question and see attached screen shot carefully then mark as useful or not. Don't go blindly. Thank You.
@Starball还没有...谁没有得到我的问题和标记为无用,请阅读我的问题,并仔细查看附件的屏幕截图,然后标记为有用或无用。不要盲目地走。谢谢。
优秀答案推荐
This is how vscode works - use shell commands. If you must change, you can use the Code Runner extension, then add the following settings, Run Code
executes the program.
这就是vscode的工作原理--使用外壳命令。如果必须更改,可以使用代码运行器扩展,然后添加以下设置,运行代码执行程序。
"code-runner.runInTerminal": false,
"code-runner.clearPreviousOutput": true,
"code-runner.showExecutionMessage": false,
更多回答
yeah... but i want the folder name like ... 🅟 🅑 🅙 ₹ Preparation-Java ₿ Hello world!
是啊.。但我想要的文件夹名像...🅟🅑🅙₹Preparation-JAVA₿Hello World!
Why is there such a need? Perhaps you can submit your feature request in vscode GitHub.
为甚麽有此需要呢?或许您可以在vscode GitHub中提交您的功能请求。
yeah already did... and need because of clean terminal and extra occupied spaces... maybe not exactly needed for someone... but while i work on split screen the terminal goes small and the prompt directory name takes almost the space after every run.
是的已经做了..。和需要,因为干净的航站楼和额外占用的空间。也许对某些人来说并不是很需要。但当我在拆分屏幕上工作时,终端变得很小,提示目录名称几乎在每次运行后都占据了空间。
You can share the link here so more people will know what's going on.
你可以在这里分享链接,这样更多的人就会知道发生了什么。
我是一名优秀的程序员,十分优秀!