Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the compilers of nodejs

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today Xiaobian to share with you what the nodejs compiler has related knowledge points, detailed content, clear logic, I believe most people still know too much about this knowledge, so share this article for everyone's reference, I hope you have some gains after reading this article, let's learn about it together.

Compilers available for Nodejs: 1. Visual Studio Code, a free lightweight editor and IDE that can be used for Nodejs and ASP.Net development;2. Brackets, which has good support for Nodejs;3. Atom;4. Sublime Text, etc.

This tutorial operating environment: Windows 7 system, nodejs version 12.19.0, DELL G3 computer.

nodejs development tools

1、Visual Studio Code

Visual Studio Code is a free lightweight editor and IDE published by Microsoft. It has Visual Studio components that can be mixed with the open source Atom shell. It provides excellent support for ASP.Net Core development using C#, and it also provides excellent support for Node.js development via TypeScript and JavaScript. Unlike conventions that Visual Studio supports only on Windows, Visual Studio Code also runs on MacOS and Linux.

Visual Studio Code has excellent JavaScript code completion due to the TypeScript compiler and Salsa engine included. Visual Studio Code sends JavaScript code to the TypeScript compiler in the background to infer types and build symbol tables. You can see the hasOwnProperty method information in the box at the bottom of the screen image.

The same symbol table enables IntelliSense to provide you with an excellent pop-up list of options throughout the typing of expressions. You can get auto-close after filling, auto-complete options, auto-method list after typing, and auto-parameter list in methods. You can enhance IntelliSense by adding references to d.ts files from DefinitelyTyped. When you identify common problems (such as using__dirname in Node.js built-in variables), Visual Studio Code will provide you with these features.

Visual Studio Code is a free lightweight editor and IDE for Node.js and ASP.Net development. It combines Microsoft technologies such as TypeScript compiler, Roslyn. Net compiler and Electron shell used by Atom. Visual Studio Code is available for Windows, MacOS and Linux platforms.

Visual Studio Code has excellent Git support and is easy to use. Visual Studio Code debugger provides an excellent debugging experience for Node.js and ASP.Net development. Visual Studio Code has very good HTML, CSS, Less, Sass and JSON tools that are based on the same technologies as Internet Explorer F12 developer tools. In addition, Visual Studio Code allows customizable integration with external task runners such as gulp and jake.

Visual Studio Code has a strong plugin ecosystem, such as Angular and React support. Visual Studio Code is recommended when building applications using JavaScript and TypeScript frameworks and libraries.

Official website link: code.visualstudio.com/

Download address: code.visualstudio.com/Download

2、Brackets

Brackets is a free open source editor originally from Adobe, designed to provide better tools for JavaScript, HTML and CSS and related open Web technologies. Brackets themselves are written in JavaScript, HTML and CSS. In addition to built-in features, Brackets also has an extension manager for extending many languages and tools used by front-end developers. Brackets doesn't run as fast as Sublime Text and TextMate, but it still runs very fast, except for pauses to load or update program content from the network.

Brackets not only has great support for JavaScript, CSS, HTML and Node.js, but it also has some other great features, such as HTML ID related CSS online editing. In addition, Brackets has a clean UI and a live preview of web pages while editing. Brackets are a great choice for free code editors.

Brackets extensions are also written in JavaScript and can be invoked with the Node.js module. Unlike most editors, which display open files in tabs, Brackets has a list of working files displayed above the file tree.

Brackets has great JavaScript auto-completion, auto-filling the closing brackets for all kinds of brackets, and automatic drop-down menus for keywords, variables, and methods after typing $in jQuery methods. Brackets can control Node.js debugger and restart Node from menu items. Brackets make it easy to add extensions for additional functionality (e.g. TypeScript and JSX support, Bower integration and Git integration).

Quick editing, quick document saving, quick file opening, and live previewing all help simplify Web application editing, allowing you to focus on coding or design. Brackets also have some drawbacks, such as some Brackets extensions are difficult to configure, not as easy as Emacs packages or Vim plugins.

Official website link: brackets.io/

Download address: github.com/adobe/brackets/releases/download/release-1.9/Brackets.Release.1.9.msi

3、Atom

Atom 1.15.0 is a free, open-source, programmable editor on GitHub for Windows, MacOS, and Linux platforms, integrated with GitHub applications, and has many packages and themes available.

Atom source code is located on GitHub, written in CoffeeScript and integrated with Node.js. Atom is a special presence of Chromium browser, which is designed as a text editor rather than a Web browser; each Atom window is essentially a natively rendered web page.

When Atom is not automatically updated, performance is very good. It has some great features, such as fuzzy search, quick item search and replacement, multiple cursors and selections, multiple panes, code snippets, code folding, and the ability to import TextMate syntax and themes. Atom can install two command-line utilities: Atom, which launches the editor from the shell, and APM, which manages Atom's packages.

Official website link: atom.io/

Download address: atom.io/download/windows_x64

4、Sublime Text

If you want a flexible, powerful, extensible text editor that runs lightning fast and supports switching to other windows for code review, debugging, and deployment, consider Sublime Text. Sublime plus node plug-ins can be node development.

In addition to speed, Sublime Text has many notable advantages, covering more than 70 file types, including JavaScript, HTML, and CSS; instant navigation and instant project switching; and multiple options.(make a series of changes at once), including column selection (select a rectangular area of the file at once); multi-windows (use all your monitor windows) and split windows; complete customization using simple JSON files; Python-based plug-in APIs; and a unified, searchable command pad.

For programmers using other editors, Sublime Text supports TextMate packages (excluding commands) and Vi / Vim emulation.

Sublime Text is a highly configurable and extensible text editor. It contains more than 50 syntaxes, including JavaScript, which can be extended using Sublime packages and TextMate syntax definitions. It is possible to install syntax and support for Babel (React) and TypeScript (Angular) with a small number of keys.

Sublime Text supports multiple windows, split windows, multiple workspaces, multiple views, and multiple panes containing views per project. When you want to consolidate, debug, and test space, it's pretty easy to use all the screen space. Sublime Text also supports customization of everything: colors, text fonts, global key bindings, tab stops, file-specific key bindings and code snippets, even syntax highlighting rules, and more. Sublime Text's encoding file defaults to a JSON file, and its language definition defaults to XML.

Sublime Text has an active community for creating and maintaining Sublime Text packages and plugins. Many of the features Sublime Text lacks, including JSLint and JSHint interfaces, JsFormat, JsMinify, PrettyJSON, and Git support, can be implemented by the community using Package Installer.

The above is "nodejs compiler what" all the content of this article, thank you for reading! I believe everyone has a great harvest after reading this article. Xiaobian will update different knowledge for everyone every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report