SourceLair Blog

  • Node.js meets native Heroku support

    Starting today, you will think no more if your Node.js project will work nicely in Heroku.

    Setting up your development environment is always tricky. You want to spend the least time and resources possible, while at the same time make sure it is as close as possible to your production infrastructure.

    With deployment platforms like Heroku, this becomes even trickier as you usually don't know how your application runs.

    Heroku Projects in SourceLair

    As Heroku is one of the first deployment platforms we supported, extending such support by providing you with a Heroku powered environment was the least we could do for you. That's why, we're glad to announce a new project type, which is powered by this environment, flavored in a way that keeps all these features you already love about SourceLair, like dependency management, great Git and Mercurial support, server reloading on file system changes and lots more.

    All you have to do, is switch to the Heroku tab while choosing a project type and select one of the Heroku flavored environments for your project. For the time being, we leave you with a fully-fleshed Node.js environment and a promise that more platforms are coming in the near future.

    Enough reading, time for action. Just sign in to SourceLair, create or clone a new Heroku Node.js project and enjoy frictionless Heroku deployments with the new Heroku based environment.

  • Enhanced Python autocompletion

    Even though SourceLair has supported Python autocomplete for a while, it was not quite right. The autocomplete suggestions where restricted to keywords and to file-wide variables and function names.

    This obviously did not provide the coding experience we want to provide. One where your tools work for you and remove the friction from your workflow.

    So we changed it!

    We're very happy to announce that SourceLair's Python autocomplete is now powered by Jedi. By using this awesome autocompletion and static analysis library we are able to provide sophisticated and precise suggestions for autocompletion, accompanied by their documentation!


    Autocompletion is normally triggered by Ctrl + Space and you can also toggle triggering on keystroke in the editor settings.

    Furthermore, also thanks to jedi, when you are inside a function call the expected arguments of the function appear to help you save time from searching for the definition and ensuring you gave the correct arguments. arguments And the amazing thing is that the even though the extensive analysis is server-side and there is network involved in the whole process, the speed is great, the responses immediate and the experience native-like!

    Just sign in to SourceLair and try it out for yourself.

  • Customizing JavaScript linting

    Being able to get real-time warnings on source code as you type helps to greatly reduce the time you'll spend later on polishing and debugging your code.

    SourceLair has been using JSHint for JavaScript linting for a while now. All you have to do is enable JavaScript linting from your Editor Settings and you'd instantly get warnings and errors in the gutter right next to your code. JavaScript Linting

    However, in order for the warnings to be useful and not distracting, you have to be able to define yourself what is - and what is not - a warning.

    Starting today, you can customize the type of warnings you get, when having Javascript linting enabled, simply by including a .jshintrc file in your project's root. The .jshintrc is a simple JSON file that specifies which JSHint options to turn on or off. Alternatively, if you're writing Nodejs, you can include your jshint config into your project's package.json file under the jshintConfig property. You can find the full list of the supported options here. sample-jshintrc

    Go to your project at, utilize JSHint with the options of your preferece, simplify your life and enhance your workflow.

  • Introducing partial commits

    Today we are happy to announce support for partial commits on both Git and Mercurial projects.

    Simply make any changes you want and open up the commit prompt. You can now choose which of the files in the list you want to include in your commit.

    Partial commits from SourceLair

    Visit and try it out.

  • PHP projects on SourceLair

    Last year we introduced PHP functionality to SourceLair's "HTML" project type. While our PHP support worked really well for our users, it was not clear enough that coding your PHP app should happen in an "HTML/PHP" project.

    Thus, we decided to branch-out PHP to its own project type. HTML projects will continue to support PHP, so that people that already code PHP apps on SourceLair won't have to take any further actions.

    PHP projects on SourceLair

    Coding PHP projects on SourceLair works like a charm. Every PHP project is equipped with a public URL, you can install your favorite libraries with composer (which ships pre-installed in your SourceLair project), while you can enjoy several pre-installed PHP extensions like php5-mysql, php5-sqlite and php5-curl.

    Check out our new PHP project type right away at