Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2 & 3 setup for python / django with code completion [closed]

I want to use an autocomplete plugin with sublime text for web development. I'm using django framework. I've looked into the following possible options. Not really a question, just for reference, I've added these here.


The listing order represents popularity to a certain extent (based on activity level, commits, contributors, favorties, forks, issues (open/closed) [Feb-2014]


  • SublimeCodeIntel : Code intelligence plugin ported from Open Komodo Editor to Sublime Text.

    Features :

    • Jump to Symbol Definition - Jump to the file and line of the definition of a symbol
    • Imports autocomplete - Shows autocomplete with the available modules/symbols in real time
    • Function Call tooltips - Displays information in the status bar about the working function
    • Supports : JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, XML, Sass, XSLT, Django, HTML5, Perl, CSS, Twig, Less, Smarty, Node.js, Tcl, TemplateToolkit, PHP.

  • SublimeJEDI : SublimeJEDI is a Sublime Text 2 and Sublime Text 3 plugin to the awesome autocomplete library Jedi

    Features:

    • Autocomplete on DOT
    • Function args fill up on completion
    • Jedi Goto / Go Definition
    • Jedi Find Related Names ("Find Usages")

  • Djaneiro : Django support for Sublime Text 2/3

    Features

    • Snippets for Django templates
    • Snippets for Django model fields
    • Snippets for Django form fields
    • Completions

  • SublimeRope : No recent activity. Last commit Dec 21, 2013. ST2 only, use SublimePythonIDE with ST3: Adds Python completions and some IDE-like functions to Sublime Text 2, through the use of the Rope library

    Features :

    • See details here : http://rope.sourceforge.net/
like image 597
user Avatar asked Sep 20 '13 10:09

user


People also ask

Is Sublime Text 2 free?

Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use.

Is Sublime or Notepad ++ better?

In terms of text editing experience, both editors have syntax highlighting, find and replace, keyboard shortcuts, and regex (regular expression) features. However, Sublime's UI is more customizable, while Notepad++ has an outdated interface (which is a pro or a con depending on what you like).

Is there Sublime Text 4?

Sublime Text 4 is the current version of Sublime Text. For bleeding-edge releases, see the dev builds.

What is the difference between Sublime Text 2 and 3?

Here's why – Sublime Text 3 brings some major benefits compared to version 2: Most plugins have caught up and are built on top of ST3 now. If you check in Package Control, there are more ST3 packages today than there are ST2 packages. Sublime Text 2 development has stopped while Sublime Text 3 is in active development.


2 Answers

In my opinion, there are ONLY 2 sulbime plugins that provide really good completion:

  • SublimeJEDI for ST2 and ST3
  • Anaconda for ST3

CodeIntel and Rope works badly. Djaneiro is more snippets than completion but I also find it useful.

like image 126
WebPal Avatar answered Oct 07 '22 04:10

WebPal


I've been using SublimeJEDI for some time. It does the job to a certain extent without adding bloat. It has limitations and it's far from being as aesthetic and complete as PyCharm.

With new editors supporting code completion out of the box, I'm dismayed that ST doesn't do a good job at it.

Update : After using it for a few months, I feel SublimeJEDI doesn't really add much convenience. It rather messes some of the default completions of ST2 when you cycle through various options with Tab. It's prediction is severely broken.

like image 26
user Avatar answered Oct 07 '22 03:10

user