Sublime Text: A Lightweight GUI Editor
Text Editors & IDEs Survey
Chapter 3 · Sublime Text: A Lightweight GUI Editor
Chapters 1 and 2 placed Sublime Text between nano's own minimalism and a full IDE's own depth. This chapter covers what actually fills that middle ground: a real graphical editor with genuine power features, still fast enough to feel closer to nano than to a full IDE in daily use.
Fast Startup, Real GUI
Unlike nano, Sublime Text is a genuine graphical application — syntax highlighting, a sidebar file browser, tabs across open files. Unlike a full IDE, it's built around launching near-instantly, a deliberate design priority rather than an accident of being simpler.
Multiple Cursors
Sublime Text's own signature feature: Ctrl+Click to place additional cursors anywhere, or Ctrl+D to select the next occurrence of the currently selected text and add a cursor there too. Every cursor edits simultaneously, letting you retype several similar lines at once, live, without a macro or a find-and-replace pattern. This is genuinely different from Android Studio: The IDE Itself's own Rename refactoring — multiple cursors is a manual, visual, multi-point edit you control interactively, not a structural operation that understands what an identifier actually refers to.
Goto Anything
Goto Anything (Ctrl+P) fuzzy-matches file names for fast, keyboard-only navigation, with @ narrowing to symbols and : jumping to a specific line number — quick project navigation without Sublime Text needing to build the kind of deep, persistent project index a full IDE maintains.
Package Control: A Real But Lighter Plugin Ecosystem
Sublime Text has a genuine package manager, Package Control — a real ecosystem nano has none of at all. But it's lighter than a full IDE's own built-in tooling in a meaningful way: packages here are community-contributed and optional, adding capability on top of a fast core editor, rather than being deeply integrated, always-on infrastructure the way a full IDE's own built-in refactoring and language-server tooling is.
| Aspect | nano | Sublime Text | Full IDE |
|---|---|---|---|
| Interface | Terminal only | Real GUI | Real GUI |
| Startup time | Instant | Near-instant | Real, noticeable |
| Plugin ecosystem | None | Package Control, optional | Deep, built-in tooling |
| Project awareness | None | Light (Goto Anything) | Full project index |
Hands-On Exercises
You need to rename a variable used on five lines, but on two of those lines the surrounding code also needs a small additional tweak specific to that line. Explain why multiple cursors would handle this situation better than a single find-and-replace operation.
📄 View solutionExplain why Sublime Text's own multiple cursors and Android Studio's own Rename refactoring, despite both being described as ways to change several things across code, are not interchangeable tools for the same job.
📄 View solutionA developer working on a straightforward static HTML/CSS/JS website is deciding between a full JetBrains IDE and Sublime Text. Using this chapter's own material, explain a reasonable case for choosing Sublime Text here.
📄 View solutionChapter 3 Quick Reference
- Sublime Text is a real GUI editor with near-instant startup, sitting between nano and a full IDE
- Multiple cursors (
Ctrl+Click/Ctrl+D) — interactive, per-location editing, genuinely different from a blind find-and-replace - Goto Anything (
Ctrl+P,@,:) — fast fuzzy navigation without a deep project index - Package Control — a real but optional, lighter-weight plugin ecosystem than a full IDE's own built-in tooling