/vscode-log-utils-jr

VS Code extension to help insert and remove console.* statements

Primary LanguageJavaScriptMIT LicenseMIT

🚀 Thank you to vscode-js-console-utils

🪵 vscode-log-utils

Easily insert and remove log statements from (most) popular languages, by @youngkidwarrior

🔌 Installing

This extension is available for free in the Visual Studio Code Marketplace

🔧 Usage

👉 With selection:

  • Highlight a variable (or really any text)
  • Press Cmd+Shift+L
  • The output (on a new line) will be: console.log('variable: ', variable);

💡 Without selection:

  • Press Cmd+Shift+L
  • The output (on the same line) will be: console.log();

❌ To remove logs:

  • Press Cmd+Shift+D
  • This will delete all console.log statements in the current document

License

MIT License