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
  • 11 months ago
  • 1 hour ago
  • 5 years ago

Installs

  • Total 77K
  • Win 50K
  • OS X 16K
  • Linux 11K
Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10
Windows 3 21 28 40 30 36 21 23 14 38 25 36 33 44 22 28 44 17 46 32 39 26 23 36 31 34 40 27 21 37 48 38 43 42 48 43 20 33 32 32 35 40 38 31 40 49
OS X 1 5 8 1 8 7 1 3 1 9 2 8 5 6 4 6 5 1 6 5 9 7 5 8 9 9 10 7 5 7 7 4 6 4 11 2 3 4 8 15 8 6 4 6 7 7
Linux 0 2 6 6 3 9 9 0 4 6 9 9 8 3 1 1 5 13 6 6 8 8 7 5 8 2 6 4 3 4 8 3 5 3 7 5 4 4 5 5 10 5 5 5 9 7

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.