To make Sublime Text 4 a productive Python and Django editor in 2026, install Package Control, then add LSP with LSP-pyright for autocompletion and type checking, SublimeLinter with Ruff (or flake8) for linting, a Ruff/Black formatter for format-on-save, Djaneiro for Django snippets, and quality-of-life packages like GitGutter, SideBarEnhancements, BracketHighlighter, AutoFileName, A File Icon, and EditorConfig. That set replaces the old Anaconda + SublimeJEDI stack and gives you near-IDE features in a famously fast editor.
Honest framing first: Sublime is still quick and well loved, but in 2026 most Python and Django teams work in VS Code (with Neovim and Zed growing fast). If you already prefer Sublime, this guide makes it excellent; for every plugin we also note the VS Code equivalent so you can compare editors fairly.
Key takeaways
- LSP + LSP-pyright is the big upgrade. It replaces the abandoned Anaconda and SublimeJEDI plugins for completion, go-to-definition, and type checking, using the same Pyright engine as VS Code.
- Ruff is the modern linter and formatter. Run it through SublimeLinter for linting and as a formatter for format-on-save (Black still works if you prefer it).
- Install everything through Package Control, Sublime's package manager.
- Djaneiro remains the go-to for Django template, model, form, and view snippets.
- Drop the dead plugins: Anaconda, SublimeJEDI, SublimeLinter-pep8, and the old HTML/CSS/JS-only helpers are superseded by LSP and Ruff.
- Sublime Text requires a paid license for continued use (with an unlimited free evaluation), whereas VS Code and Neovim are free — factor that into your choice.
- Most teams are on VS Code now; Sublime wins on raw speed and low memory, so pick based on your workflow, not nostalgia.
Is Sublime Text still worth using for Python in 2026?
It can be — but go in clear-eyed. Sublime Text 4 is current, actively maintained, and remains one of the fastest editors you can run: it opens instantly, stays responsive in huge files, and barely touches memory compared with Electron-based editors. For developers who live on the keyboard and value speed, that still matters.
The honest caveat is that the editor landscape moved on since this post first ran in 2016. VS Code is now the default for Python and Django work, with the largest extension ecosystem and built-in AI assistance, while Neovim and Zed are growing quickly among power users. Sublime's plugin community is smaller and several once-popular packages are unmaintained. The good news: thanks to the Language Server Protocol (LSP), Sublime now taps into the same engines (like Pyright and Ruff) that power other editors, so the gap is far smaller than it used to be.
How do you install Sublime plugins? Start with Package Control
Everything below installs through Package Control, Sublime's package manager. If you don't have it yet, open the command palette (Ctrl/Cmd+Shift+P), run Install Package Control, then use Package Control: Install Package to add any package by name.
After installing the LSP servers, you'll configure them under Preferences -> Package Settings -> LSP. The settings are plain JSON, so they're easy to version-control and share across a team.
The 10 plugins worth installing (and their VS Code equivalents)
Think in terms of jobs to be done — completion, linting, formatting, Django ergonomics, and navigation — then add one package per job. Here are the ten that earn their place in 2026, with what each maps to in VS Code so you can compare editors fairly.
| Sublime plugin | What it does | VS Code equivalent |
|---|---|---|
| LSP + LSP-pyright | Autocompletion, type checking, go-to-definition via Pyright | Pylance (in the Python extension) |
| SublimeLinter + Ruff/flake8 | Inline linting as you type | Ruff / Flake8 extensions |
| Ruff formatter (or Black) | Format-on-save | Ruff / Black Formatter |
| Djaneiro | Django template, model, form & view snippets | Django (Baptiste Darthenay) |
| GitGutter | Added/modified/deleted markers in the gutter | Built-in Git + GitLens |
| SideBarEnhancements | Rich right-click file operations | Built-in Explorer menu |
| BracketHighlighter | Highlights matching brackets and tags | Built-in bracket pair colors |
| AutoFileName | Path autocompletion for imports and assets | Path Intellisense |
| A File Icon | File-type icons in the sidebar | Material Icon Theme |
| EditorConfig | Enforces shared indent/whitespace rules | EditorConfig for VS Code |
The two that change your day most are LSP + LSP-pyright and Ruff — set those up first; the rest are quick wins you can add in minutes.
LSP + LSP-pyright: the upgrade that replaces Anaconda
Back in 2016 this post recommended Anaconda and, later, SublimeJEDI, for autocompletion and linting. Both are effectively abandoned now. The modern replacement is the Language Server Protocol: install the LSP package, then LSP-pyright, and Sublime gains the same Pyright engine that powers VS Code's Pylance — real type-aware completion, hover docs, signature help, go-to-definition, and inline type errors.
Install both via Package Control, then open Preferences -> Package Settings -> LSP -> Servers -> LSP-pyright -> Settings and drop in the configuration below. Set typeCheckingMode to basic to start (move to strict on greenfield code), and let your linter handle import sorting.
// Preferences -> Package Settings -> LSP -> Servers -> LSP-pyright
{
"settings": {
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"pyright.disableOrganizeImports": true
}
}Linting and formatting with Ruff (or flake8 + Black)
For linting, install SublimeLinter plus a backend. In 2026 the fastest option is Ruff via SublimeLinter-contrib-ruff; if your project is standardized on flake8, SublimeLinter-flake8 still works (it supersedes the long-dead SublimeLinter-pep8). Ruff is a single Rust-based tool that covers what flake8, isort, and pyflakes used to do — and it runs in milliseconds.
For formatting, point Sublime at Ruff's formatter or Black so files tidy up on save. Install Ruff into your environment first with pip install ruff, then configure SublimeLinter as shown.
// Preferences -> Package Settings -> SublimeLinter -> Settings
{
"linters": {
"ruff": {
"disable": false,
"executable": "ruff",
"args": ["check", "--stdin-filename", "@", "-"]
}
}
}Django ergonomics: Djaneiro and friends
Djaneiro is the one Django-specific package to install. It adds snippets and completions for Django templates ({% block %}, {% for %}, {{ variable }}), models (field types, Meta), forms, and views, plus proper syntax highlighting inside .html template files — which is where Sublime's defaults fall short. Type a trigger like mdl or for and tab-complete the boilerplate.
Pair it with LSP-pyright pointed at your project's virtualenv so model and ORM imports resolve correctly. If you're building or modernizing a Django codebase and want a team that does this daily, see our Django development services.
Quality-of-life plugins that just work
These smaller packages remove daily friction:
- GitGutter — shows added, modified, and deleted lines in the gutter and can diff against any ref. Essential if you live in Git.
- SideBarEnhancements — turns Sublime's bare sidebar right-click menu into a full set of file operations (new file, duplicate, move, reveal, open with).
- BracketHighlighter — highlights matching brackets, quotes, and HTML/template tags; invaluable in nested Django templates.
- AutoFileName — autocompletes file paths as you type them, great for imports,
staticassets, andincludetags. - A File Icon — adds file-type icons to the sidebar so
.py,.html, and.jsfiles are easy to scan. - EditorConfig — reads a project's
.editorconfigso indentation and whitespace match the rest of the team automatically.
Notice what's not here: the old HTML-CSS-JS Prettify, LESS-build, and JsFormat packages from the original list are no longer needed — modern formatting belongs to Ruff/Black for Python and Prettier (run via a build system or LSP) for front-end files.
Sublime vs VS Code vs Neovim/Zed: which should you pick?
No editor is objectively best — match the tool to how you work. Here's an honest comparison for Python and Django in 2026.
| Factor | Sublime Text 4 | VS Code | Neovim / Zed |
|---|---|---|---|
| Speed & memory | Excellent, very light | Heavier (Electron) | Excellent, very light |
| Out-of-the-box Python | Needs LSP setup | Install Python ext and go | Needs config (Neovim) |
| Extension ecosystem | Smaller, some unmaintained | Largest by far | Large and very active |
| Built-in AI assistance | Via plugins | Built in (Copilot, etc.) | Via plugins |
| Remote / SSH editing | Limited | Excellent (Remote-SSH) | Native (Neovim over SSH) |
| Cost | Paid license for continued use (free evaluation) | Free | Free / open source |
| Best fit | Speed lovers who already like it | Most teams, easiest onboarding | Power users, terminal-first |
If you're curious about the terminal-first route, our guide to Vim and Neovim for Python development covers an LSP-based setup that mirrors the Sublime one here.
Frequently Asked Questions
Is Sublime Text still good for Python development in 2026?
Yes, if you value speed and a lightweight editor — Sublime Text 4 is current and, with LSP + LSP-pyright and Ruff, gives you completion, type checking, linting, and format-on-save close to a full IDE. That said, VS Code is the mainstream choice for Python and Django, with a larger ecosystem and built-in AI. Sublime is a strong pick if you already prefer it; otherwise most teams default to VS Code.
What replaced the Anaconda plugin in Sublime Text?
LSP with LSP-pyright. The old Anaconda and SublimeJEDI packages that provided autocompletion and linting are effectively abandoned. Installing the LSP package plus LSP-pyright gives you the same Pyright engine VS Code uses, with better, type-aware completion and diagnostics — pair it with SublimeLinter + Ruff for linting.
Do I need a license to use Sublime Text?
Sublime Text offers an unlimited free evaluation, but it requires a paid license for continued use. There's no hard time limit on evaluating it, though you'll see occasional purchase reminders. If a zero-cost editor is a hard requirement, VS Code and Neovim are free alternatives that run the same Pyright and Ruff tooling.
How do I get autocomplete and type checking in Sublime Text?
Install LSP and LSP-pyright through Package Control. Pyright runs as a language server in the background and provides completion, hover documentation, signature help, go-to-definition, and inline type errors. Set python.analysis.typeCheckingMode to basic (or strict for new code) in the LSP-pyright settings, and make sure Pyright points at your project's virtualenv.
How do I make Sublime use my project's virtualenv?
The most common Python-in-Sublime problem is the language server importing the wrong packages. Fix it by adding a pyrightconfig.json at your project root with venvPath and venv set to your environment, or set python.pythonPath / python.analysis.extraPaths in the LSP-pyright settings. Activating the venv before launching Sublime also helps Pyright resolve the correct interpreter.
Which Sublime plugin is best for Django development?
Djaneiro. It adds snippets and completions for Django templates, models, forms, and views, plus proper highlighting inside .html template files. Combine it with LSP-pyright (for ORM and import resolution), BracketHighlighter (for nested template tags), and AutoFileName (for static and include paths) to get a comfortable Django workflow.
Ship faster, whatever your editor
A tuned editor is one small part of moving quickly — the rest is architecture, testing, and shipping. MicroPyramid has built and maintained Python and Django applications since 2014, across 50+ projects, using whatever editor and stack fits the job. If you want a team that ships fast on Django, FastAPI, and AI-powered features, explore our Python development services.