Notepad++: How to automatically set Language as Xml when load files

后端 未结 5 1708
鱼传尺愫
鱼传尺愫 2021-01-30 03:26

Whenever I edit a .config file in Notepad++ (which is an XML file) I want the syntax highlighting to automatically color it like XML. How do I configure Notepad++ to do this so

5条回答
  •  野性不改
    2021-01-30 04:11

    To set a 'global' default language:

    1. Launch Notepad++
    2. Click Settings > Preferences
    3. Click on the New Document/Default Directory tab
    4. Change the Default Language to HTML
    5. Click the Close button

提交回复
热议问题