Home > Development Tools > VSCode > body text

How to output js program in vscode console

Release: 2020-01-10 14:53:23
Original
9594 people have browsed it

How to output js program in vscode console

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)

How to output js program in vscode console

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.

How to output js program in vscode console 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template