SublimeText / jQuery

Sublime Text package bundle for jQuery
323 stars 98 forks source link

console.log() snippet? #19

Closed dingo-d closed 9 years ago

dingo-d commented 9 years ago

How come there is no console.log() snippet? I like, from time to time, since I'm not an expert in javascript, to check what my code is doing, and if I targeted the right selector etc.

For that I use console.log() to check my code in console of the browser. Currently I don't see any autocomplete for console.log so I need to type it every time I need it. And that's kinda tiresome.

Is there an option for that that I'm unaware of? If not, can it be implemented?

mrmartineau commented 9 years ago

Hi @dingo-d, thanks for your question. console.log() is actually native javascript, not jQuery so it won't be included in this package. I think Sublime has this snippet already built in, however if it does not, I suggest finding a suitable package from http://packagecontrol.io

Good luck

dingo-d commented 9 years ago

Oh, ok I'll see the provided link, thanks for the answer :)