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

node_modules warning

cgerikj

|
1,625 installs
| (0) | Free
Show a warning message when switching to a file in node_modules. Useful when part of your codebase is in a npm package or other git repo and you don't want to edit that code in node_modules by mistake.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-node-modules-warning README

Show a warning message when switching to a file in node_modules. Useful when part of your codebase is in a npm package or other git repo and you don't want to edit code in node_modules by mistake.

Features

Show a warning when:

  • Opening or switching to a file in node_modules
  • VS code regains focus and a file in node_modules in open
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft