whtouche / vscode-js-console-utils Goto Github PK
View Code? Open in Web Editor NEWVS Code extension to help insert and remove console.* statements
License: MIT License
VS Code extension to help insert and remove console.* statements
License: MIT License
I would love to use this extension with VSCodium. For that to work, the extension would need to be published to the open-source registry at openvsx. A guide on how to do that can be found here: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
Alternatively, the extension could be added to the publish-extensions repo as a workaround, but that would not be a good long-term solution for reasons described here.
I know it’s a few steps to follow, but please consider this! I’d be very grateful. <3
Can we please have an option to insert // eslint-disable-next-line above the console.log()? I have to do it every time when console log eslint project.
cmd+shift+L is having the same behaviour as cmd+shift+A
VS code version 1.13.1
macOS Sierra 10.12.6
other extension enabled:
Beautify 1.3.0
ESLint 1.2.11
GItBlame 2.1.0
Pressing ctrl + shift + L creates a console.log statement but it is selected and with the cursor at the end. Wouldn't it be better if it was created without selection and with the cursor between the brackets?
As it is now it's almost as fast to write down the console.log manually than to press ctrl + shift + L -> right arrow (to deselect) -> left arrow -> left arrow to put the cursor in place.
I prefer my JS without semis and it would be nice to be able to configure this to not paste it every time.
Hi, thanks for this amazing extension, I was wondering if we could add a feature of commenting the console.logs, but keeps in there such as https://packagecontrol.io/packages/Console%20Wrap from Sublime.
What are you thoughts?
If you exposed the template for the inserted code to make it user-configurable, that would open up a world of new possibilities!
Sometimes it is nice to provide a prefix/postfix when debugging. For example if you want to write your console.log
s like console.log('DEBUG - variableName: ', variableName')
it is easier to do global searches for DEBUG
and come across all of the debugg console.log
s that you have added.
It would be awesome if this extension provided a way config to allow prefixing/postfixing
As Title,
I want to remove all console.log except console.error,
It will remove all console now if I type shortcut control + shift + D
支持下修改快捷键
Right now it seems only Mac is supported.
I attempted Win
+ 'Shift' + 'L' and Ctrl
+ Shift
+ L
and neither see to work
Hi is it possible to request this feature please.
const ex1 = '...';
alert('asdfsd');
///
const ex2 = ex3;
If I ctrl+click on three different variables, then hit a hotkey it should add at the lowest possible position:
console.log('ex1:', ex1, 'ex2:', ex2, 'ex3:', ex3)
hi friend , any update soon for suport
console.log+ css color
console.group ?
thank
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.