• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • 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

September 15, 2020 by Mel Hawthorne 1 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 Autocomplete
    Fix Sublime Text Does Not Autocomplete
  • Troubleshooting Sublime Text Not Responding
    Troubleshooting Sublime Text Not Responding
  • How to Configure the Tab Width in Sublime Text 3
    How to Configure the Tab Width in Sublime Text 3
  • How to Change the Theme in Sublime Text 3
    How to Change the Theme in Sublime Text 3
  • How to Hide the Minimap in Sublime Text 3
    How to Hide the Minimap in Sublime Text 3

Filed Under: Software

Reader Interactions

Comments

  1. feral dingo says

    January 4, 2023 at 10:37 pm

    took me a while to find this answer. (about 10 sites before I found my way here.)
    thank you.

Did this help? Let us know!

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

  • How to Print Labels from Excel Using MS Word Mail Merge
  • What Is NVMe Over TCP (NVMe/TCP)
  • Android Mobile Hotspot: How to Change the Password and Name
  • Windows 10: How to Force Quit and App
  • What is Dumpster Diving?
  • How to Download iOS 16 Beta 3 on iPhone or iPad
  • What is a Security Compromise?
  • Mastodon: How to DM Someone

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.

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy