Sublime Text always on top

  1. Home
  2. Web Design and Development Blog
  3. The 25 Best Sublime Text Plugins for Front End Developers

The 25 Best Sublime Text Plugins for Front End Developers

  • by Tiffany Tse
  • Front End Development
  • Mar 28, 2018
  • 12 minute read
  • Leave a comment
  • Email
  • Pinterest
  • Facebook
  • Twitter
  • LinkedIn
Sublime Text always on top

To install Package Control, follow the instructions found on the Package Control website. From there, you can simply type in ctrl+shift+p on Windows, or cmd+shift+p on a Mac to open the Command Palette.

Sublime Text always on top
Installing Package Control.

Once the Command Palette is open, you can then type Install Package, to install a plugin from the Package Control website. You can also type Add Repository, which allows you to add plugins that are not hosted on the Package Control website, by simply using their repository url (make sure not to include .git at the end). And finally, Remove Package, will let you uninstall a plugin from your system by removing it, as well as any assets from the Sublime packages directory.

Find your new favorite Markdown editor in our roundup.

Snippets and code style

Snippets are a great built-in feature of Sublime Text. You can build your own, in addition to using the preinstalled ones, or use a plugin that has a bunch for you like Emmet. The way snippets work is simpleyou simply begin typing a keyword that activates a snippet, and press tab to expand the text.

2. Emmet

Sublime Text always on top
Expanding markup with Emmet.

Emmet is a plugin that enables faster HTML and CSS creation with the use of snippets. It uses abbreviations that expand to valid HTML tags.

For example, to build out a navigation you only need to type the following code:

Which will expand to:

View Emmet plugin

3. Alignment

Sublime Text always on top
Aligning variable definitions with Alignment.

Alignment plugin helps to easily align multiple selections, or multi-line selections. What that means is you can align multiple selections, or lines, via delimiter such as =. Simply type ctrl + alt + a on Windows, or cmd + ctrl + a on a Mac, to align your selection. To align with :follow this tutorial to setup custom delimiters.

View Alignment plugin

Git integration

Most developers use some type of version control. These days, Git seems to be the most popular. Here are a few Git related plugins for Sublime Text that make working with Git a lot easier.

4. SublimeGit

Sublime Text always on top

SublimeGit brings Git into Sublime, so you dont need to go back and forth between the command line and your text editor. You used to have to pay for this plugin (thats how awesome it is), but this past year it was open-sourced. It has a huge list of features, which you can find in the SublimeGit docs. To get started quickly, install the plugin and use the Command Palette to launch your Git commands.

View SublimeGit plugin

5. GitGutter

Sublime Text always on top
Modified line, deleted region borders, and inserted line indicators in the Sublime Text gutter.

GitGutter brings some native Atom functionality to Sublime, adding diff hints to the gutter of the sidebar. You can additionally hover on the indicators in the sidebar, to see a diff popup. You can perform a variety of commands on the change, such as copying the content of the diff state, reverting the changes back to the state in Git, jumping to next or previous change, and more.

Check out our list of the 21 best Atom packages for front end developers.

View GitGutter plugin

6. GitHubinator

Sublime Text always on top
Opening Git blame on Github for selected lines.

GitHubinator is a plugin that shows selected text on a remote GitHub or Bitbucket repository. You simply highlight the text you want to search for, right click to open the context menu, and launch the corresponding Github or Bitbucket web page in your default browser. This plugin is amazing if you need to figure out whos worked on a file previously, or check the Git blame.

View GitHubinator plugin

7. GitOpenChangedFiles

Sublime Text always on top

GitOpenChangedFiles isnt coy about what it does; its name says it all. Simply install and run cmd + option + o on a Mac, or ctrl + shift + o on Windows, and watch this plugin open the corresponding files for you in Sublime Text, with all the files youve changed in your branch.

View GitOpenChangedFiles plugin

You might also like: The Essential List of Resources for Shopify Theme Development.

Linters and syntax highlighting

While working on teams, consistency is imperative. Linters and syntax highlighting help provide that consistency and set best practices.

8. SublimeLinter

Sublime Text always on top

SublimeLinter is the most popular linter available on Sublime, as it currently sits in the top 25 downloads on Package Manager. Once installed, youll also want to install plugins for the various languages that you might code in.

To do this, just open Package Control to install plugins with the same name. Simply type SublimeLinter-<lintername>, for example SublimeLinter-jshint. You must install linter plugins with SublimeLinterthe version for Sublime Text 3 doesnt come with them pre-installed.

View SublimeLinter plugin

9. ChangeQuotes

Sublime Text always on top
Changing double to single quotes, with the Command Palette.

ChangeQuotes converts single and double quotes, and and re-escapes quotes within the string, according to their docs. Once installed, whenever you want to change quotes, make sure your cursor is inside the quoted text. Open the Command Palette to run ChangeQuotesthere is no need to select the text to change quotes.

View ChangeQuotes plugin

There are a ton of plugins for syntax highlighting. These are the two major plugins we use at Shopify, that fall outside the existing syntax highlighting that ships with Sublime Text.

10. SASS

The Sass plugin adds syntax highlighting as well as tab/code completion, for Sass and SCSS files.

View Sass plugin

11. Babel

Sublime Text always on top
Syntax highlighting courtesy of Babel.

Babel adds syntax definitions for ES6 JavaScript, with React JSX extensions.

View Babel plugin

12. Siteleafs Liquid Syntax

Siteleafs Liquid Syntax adds liquid syntax highlighting for Liquid as well as some handy snippets.

View Siteleafs Liquid Syntax

Editor enhancements

13. SideBarEnhancements

Sublime Text always on top
Left: Before SidebarEnhancements. Right: After SidebarEnhancements.

SideBarEnhancements provides enhancements to the operations on Sidebar of Files and Folders for Sublime Text. Particularly, it sets delete options as a Move to trash, includes an Open with, gives you the ability to move files, and more.

View SideBar Enhancements plugin

14. Maybs Quit

Sublime Text always on top

Maybs Quit enables a quick panel to confirm quitting Sublime Text. Both cmd/ctrl+w and cmd/ctrl+q are too close to one another on the keyboard, and can lead to mistakes. Avoid quitting Sublime Text unintentionally when youre only trying to close a file, by using Maybs Quit!

View Maybs Quit plugin

15. AutoFileName

Sublime Text always on top

AutoFileName follows through on its name: it completes filenames automatically. It triggers a dropdown with file names relative to your existing file and subsequent path as you type.

View AutoFileName plugin

You might also like:How to Add CSS Text Animation to Custom Themes.

16. View In Browser

Sublime Text always on top

View In Browser helps you to launch your projects into your default browser with a simple shortcut, ctrl+alt+v. It also enables shortcuts for various other browsers installed on your computer, such as Chrome, Firefox, Internet Explorer and more.

Checkout View In Browser plugin

17. GhostText

Sublime Text always on top
Linking CodePen to Sublime Text with the GhostText plugin.

GhostText is probably one of the coolest plugins Ive seen in awhile. It allows you to link your Sublime Text editor (with all your plugins ) to text areas in a browser. For example, you could work on a CodePen, but do all the editing in your main text editor. You just need to install the plugin and browser extension. Simply highlight the text area you want to link, and click the browser extension: then magic happens.

View GhostText plugin

18. BracketHighlighter

Sublime Text always on top
Bracket highlighting in Sublime Text 3.

BracketHighlighter does exactly what it says: it highlights the brackets in your code. It matches a variety of brackets, such as [], (), {}, , , #!xml <tag></tag>, as well as custom brackets if you add them.

View BracketHighlighter plugin

19. Gutter Color

Sublime Text always on top

Gutter Color is a great plugin that displays a colored icon for all lines containing a color. Whats nice about this plugin, compared to others, is that the color highlighting is a bit less intrusive, as it only appears in the gutter (instead of behind a highlighted word). It will please the designer in you.

20. ColorPicker

Sublime Text always on top

ColorPicker enables a color picker dialog and allows users to insert or change a selected color. To open the color picker, simply type cmd+shift+c on a Mac, or ctrl+shift+c on Windows or Linux. By default the hexcode inserted is uppercase, but you can change it to use lowercase letters by going to preferences and then package settings.

View ColorPicker plugin

21. A File Icon

Sublime Text always on top

A File Icon is great for easily scanning what files you have in your project. It simply adds pretty and customizable icons to supported files in your project sidebar. Its supported by Material and Boxy Themes for customized thematic icons.

View A File Icon plugin

Themes and fun

Since youll most likely spend lot of time using your text editor, its nice to make it as visually pleasing as possible. Its important to know that themes are different from color schemes. A theme is the look of your editor itself, such as the sidebar UI, tabs, modal windows, etc. A color scheme is the background and syntax highlight colors of the main editing area.

Sublime Text always on top

Resources to Grow Your Skills

Get your free copy of the Technology Product CSV sent directly to your inbox.

Email
Get free copy

By entering your email - well also send you marketing emails related to Shopify. You can unsubscribe anytime.

Our virtual cogs are turning.
Please note that it can take up
to 15 minutes for our email
to reach your inbox.

22. Color Sublime

Sublime Text always on top
Toggling through various color schemes with Color Sublime.

Color Sublime is a plugin that enables the installation of color schemes to your editor. These color schemes change the syntax highlighting. Whats great about this is you can cycle through a list of schemes, rather than having to install each one and see if you like it.

View Color Sublime plugin

23. DA UI

Sublime Text always on top

DA UI is a set of beautiful, clean interface and syntax themes for Sublime Text 3. The DA UI plugin also has custom icon support with A File Icon.

View DA UI plugin

24. Theme - Spacegray

Sublime Text always on top

Theme - Spacegray is a set of custom UI themes for Sublime Text 2 and 3 which are very minimal and clean. Spacegray also comes with Base16 color schemes.

25. Emoji

Sublime Text always on top

Because...why not. The Emoji plugin allows you to insert emoji via the Command Palette. Amazing!

View Emoji plugin

You might also like: How to Craft the Best 404 Pages for your Clients.

Plugins for all!

There are a ton of plugins you can install to customize your development experience. Hopefully, this article shows you a few new ones that youll enjoy. Do what makes sense for you and your job, and whatever will make you more efficient. Happy coding!

Grow your business with the Shopify Partner Program

Whether you offer marketing, customization, or web design and development services, the Shopify Partner Program will set you up for success. Join for free and access revenue share opportunities, tools to grow your business, and a passionate commerce community.

Sign up

Photo of Tiffany TsePhoto of Tiffany Tse

About the author

Tiffany Tse

Tiffany is a Developer Advocacy Lead at Shopify. She specializes in front end development, user experience design, accessibility, and is passionate about inspiring young designers and developers. Previously, she was an Ottawa Chapter Lead for Ladies Learning Code and worked as a Front End Developer at Shopify.

  • Email
  • Pinterest
  • Facebook
  • Twitter
  • LinkedIn
Topics:
Front End Development

Lets grow your digital business

Get design inspiration, development tips, and practical takeaways delivered straight to your inbox.

Email addressGet updates

No charge. Unsubscribe anytime.

Thanks for subscribing.

Youll start receiving free tips and resources soon.

Tải thêm tài liệu liên quan đến bài viết Sublime Text always on top