Source Address: http://www.cnblogs.com/qingliuyu/archive/2012/03/12/2392633.html
For. NET projects, Microsoft has designed a number of unique extensions, such as. aspx,. ascx,. config,. sln, etc., when these files are opened with notepad++, they are all white and then "language", "ASP", when the code is highlighted, The view is also very comfortable. But each time you open these files, you have to go through the specified language to highlight this step, is very troublesome. After some exploration, finally find a solution, configuration is easy. "Notepad++ is a highly customizable text editor." The resolution steps are shown in the illustration below.
1. The "Settings" menu opens "Language format settings"
2. Pop-up dialog, language list select ASP, at the bottom "custom extension" add the appropriate extension. Note: Do not add "." to the extension.
3. Open an ASPX file and the code will be highlighted. Note: It is not necessary to restart the notepad++.
---end
notepad++ viewing aspx