Press "Enter" to skip to content

How to Associate a File Type With Language in Notepad++

Sometimes we need to work on programming languages which are not configured in Notepad++ to show syntax colouring. For example, sometimes I work on Pro*c files which are having an extension pc and when I open a pc file I want notepad++ to show syntax colouring for SQL files. But it didn’t show then I manually select the language from the language menu. Which I don’t like to do always.

Then I researched in notepad++ and I found a setting with which you can associate a file type with language in notepad++. Below are the steps to do this.

Associate a File Type with Language in Notepad++

  1. Goto Settings > Style Configurator
  2. Scroll language list to find your language and then click on it and then user ext text box will appear as shown in below image. Then type the extension name there and save it.

Associate file type with language in notepad++

You can see above in user ext box I typed pc pls and plb extensions to always show syntax colouring for SQL language.

This way you can associate a file type with language in Notepad++.

Vinish Kapoor

Hi, I am a full stack developer and writing about development. I document everything I learn and help thousands of people. foxinfotech.in is created, written, and maintained by me; it is built on WordPress, and hosted by Bluehost. Connect with me on Facebook, Twitter, GitHub, and get notifications for new posts.

Be First to Comment

    Leave a Reply

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