Getting full JS autocompletion under Sublime Text

Suggestions are (basically) based on the text in the current open file and any snippets or completions you have defined (ref). If you want more text suggestions, I’d recommend: Adding your own snippets for commonly used operations. Adding your own completions for common words. Adding other people’s snippets through Package Control. You can find even … Read more

How to install plugins to Sublime Text 2 editor?

You should have a Data/Packages folder in your Sublime Text 2 install directory. All you need to do is download the plugin and put the plugin folder in the Packages folder. Or, an easier way would be to install the Package Control Plugin by wbond. Just go here: https://sublime.wbond.net/installation and follow the install instructions. Once … Read more

How to use Sublime over SSH

There are three ways: Use SFTP plugin (commercial) http://wbond.net/sublime_packages/sftp – I personally recommend this, as after settings public SSH keys with passphrase it is safe, easy and worth every penny http://opensourcehacker.com/2012/10/24/ssh-key-and-passwordless-login-basics-for-developers/ Mount the remote as local file system using osxfuse and sshfs as mentioned in the comments. This might be little difficult, depending on OSX … Read more

Compiling and Running Java Code in Sublime Text 2

So this is what i added to the JavaC.sublime-build file { “cmd”: [“javac”, “-Xlint”, “$file”], “file_regex”: “^(…*?):([0-9]*):?([0-9]*)”, “selector”: “source.java”, “variants”: [ { “cmd”: [“javac”, “-Xlint”, “$file”], “file_regex”: “^(…*?):([0-9]*):?([0-9]*)”, “selector”: “source.java”, “name”: “Java Lintter” }, { “cmd”: [“java”, “$file_base_name”], “name”: “Run Java” } ] } What this does is that it creates variants to the regular … Read more

Autocomplete for OpenCV-Python in Windows not working

The reason it’s not working is because you’re using a .pyd file, which is essentially the same as a compiled .dll. Autocomplete works by reading the source .py files, which are plain text. Try installing the OpenCV and Intel Math Kernel Library optimized NumPy packages from Christoph Gohlke’s Python Extension Packages for Windows repository, which … Read more