Sublime BlackBerry 10 WebWorks Development

Announcements

At the risk of broaching a topic that is potentially more volatile than politics, religion, or semi-colons in JavaScript, let’s talk a little bit about development environments for BlackBerry 10 WebWorks. Now, while I’m going to talk about one development environment in particular in this blog post, one of the great things about BlackBerry 10 WebWorks development is that you can use any tool you want.

What I’d like to present is one option and some suggestions for being productive in it, but I’d very much like to hear from you through the comments or email what you use, and if you are interested I’d like to collaborate on a blog post about using your favourite IDE and how to get the most out of it. My goal is to make developing BlackBerry 10 HTML5 apps as easy as this:

Image credit Janet Morrell - http://www.flickr.com/people/89509548@N00/

Image credit Janet Morrell – http://www.flickr.com/people/89509548@N00/

The editor that I want to talk about today is called Sublime. You can evaluate it for free, it’s fully cross platform, and even has portable versions so you can keep it on a USB key. There are plenty of cool features and I could never cover them all, but the first thing you want to do is install the package control plugin, and then all the other packages are just keystrokes away: Ctrl-Shift-P and choose “Package Control: Install Package”.

Some recommended packages to get you started are as follows:

  • SublimeLinter
  • All Autocomplete
  • Markdown Preview
  • Color Schemes by carlcalderon (Stereokai is my choice)

One of my favourite capabilities of Sublime is its Build System integration. I put together a video showing how to setup our BlackBerry 10 WebWorks Ant Build Script with Sublime, so you can see how easy it is:

See, that wasn’t so bad. There’s really no need for the pitchforks.

About Tim W.

Tim works on the Developer Relations team at BlackBerry, focusing on WebWorks, HTML5, and Open Source.

Join the conversation

Show comments Hide comments
+ -
blog comments powered by Disqus