Software Alternatives, Accelerators & Startups

Sublime Text VS D2

Compare Sublime Text VS D2 and see what are their differences

Sublime Text logo Sublime Text

Sublime Text is a sophisticated text editor for code, html and prose - any kind of text file. You'll love the slick user interface and extraordinary features. Fully customizable with macros, and syntax highlighting for most major languages.

D2 logo D2

Modern diagram scripting language to turn text to diagrams
  • Sublime Text Landing page
    Landing page //
    2023-07-17
  • D2 Landing page
    Landing page //
    2023-07-25

Sublime Text features and specs

  • Speed
    Sublime Text is known for its fast performance, even with very large files and heavy duty workloads, providing a smooth coding experience.
  • Customizability
    It offers extensive customization options via JSON settings files, allowing users to tailor the editor to their specific needs and preferences.
  • Package Control
    The Package Control feature allows for easy installation, management, and discovery of plugins and themes, greatly enhancing functionality.
  • Multi-Platform Support
    Available on Windows, macOS, and Linux, it enables a consistent working environment across different operating systems.
  • Multiple Selections
    Allows for simultaneous editing by making multiple text selections, which is a powerful feature for rapidly making large-scale changes.
  • Distraction-Free Mode
    Offers a distraction-free mode that lets you focus on code by providing a full-screen, minimal interface.
  • Command Palette
    Provides a command palette that gives quick access to various functionalities, making performing complex actions easier.

Possible disadvantages of Sublime Text

  • Cost
    While a free evaluation version is available, continued use requires purchasing a license, which may be a barrier for hobbyists or cash-strapped developers.
  • Limited IDE Features
    It lacks some of the advanced features found in full-fledged Integrated Development Environments (IDEs), such as robust debugging tools and integrated version control.
  • Steep Learning Curve
    The high degree of customizability can be overwhelming for beginners, requiring a significant time investment to master.
  • Plugin Dependencies
    While the extensive plugin ecosystem is an advantage, it can also lead to dependencies on third-party plugins which may not always be reliable or maintained.
  • No Real-Time Collaboration
    Unlike some modern editors, Sublime Text lacks built-in support for real-time collaboration between multiple users.
  • Occasional Plugin Conflicts
    Plugins can occasionally conflict with each other, causing unexpected behavior or performance issues.
  • Less Active Community
    Compared to some other popular editors like VSCode, the Sublime Text community is relatively smaller and less active.

D2 features and specs

No features have been listed yet.

Analysis of D2

Overall verdict

  • D2 is an excellent modern diagramming tool that lets you create diagrams from plain text, offering a clean syntax, attractive automatic layouts, and strong developer-friendly integration, making it a top choice for text-based diagramming.

Why this product is good

  • Uses a simple, readable declarative syntax that makes diagrams easy to write and version-control
  • Produces polished, professional-looking diagrams with multiple layout engines (Dagre, ELK, TALA)
  • Open source and actively maintained with a growing community and ecosystem
  • Supports advanced features like themes, animations, sketch-style rendering, and interactive tooltips
  • Integrates well with developer workflows, CI/CD pipelines, and documentation-as-code setups
  • Offers both a CLI and a hosted playground for quick experimentation

Recommended for

  • Software engineers and architects documenting system designs
  • Teams practicing diagrams-as-code and version-controlled documentation
  • Technical writers who want reproducible, maintainable diagrams
  • Developers who prefer text-based workflows over drag-and-drop editors
  • Open source projects needing embeddable architecture and flow diagrams

Sublime Text videos

SUBLIME TEXT REVIEW | CODE EDITOR TOOL

More videos:

  • Review - Visual Studio Code vs Sublime Text - Laravel Dev POV

D2 videos

D2 Review | If John Carpenter's The Thing Was A Soap Opera

More videos:

  • Review - Review: Gait D2 Series
  • Review - Classic Game Room - D2 review for Sega Dreamcast

Category Popularity

0-100% (relative to Sublime Text and D2)
Text Editors
100 100%
0% 0
Developer Tools
0 0%
100% 100
IDE
100 100%
0% 0
Open Source
0 0%
100% 100

User comments

Share your experience with using Sublime Text and D2. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Sublime Text and D2

Sublime Text Reviews

Boost Your Productivity with These Top Text Editors and IDEs
Sublime Text is widely regarded as one of the best text editors for coding. Its speed, flexibility, and ease of use make it a favorite among developers. With a simple and intuitive user interface, Sublime Text allows you to focus on your code without distractions. It supports a wide range of programming languages and offers features like split editing, multiple selections,...
Source: convesio.com
13 Best Text Editors to Speed up Your Workflow
As for the features, Sublime Text has an advantage in that itโ€™s extremely lightweight (low resource usage), but still keeps around some of the more advanced features you would expect out of a top text editor. The primary benefit is that Sublime Text offers shortcuts and search tools for immediately finding certain functions and making changes to multiple lines at once....
Source: kinsta.com
Top 10 Free CSV Readers in 2023!
Sublime Text: A text editor that supports multiple file formats including CSV and has powerful features for viewing and editing large CSV files.
Source: www.retable.io
Top 10 Notepad++ Alternatives for Mac in 2022
Another Notepad++ Mac alternative, Sublime Text is a good choice if youโ€™re going for code sophistication. The tool supports a lot o programming languages and mark-ups. In addition, you can even add in plugins in order to incorporate new functions. Sublime Text can actually be downloaded for free by Mac users. A purchased version is next up after you have finished the license.
Source: www.imymac.com
What's The Best C++ IDE? Our Top C++ IDEs & Editors In 2024
Sublime Text also offers a clean and uncluttered interface, which is great for focusing on your code without unnecessary distractions. This minimalist approach is combined with powerful editing features like syntax highlighting, customizable key bindings, code folding, and an advanced search functionality.
Source: hackr.io

D2 Reviews

We have no reviews of D2 yet.
Be the first one to post

Social recommendations and mentions

D2 might be a bit more popular than Sublime Text. We know about 4 links to it since March 2021 and only 3 links to Sublime Text. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Sublime Text mentions (3)

  • Want better keybinding parity between micro and Sublime Text?
    I went through the key-bindings in Micro (which use different modifier keys) and added them to Sublime Text:. - Source: dev.to / over 3 years ago
  • Trying pop os episode 1
    Oh, and sublimetext.com too if you prefer something "cleaner". It is multi-platform too, like VSCodium. Source: over 4 years ago
  • Sublime Text 3 Setup
    Sublime Text Terminal Shortcuts and menu entries for opening a terminal at the current file, or the current root project folder in Sublime Text. - Source: dev.to / over 5 years ago

D2 mentions (4)

  • Exploring Goja: A Golang JavaScript Runtime
    I work on the D2 project ([0]) and we switched from other Javascript runners (v8go) to Goja. Using a JS runtime with a dependency on cgo means your Go program loses the (huge) benefit of cross-compiling to different architectures, since at build time it gets linked to the architecture-specific libc. If you're interested in some production code with Goja, this is our code for calling RoughJS [1] from Go in order to... - Source: Hacker News / almost 2 years ago
  • I want to contribute to open source but don't know where to start
    You're welcome in D2! I maintain a Text to diagram language, released a few months ago, 13k+ stars, I'm actively tagging issues that are good first issues, clean well-tested Go, and I'm happy to help you get that first merge in. Feel free to chime in on any issue that looks interesting! https://github.com/terrastruct/d2. Source: about 3 years ago
  • Concrete Diagramming, a Lightweight Alternative to C4
    Right. It's okay to leave written documentation on SaaS (e.g. Notion), because the text is the artifact. If they're shutting down, or I don't like them anymore, I just move the text. But if Ilograph goes down, all I have is useless YAML. Our team went through this thought process when we decided to open source our text-to-diagram language, users need to be able to reproduce their docs even if we shut down... - Source: Hacker News / over 3 years ago
  • Interested in contributing to an open-source project? (11k stars)
    Hello! I run a popular open-source project: https://github.com/terrastruct/d2, it's a programming language for making diagrams from text. Source: over 3 years ago

What are some alternatives?

When comparing Sublime Text and D2, you can also consider the following products

VS Code - Build and debug modern web and cloud applications, by Microsoft

draw.io - Online diagramming application

Vim - Highly configurable text editor built to enable efficient text editing

flowchart.fun - An open-source tool for generating flowcharts from text

Notepad++ - A free source code editor which supports several programming languages running under the MS Windows environment.

PocketBase.io - Open Source backend with realtime database, authentication, file storage and admin dashboard, all compiled in 1 portable executable.