JavaScript / TypeScript
Last updated
Last updated
Javascript (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.
Change enable
from False
to True
in the javascript
section (cf module installation).
You can also take a look at the VSCode-Anywhere javascript module configuration.
For more details read the official documentation for JavaScript and TypeScript.
This module doesn’t work out of the box. You must configure eslint (extension dbaeumer.vscode-eslint) for each project for it works properly.
This extension provides AI-assisted development features for JavaScript/TypeScript.
ESLint support inside VS Code.
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 documentation.
Prettier 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.
This extension running npm scripts defined in the package.json file and validating the installed modules against the dependencies defined in the package.json.
This extension contains code snippets for JavaScript in ES6 syntax for Vs Code editor.
This extension autocompletes JavaScript / TypeScript modules in import statements.
This extension autocompletes filenames.
This extension autocompletes npm modules in import statements.
This extension allows you to debug your JavaScript code in the Chrome browser or any other target that supports the Chrome Debugger protocol.
This extension allow to debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome Debugger protocol.
Quokka.js 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.
This extension adds buttons to the status bar in Visual Studio Code (VSC) to control Quokka.
This extension allows you to run your Mocha tests using the Test Explorer UI.
No keybindings.
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
Path of the npm
binary.
Windows:
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
Linux /MacOS:
Allow manageing npm 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 states or can be global Saltstack arguments.
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.installed)
npm:pkgs:opts:update
: allow passing arguments to all npm packages when updating a package (cf states.npm.installed 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.removed)
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.installed)
npm:pkgs:<mypkg>:opts:update
: allow passing arguments to <mypkg>
npm packages when updating the package (cf states.npm.installed 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.removed)
Windows:
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
Linux / MacOS