Skip to content

A Visual Studio Code extension that allows you to copy a console.log for a variable to the clipboard

License

Notifications You must be signed in to change notification settings

MickMelon/copy-variable-console-log

Repository files navigation

Copy Variable Console Log

A Visual Studio Code extension that allows you to copy a console.log for a variable to the clipboard. E.g. highlighting a variable called foo will copy console.log("foo", foo); to the clipboard.

Features

  • Right click on a highlighte variable name in your code and select "Copy Variable Console Log".
    • Alternatively you can highlight a variable and press Alt+Ctrl+C
  • The console.log to log the variable out will be copied to your clipboard.

Demo

Known Issues

Not tested on Mac.

Release Notes

1.0.0

Initial release

About

A Visual Studio Code extension that allows you to copy a console.log for a variable to the clipboard

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published