Change default language highlighting in Notepad++

Notepad++ is a great tool not only to edit or write normal text but also text related to programming languages, that's the reason its so popular among the computer programmers. You must have see that you open a file say with .py extension the editor will render the content by highlighting syntax of Python, and if you work on a new tab it will be treated as a plan text file offering no syntax highlighting.

But what if you are a Python developer and want to always have this option available when dealing with files in Notepad++, you can do this by the following options,

  1. Open Notepad++
  2. Now go to Menu -> Settings -> Preferences..
  3. Select New document
  4. You will see a drop-down Default language
  5. Select the language you want as default to set and click close button.
  6. That's it.

Now say you select the language to he HTML all that you would type will be in color codes of HTML syntax.

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap