The editor supports writing in multiple languages and file formats. As of September 2019, it has supported the following 37 languages or files: F#, HandleBars, Markdown, Python, Jade , PHP, Haxe, Ruby, Sass, Rust, PowerShell, Groovy, R, Makefile, HTML, JSON, TypeScript, Batch, Visual Basic, Swift, Less, SQL, XML, Lua, Go, C, Ini, Razor, Clojure, C#, Objective-C, CSS, JavaScript, Perl, Coffee Script, Java, Dockerfile.
Let’s take a look at how the js program is output in the vscode console:
There is a plug-in in VS Code - code runner, which can be installed and run directly in the node environment, and then The result of output file in vscode.
(Recommended: How to configure the plug-in for vscode)
Right-click in the test.js file and select Run Code or the upper right corner of the editor Click the square run button to run the file, and the results are output in the output column.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to output js program in vscode console. For more information, please follow other related articles on the PHP Chinese website!