SublimeText is undoubtedly one of the most popular editor right now over million of software / web developers. The developer is using SublimeText as IDE usually, rather than using as plain text editor, by making IDE like features with the help from some great packages available in free of cost. For python development environment, Anaconda is all-in-one package for transforming to be IDE, in the other hand Sublimtelinter with Jedi combination one of the best method for enabling sublimetext to provide IDE like features. Both two have pros and cons, i will discuss bellows about my experiences for both.
- Most importantly, this all-in-one kind package and with no dependency, that means you don’t have headache to install multiple packages and separate configurations.
- Easy configuration and well documented.
- Numbers of active contributors and continuous development, see details
- Very faster linting process after introducing json server.
- McCabe code complexity checker
- Some time I discovered old problem come again with latest version, that is hanging on my sublimetext (may be one of the cause could be for big file (more than ten thousands of line)).
- There is no support for flake8, see discussion here. Although anaconda linting is working with pyflake and pep8 combinely means likely to be same as flake8, but more just pyflake and pep8, flake8 has lots of cool plugins, you will miss those.
- Working with json server might easy, depends on Operating System you are using.
Sublimelinter and Sublime-Jedi
- This combination approach is like that you gather all good packages and using it. Sublimelinter is the best linting framework for SublimeText, in the other hand Jedi is one the best autocomplete library that is welly ported to Sublime, thanks author of SublimeJedi
- Jedi provides nice (CTRL+SHIFT+G) explorer (Go Defination) feature, you could go to the reference import very quickly, beside you could easily add extra python package paths those will be auto included to Jedi’s sys path.
- Sublimelinter is framework for linting, there are lots of plugins available, for python I would like to use flake8 but you may keen to use pylint, that is also available.
- Sublimelinter is working very fast and also has lots of configuration options, so that you could customize as your wish.
- I don’t find so much negative side to using this combination. But I find there is not much development activity on Github.
- Some rare case, jedi might not working (not sure if it is caused by Sublimetext or jedi itself)
2 thoughts on “Anaconda vs Sublimelinter with Jedi for SublimeText”
Thanks for the comparison.
I was trying to find alternatives to anaconda and your post helped me well!!
I abandoned anaconda since I was tired of the bloat and the hiccups of the anaconda’s jsonserver.py
Should note that Sublimelinter documentation is horrendous and it’s VERY confusing on how to set the different configurations for it even though the document think it’s very clear about it. Questions about SublimeLinter on the github repo are often met with impatience by the author who doesn’t understand why his incomplete documentation is not good enough.