• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
How to Enable Syntax Highlighting in Sublime Text 3

How to Enable Syntax Highlighting in Sublime Text 3

Posted on September 15, 2020 by Mel Hawthorne Leave a Comment

When you’re writing code, using a flexible text editor can be very helpful. Sublime Text 3 is a very flexible text editor with a lot of helpful features. One of those features is called “Syntax Highlighting”. Syntax Highlighting applies colours to syntax within your code to make it easier to see what certain parts of the code mean at a quick glance. Syntax Highlighting can also make code a fair bit easier to read as the structure is more visually defined.

Syntax Highlighting applies colours to the syntax of the code as a way to increase the visual definition and make it easier to read.

Tip: Syntax is a set of rules that describe the structure of a language. Syntax can vary heavily between languages.

Syntax Highlighting can be configured to match the syntax of any of the 74 languages and variants of languages included in Sublime Text 3.

Tip: Syntax Highlighting applies to the whole document, it’s not possible to configure a section of code to use a different set of Syntax Highlighting rules.

How to enable Syntax Highlighting

To manually enable Syntax Highlighting in a document, click on “View” in the top bar, then hover your mouse over “Syntax” roughly halfway down the drop-down list. Next, click the language you are using from the second level of the drop-down list. Once you select a language, Sublime Text will use the Syntax Highlighting for that language.

To enable Syntax Highlighting click on “View” in the top bar, then hover your mouse over “Syntax”, and select your programming language from the list.

Alternatively, if you save a document with a supported file extension, Sublime Text 3 will automatically apply the Syntax Highlighting for that language. For example, if you save a document with the file extension “.py” for Python documents, then Sublime Text 3 will automatically enable the Python Syntax Highlighting.

Tip: To disable Syntax Highlighting, select “Plaintext” from the supported language list.

You Might Also Like

  • How to Configure the Syntax Highlighting in Notepad++How to Configure the Syntax Highlighting in Notepad++
  • Fix Sublime Text Does Not AutocompleteFix Sublime Text Does Not Autocomplete
  • Troubleshooting Sublime Text Not RespondingTroubleshooting Sublime Text Not Responding
  • How to Configure the Tab Width in Sublime Text 3How to Configure the Tab Width in Sublime Text 3
  • How to Change the Theme in Sublime Text 3How to Change the Theme in Sublime Text 3
  • How to Hide the Minimap in Sublime Text 3How to Hide the Minimap in Sublime Text 3
  • Find and Replace in Sublime Text 3Find and Replace in Sublime Text 3
  • How to View Multiple Documents at Once in Sublime Text 3How to View Multiple Documents at Once in Sublime Text 3
  • Fix Sublime Text Error Permission DeniedFix Sublime Text Error Permission Denied

Filed Under: Software

Reader Interactions

Did this help? Let us know! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • Slack: How to Change the Description of Your Role
  • Google Duo: How to Prevent People from Being Able to Use Your Email Address to Contact You
  • How to Fix Microsoft Teams Error caa70004
  • Fix Skype Keeps Disconnecting on PC
  • Fix Microsoft Teams Not Displaying Images and GIFs
  • Can’t Connect to Google Play? Try These Useful Tips
  • How to Fix Zoom Error Code 614
  • Google Duo on Android: How To Enable Low-Light Mode

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

© Copyright 2021 Technipages · All Rights Reserved · Privacy