When comparing Brackets vs Yi, the Slant community recommends Brackets for most people. In the question“What are the best programming text editors?” Brackets is ranked 17th while Yi is ranked 46th. The most important reason people chose Brackets is:
Brackets will automatically refresh the browser and load the latest saved version of a file open in the browser. This works with php as well. Editing a css will even highlight the tag that's currently being worked on. However, it only works with Chrome.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Built-in browser live-updating
Brackets will automatically refresh the browser and load the latest saved version of a file open in the browser. This works with php as well. Editing a css will even highlight the tag that's currently being worked on. However, it only works with Chrome.
Pro Lightweight
Brackets is easy on memory usage and it starts up quickly.
Pro Free, open source and cross-platform
Brackets is entirely free and open source.
Pro Built-in extension manager
The functionality of Brackets can be extended via a simple-to-use extension manager. The extension manager also has a considerable number of extensions and themes.
Pro Can style a tag without switching over to the stylesheet
A feature called "Quick Edit" allows the user to select a tag in (a html file, for example) and edit the associated style without switching over to the css document. It also supports SASS and LESS pre-processors.
Pro Actively developed
Brackets is being actively maintained and developed.
Pro Popup previews
Hovering over colors hex codes or image paths will pop up previews of corresponding colors and images.
Pro Drag and drop support
Brackets supports drag and drop of text, as well as multi / rectangular selection.
Pro Can be hacked by any front-end developer
The editor is built using html, css, and javascript, making it extendable by any front-end developer.
Pro Multi-line (multi-query) editing
You can have your cursor independently on multiple lines and so creating templates and/or editing multiple things at once is really fast and easy.
Pro Vim mode
Vim-style editing is already built in the text editor.
Pro Support for Adobe PSD content
A default extension allows for the extraction of PSD resources, such as images and styles. There's good integration for placing extracted resources into source.
Pro Combines and improves upon the best text-editing features from your favorite editors
Yi has default configurations for Vim, Emacs, as well as CUA. It also makes several improvements that includes Sublime-like (multiple) cursors.
Pro More performant than Vim
Vim can be rather slow due the age of its code base. In particular, running large macros in Vim can be rather painful. Since Yi is being built from scratch it has been engineered for performance and with the benefit of hindsight.
Pro Extensible and modular editing features
As far as extensibility goes, Yi easily outstrips any other open-source text editor. Motions can be built from parser combinators, making them simultaneously flexible and modular - an open source hacker's dream.
Pro Plugins work together
Packages work together because they compile together.
Cons
Con Still missing some elementary text editor commands
Some gaps have to be filled by plugins, while these features should be built in.
For example:
- Jump to matching brace (bracket / parenthesis);
- Gutter selection of lines;
- Recall previous searches / replacements;
- Autofill of search field with text under caret (text has to be selected);
- Show whitespace / end of lines / indentation guides / right margin;
- Selection to upper / lower case;
and some more.
Con Problematic updater
Though the website says there is an update available, the updater in Brackets may give you an error, resulting in you having to download updates manually.
Con Slow
Con Supports only web languages by default <but>
Brackets is built for web development and that's where it excels at out of the box. Other languages that have a CodeMirror mode can be added as well.
<and language support plugins can be added>
Con Very few plugins available
Even though Yi is a general purpose text editor similar to Vim and Emacs, almost all of the plugins that have been written for Yi so far focus on supporting Haskell as a programming environment.
Con No way to reuse your existing customizations and keybindings
If you have spent years crafting your .vimrc
or .emacs
, there's no way to reuse it in Yi. You have to start from scratch.
Con Requires Haskell to compile and configure
GHC + Haskell packages makes for a rather large installation, which is a big ask for a relatively obscure terminal editor.