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

Sublime V8

by akira-cn ST2

v8 engine for sublime text 2

Details

  • 2013.12.06.08.25.06
  • github.​com
  • github.​com
  • 11 years ago
  • 23 minutes ago
  • 13 years ago

Installs

  • Total 5K
  • Win 3K
  • Mac 1K
  • Linux 702
Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-v8

added Google v8 engine to sublime text 2

Realtime syntax checking with PyV8

check & mark syntax errors

Show jshint result by press ctrl+alt+h key

jshint result can be shown (including errors and warnings)

with jshint settings in JSHINT.sublime-settings

A JavaScript console supported

a js console shown by press ctrl+alt+j key

use it like the python console

Writing plugin in JavaScript:

//example
 require('base');

 exports = TextCommand("HelloWorld", function(view, edit){
     view.insert(edit, 0, "HelloWorld");
     console.log(view.file_name());
 });

Troubeshooting

If the plugin doesn't work, follow the guide - lib/PyV8/README.md.