Sunday, February 24, 2013

Configure Sublime Text2 for JavaScript Development.

I recently started using Sublime Text2 full time at work after being a vim user for more than 4 years. Vim is really good but it takes sometime to configure it properly. Well this is not a Vim vs ST2 debate. It is more of a vim user shifting to ST2 Tip.

The first thing that you should do is to install package control, it provide really good 3rd party plugins. You can check out the link how to install it. Install Package Control



Once done with that open package manager and install these useful plugins

  • JSHint.
  • JSLint.
  • DocBlockr.
  • AngularJS.
  • Mocha.
  • NodeJS.
  • Live Reload.
Also, there is good plugin for vim mode in Sublime Text2, you can use that if you don't want to 
waste the muscle memory. I highly recommend the real time linting with JShint. It will make you so much more productive and improve your code as well.

What really struck me was that Sublime Text enabled me to do almost everything i did with Vim without going into the pain of configuration. Also, the learning curve is not at all steep so i could get productive real fast.

3 comments:

  1. 2013 Wishes: Sublime Text Terminal

    ReplyDelete
  2. 2013 Wishes: Sublime Text Terminal

    ReplyDelete
  3. How do you debug javascript using the chrome debugger

    ReplyDelete