VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • About
  • Installation
  • Requirements
  • VSCode
  • VSCode extensions
  • VSCode settings
  • VSCode keybindings
  • Software
  • Windows software
  • Linux software
  • MacOS software
  • Documentation
  • VSCode-Anywhere
  • Environment
  • Specific settings

Was this helpful?

  1. Modules
  2. Modules list

JavaScript / TypeScript

PreviousJavaNextMarkdown

Last updated 4 years ago

Was this helpful?

About

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

vscode-anywhere:
    javascript:
        enabled: True

Requirements

VSCode

VSCode extensions

VisualStudioExptTeam.vscodeintellicode

dbaeumer.vscode-eslint

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

esbenp.prettier-vscode

eg2.vscode-npm-script

xabikos.JavaScriptSnippets

leizongmin.node-module-intellisense

christian-kohler.npm-intellisense

christian-kohler.path-intellisense

msjsdiag.debugger-for-chrome

wix.vscode-import-cost

WallabyJs.quokka-vscode

sketchbuch.vsc-quokka-statusbar

hbenl.vscode-mocha-test-adapter

VSCode settings

Global settings

{
   "eslint.alwaysShowStatus": true,
   "[javascript]":{
      "editor.defaultFormatter":"esbenp.prettier-vscode"
   },
   "[javascriptreact]":{
      "editor.defaultFormatter":"esbenp.prettier-vscode"
   },
   "[typescript]":{
      "editor.defaultFormatter":"esbenp.prettier-vscode"
   },
   "[typescriptreact]":{
      "editor.defaultFormatter":"esbenp.prettier-vscode"
   },
   "[vue]":{
      "editor.defaultFormatter":"esbenp.prettier-vscode"
   }
}

VSCode keybindings

Software

Windows software

scoop

Linux software

brew

MacOS software

brew

Documentation

VSCode-Anywhere

Environment

Windows environment

PATH: "C:\VSCode-Anywhere\apps\scoop\apps\nodejs\current;C:\VSCode-Anywhere\apps\scoop\apps\nodejs\current\bin"

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

Specific settings

npm_bin

Path of the npm binary.

  • Windows:

vscode-anywhere:
    javascript:
        npm_binary: C:\VSCode-Anywhere\apps\scoop\apps\nodejs\current\npm.cmd

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

  • Linux /MacOS:

vscode-anywhere:
    javascript:
        npm_binary: /home/linuxbrew/.linuxbrew/bin/npm

npm

  • 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.

Global opts packages settings:

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

Specific opts packages settings:

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

  • Windows:

vscode-anywhere:
  javascript:
    npm:
      opts:
        global:
          env:
            - PATH: C:\VSCode-Anywhere\apps\scoop\apps\nodejs\current;C:\VSCode-Anywhere\apps\scoop\apps\nodejs\current\bin
        install: {}
        update: {}
        uninstall: {}
      pkgs:
        eslint:
          enabled: True
          version: null
          opts:
            install: {}
            update: {}
            uninstall: {}
        mocha:
          enabled: True
          version: null
          opts:
            install: {}
            update: {}
            uninstall: {}

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

  • Linux / MacOS

vscode-anywhere:
  javascript:
    npm:
      opts:
        global: {}
        install: {}
        update: {}
        uninstall: {}
      pkgs:
        eslint:
          enabled: True
          version: null
          opts:
            install: {}
            update: {}
            uninstall: {}
        mocha:
          enabled: True
          version: null
          opts:
            install: {}
            update: {}
            uninstall: {}

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

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

You can also take a look at the .

For more details read the official documentation for and .

This module doesn’t work out of the box. You must configure (extension ) for each project for it works properly.

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

support inside VS Code.

Please read the .

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 running npm scripts defined in the package.json file and validating the installed modules against the dependencies defined in the package.json.

This contains code snippets for JavaScript in ES6 syntax for Vs Code editor.

This autocompletes JavaScript / TypeScript modules in import statements.

This autocompletes filenames.

This autocompletes npm modules in import statements.

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

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

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.

adds buttons to the status bar in Visual Studio Code (VSC) to control Quokka.

allows you to run your tests using the .

No .

Allow manageing packages.

Extra args can be arguments described in the or can be .

pm:pkgs:opts:install: allow passing arguments to all npm packages when installing a package (cf )

npm:pkgs:opts:update: allow passing arguments to all npm packages when updating a package (cf is also called during the update process)

npm:pkgs:opts:uninstall: allow passing arguments to all npm packages when uninstalling a package (cf )

npm:pkgs:<mypkg>:opts:install: allow passing arguments to <mypkg> npm packages when installing the package (cf )

npm:pkgs:<mypkg>:opts:update: allow passing arguments to <mypkg> npm packages when updating the package (cf is also called during the update process)

npm:pkgs:<mypkg>:opts:uninstall: allow passing arguments to <mypkg> npm packages when uninstalling the package (cf )

Javascript
module installation
VSCode-Anywhere javascript module configuration
JavaScript
TypeScript
eslint
dbaeumer.vscode-eslint
extension
ESLint
documentation
Prettier
extension
extension
extension
extension
extension
extension
extension
Quokka.js
This extension
This extension
Mocha
Test Explorer UI
keybindings
nodejs
node
node
JavaScript
NodeJS
npm
Saltstack npm states
global Saltstack arguments
states.npm.installed
states.npm.installed
states.npm.removed
states.npm.installed
states.npm.installed
states.npm.removed
ESLint