15

In Notepad++ or similar editors, one can get syntax highlighting for multiple file formats/languages. I'd like to have something usable on Windows that would let me do this with pgn files (see header tags, and annotations in different colors from main line moves).

Joe
  • 4,341
  • 2
  • 23
  • 42

2 Answers2

10

There is an extension for Vim (a great editor) that provides syntax highlighting for PGN. You can download Vim here. You can find the extension here.

Dennis
  • 781
  • 3
  • 12
  • 1
    I have used this before and it works pretty well. The only issue I see is if you are not used to `Vim`, it may take a bit. – xaisoft Jan 25 '13 at 19:08
  • 1
    There is a nice tutorial on `Vim` [here](http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/) that is worth reading. – Seth Jan 25 '13 at 19:19
  • 1
    Thanks! Yes, Vim was not my first pick. But it works. However it does not highlight textual annotations. Only move numbers and game header tags. – Joe Jan 25 '13 at 19:37
10

Notepad ++ with option Language->Pascal highlights headers, move numbers, actual moves and comments with different colors. Works exactly as I would expect.

Joe
  • 4,341
  • 2
  • 23
  • 42