JavaScript / TypeScript

About

Javascriptarrow-up-right (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.

While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB, and Adobe Acrobat.

JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.

Installation

Change enable from False to True in the javascript section (cf module installation).

circle-info

For more details read the official documentation for JavaScriptarrow-up-right and TypeScriptarrow-up-right.

Requirements

This module doesn’t work out of the box. You must configure eslintarrow-up-right (extension dbaeumer.vscode-eslintarrow-up-right) for each project for it works properly.

VSCode

VSCode extensions

VisualStudioExptTeam.vscodeintellicode

This extensionarrow-up-right provides AI-assisted development features for JavaScript/TypeScript.

dbaeumer.vscode-eslint

ESLintarrow-up-right support inside VS Code.

circle-info

This extension doesn’t work out of the box. You must configure it for each project for this extension to work properly.

Please read the documentationarrow-up-right.

ESLint

esbenp.prettier-vscode

Prettierarrow-up-right is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

eg2.vscode-npm-script

This extensionarrow-up-right running npm scripts defined in the package.json file and validating the installed modules against the dependencies defined in the package.json.

xabikos.JavaScriptSnippets

This extensionarrow-up-right contains code snippets for JavaScript in ES6 syntax for Vs Code editor.

leizongmin.node-module-intellisense

This extensionarrow-up-right autocompletes JavaScript / TypeScript modules in import statements.

christian-kohler.npm-intellisense

This extensionarrow-up-right autocompletes filenames.

christian-kohler.path-intellisense

This extensionarrow-up-right autocompletes npm modules in import statements.

msjsdiag.debugger-for-chrome

This extensionarrow-up-right allows you to debug your JavaScript code in the Chrome browser or any other target that supports the Chrome Debugger protocol.

wix.vscode-import-cost

This extensionarrow-up-right allow to debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome Debugger protocol.

WallabyJs.quokka-vscode

Quokka.jsarrow-up-right is a developer productivity tool for rapid JavaScript / TypeScript prototyping. Runtime values are updated and displayed in your IDE next to your code, as you type.

sketchbuch.vsc-quokka-statusbar

This extensionarrow-up-right adds buttons to the status bar in Visual Studio Code (VSC) to control Quokka.

hbenl.vscode-mocha-test-adapter

This extensionarrow-up-right allows you to run your Mochaarrow-up-right tests using the Test Explorer UIarrow-up-right.

VSCode settings

Global settings

VSCode keybindings

No keybindingsarrow-up-right.

Software

Windows software

scoop

Linux software

brew

MacOS software

brew

Documentation

VSCode-Anywhere

Environment

Windows environment

circle-info

Assuming you have installed in the default directory C:\VSCode-Anywhere.

Specific settings

npm_bin

Path of the npm binary.

  • Windows:

circle-info

Assuming you have installed in the default directory C:\VSCode-Anywhere.

  • Linux /MacOS:

npm

Allow manageing npmarrow-up-right packages.

  • pkgs: name of the packages to install

    • enabled: True to enable, False to skip (default to False)

    • version: the version of the npm package

  • opts

opts is not mandatory but allows to pass additional arguments.

Extra args can be arguments described in the Saltstack npm statesarrow-up-right or can be global Saltstack argumentsarrow-up-right.

Global opts packages settings:

  • npm:pkgs:opts:global: allow passing arguments to all npm packages when installing, updating, or uninstalling a package

  • pm:pkgs:opts:install: allow passing arguments to all npm packages when installing a package (cf states.npm.installedarrow-up-right)

  • npm:pkgs:opts:update: allow passing arguments to all npm packages when updating a package (cf states.npm.installedarrow-up-right is also called during the update process)

  • npm:pkgs:opts:uninstall: allow passing arguments to all npm packages when uninstalling a package (cf states.npm.removedarrow-up-right)

Specific opts packages settings:

  • npm:pkgs:<mypkg>:opts:global: allow passing arguments to <mypkg> npm package when installing, updating, or uninstalling the package

  • npm:pkgs:<mypkg>:opts:install: allow passing arguments to <mypkg> npm packages when installing the package (cf states.npm.installedarrow-up-right)

  • npm:pkgs:<mypkg>:opts:update: allow passing arguments to <mypkg> npm packages when updating the package (cf states.npm.installedarrow-up-right is also called during the update process)

  • npm:pkgs:<mypkg>:opts:uninstall: allow passing arguments to <mypkg> npm packages when uninstalling the package (cf states.npm.removedarrow-up-right)

  • Windows:

circle-info

Assuming you have installed in the default directory C:\VSCode-Anywhere.

  • Linux / MacOS

Last updated

Was this helpful?