ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Java​Script Console

by caiogondim ST2/ST3

:computer: JavaScript and CoffeeScript Console snippets

Labels snippets

Details

  • 2017.07.25.14.24.01
  • goo.​gl
  • github.​com
  • 2 years ago
  • 50 minutes ago
  • 6 years ago

Installs

  • Total 88K
  • Win 58K
  • OS X 18K
  • Linux 12K
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 11 25 29 26 29 14 19 27 27 23 18 30 23 26 39 26 27 39 33 25 13 29 28 38 25 25 18 20 32 27 40 33 33 28 25 29 28 38 28 33 24 22 24 25 41 24
OS X 4 1 4 5 2 2 0 3 6 6 5 3 3 3 3 1 4 5 4 2 4 2 2 3 1 5 3 2 5 4 4 9 2 2 3 5 5 2 1 4 3 4 4 4 5 6
Linux 0 5 3 3 4 4 6 5 7 5 3 5 2 1 3 3 7 7 3 4 2 5 6 4 4 5 6 4 2 6 3 5 7 8 2 2 7 6 5 4 5 6 2 3 11 6

Readme

Source
raw.​githubusercontent.​com

JavaScript Console snippets Build Status

JS Console snippets

Snippets and Code completion for Sublime Text 2. Works with JavaScript and CoffeeScript syntax.

To install through Package Control, search for JavaScript Console. If you still don't have Package Control in Sublime Text, go get it. It's pure awesomeness. If you insist to not install it, you can download the package and put it manually inside your Pacakages directory. It should work but will not update automatically.

You can get the documentation about each method in the Firebug API documentation or the Chrome DevTools documentation.

Snippets

Snippets are the fastest way to code. To trigger a method of the Console API just put a > followed by it's name, like so:

snippets

>log expands to console.log()

>info expands to console.info()

You got the point.

Code completion

If you're more into code completion, we got you covered too. Just start typing the name of the method and the methods should start appearing.

console

Methods covered

  • console.assert()
  • console.clear()
  • console.count()
  • console.debug()
  • console.dir()
  • console.dirxml()
  • console.error()
  • console.exception()
  • console.group()
  • console.groupCollapsed()
  • console.groupEnd()
  • console.info()
  • console.log()
  • console.profile()
  • console.profileEnd()
  • console.tab()
  • console.table()
  • console.time()
  • console.timeEnd()
  • console.timeStamp()
  • console.warn()

License

The MIT License (MIT)

Copyright © 2014 Caio Gondim

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.