简体   繁体   English

如何在 Visual Studio Code 中生成 output 简单代码?

[英]How do I output simple code in Visual Studio Code?

I have been using freecodecamp and I just want to have a place I can test things and save code.我一直在使用 freecodecamp,我只想有一个地方可以测试东西并保存代码。 I been googling for a while and it seems so complicated I wonder why they don't just have a simple button or tab perhaps this is not something experienced coders want.我在谷歌上搜索了一段时间,它看起来太复杂了,我想知道为什么他们不只有一个简单的按钮或选项卡,也许这不是有经验的编码人员想要的。 Perhaps I should use a more beginner friendly app?也许我应该使用对初学者更友好的应用程序?

So far the best thing I have found is this: Visual Studio Code is not showing the ouput of Python到目前为止,我发现的最好的东西是: Visual Studio Code is not showing the output of Python

I am learning JS btw.我正在学习 JS 顺便说一句。

Thank you for any help.感谢您的任何帮助。

If it's purely JavaScript, you could run it with Node through the console tab in VSC.如果它纯粹是 JavaScript,您可以通过 VSC 中的控制台选项卡使用 Node 运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM