This repository contains various elements to support ChordPro files in Visual Studio Code. It is derived from sublime-chordpro. It includes the following:
- Syntax highlighting,
- Snippets
- Build Systems (chordpro -> PDF) requires "chordpro" is installed.
This is really for my own use, is not available in the VS Code marketplace. Very limited support is available and no further development is planned. This is unrelated to the ChordPro extension available in the marketplace.
The ChordPro format is a simple notation syntax for guitar chord and tab files commonly found on the internet.
You can find a more detailed explanation, along with it's origin and history here
- Clone this repo into $HOME/.vscode/extensions
- Store all chordpro files in a folder somewhere
- Open the top level folder, create a .vscode subfolder and copy tasks.json into it
- Ensure you have chordpro installed and configured how you like
- If using Windows, add the folder that
chordpro.exe
is installed into to yourPATH
user environment variable or edit .vscode/tasks.json and replace"command": "chordpro"
with"command": "C:\Full\Path\to\chordpro folder\chordpro"
(I don't use Windows so don't know the real installation path) - When working on chordpro files, open the top level folder in VS Code, not the individual files
- Convert to PDF using Terminal - Run Task... or Terminal - Run Build Task... (ctrl-shift-b)