Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (19 loc) · 1.95 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.95 KB

ChordPro support for Visual Studio Code

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.

About ChordPro

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

Installing

  • Clone this repo into $HOME/.vscode/extensions

Setting up chordpro -> PDF conversion

  • 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 your PATH 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)

tabs