A SublimeText3 plugin: Smarter shortcut for console.log();
or var_dump();
or something.
##Installation & Usage
- Copy
ConsoleDebugEasilizer.py
to your SublimeText3's Packages directory. - Open SublimeText3 > Preferences > Key Bindings - User
- Insert new line for the plugin. ex)
{ "keys": ["ctrl+shift+space"], "command": "console_debug_easilizer"},
- Select some string on any file and press the shortcut key you set above.
- If your file is PHP, then you get
var_dump(SELECTED_STRING);
. Otherwise you getconsole.log(SELECTED_STRING);
Please fork this and append definitions for languages you use.