SMUsamaShah
SMUsamaShah

Reputation: 7900

Import Visual Studio syntax highlighting in Notepad++

Is there any way to import Visual Studio syntax highlighting in Notepad++? I need it for HTML,PHP,JavaScript syntax highlighting

Upvotes: 32

Views: 39755

Answers (6)

RamKumar
RamKumar

Reputation: 41

https://github.com/60ss/Npp-1-Dark

Theme Installation:

  • Download Npp-1-Dark.xml.
  • Run Notepad++ As administrator.
  • Open Setting -> Import -> Import style theme(s).
  • Choose Npp-1-Dark.xml.
  • Open Settings -> Style Configurator and Select theme Npp-1-Dark.
  • Click Save & Close.

Sass Syntax Highlighting Installation:

  • Download Npp-1-Dark-Sass.xml.
  • Open Language -> Define your language....
  • Click Import and Choose Npp-1-Dark-Sass.xml.
  • Click Open.
  • Restart Notepad++.

Upvotes: 0

RamKumar
RamKumar

Reputation: 41

  • Close Notepad++
  • Download Notepad++ Visual Studio Theme "VS2019-Dark.xml" https://github.com/hellon8/VS2019-Dark-Npp
  • Extract the files to C:\Program Files\Notepad++\themes then start Notepad++ (create themes folder if it does not exist)
  • In the menu bar, open Settings→Style Configurator vs2019-Dark... enter image description here
  • Click the Select theme dropdown and select the Visual Studio theme.
  • Click Save & Close button.

Upvotes: 1

izogfif
izogfif

Reputation: 7575

  • Close Notepad++
  • Download Notepad++ Visual Studio Theme
  • Extract the files to C:\Program Files\Notepad++\themes then start Notepad++ (create themes folder if it does not exist)
  • In the menu bar, open Settings→Style Configurator...
  • Click the Select theme dropdown and select the Visual Studio theme.
  • Click Save & Close button.

Information about theme can be found on archived page.

Upvotes: 35

You have this version on GitHub : https://github.com/SeanCline/Npp-VS2012-Dark

Upvotes: 3

Darknight
Darknight

Reputation: 2500

Although You can't directly "import" the syntax highlighting style of Visual Studio. you can set up your own custom highlighting styles. Or edit the existing ones.

Edit:

There are many resources on-line on how to create/edit custom Syntax Highlighting.

Here is one:

http://weblogs.asp.net/jgalloway/archive/2006/11/25/creating-a-user-defined-language-in-notepad.aspx

Upvotes: 2

Dave Wise
Dave Wise

Reputation: 306

Notepad++ only supports its own highlighting of plain text. Try pasting it into something that normally edits rich text like Word.

Upvotes: 4

Related Questions