Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Add to GlobalsNew to Visual Studio Code? Get it now.

Add to Globals

Mintonne

|
6,645 installs
| (0) | Free
Easily add, modify or remove global variables from your JSHint or ESLint config file.
This extension is now unpublished from Marketplace. You can choose to uninstall it.

Add to Globals

Introduction

Add to Globals allows you to easily add, modify or remove global variables from your JSHint or ESLint config file.

Marketplace Link - https://marketplace.visualstudio.com/items?itemName=mintonne.add-to-globals

Supported Files

The extension supports JSON config files only.

JSHint - .jshintrc

ESLint - .eslintrc.json

Commands

Command Action
atg.true Add an overwritable variable
atg.false Add a read-only variable
atg.remove Remove variable from config file

Keyboard Shortcuts

These are the default keyboard shortcuts. You can always change them to whatever you want in the VS Code settings.

Shortcut Action
Ctrl + Alt + A Add a variable that can be overwritten
Ctrl + Alt + S Add a read-only variable
Ctrl + Alt + D Remove variable from config file

License

MIT

Icon

'Globe' icon by Icon Lauk from iconfinder.com.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft