Preview and export VexTab guitar tabs (powered by VexFlow) with cursor highlighting and more.
https://marketplace.visualstudio.com/items?itemName=MicoPapp.vextab
- Live preview for
.vt,.vextab, and.tabfiles - Export the current document to a PDF
This extension is built on a fork of the upstream VexTab 4.0 project, with additional parser/editor-focused features:
\line continuation for multi-line VexTab input- Cursor API (editors can highlight the current position while typing)
tabstaveandtuningsettings inherit to newly createdtabstaves until explicitly overridden- Document header text:
title,subtitle,sidenote(drawn above the first stave)
- Open a VexTab file (
.vt,.vextab, to use quick syntax.tab). - Run
Open VexTab Previewfrom the Command Palette. - Optional: run
Export VexTab to PDFto save a PDF.
The .tab extension enables a shorthand format that the extension preprocesses before passing it to the VexTab parser.
- A leading
tabstaveis optional; the extension inserts it when missing. - A line that looks like
key=value key=value ...is treated astabstave <that line>(excepttuning=..., which stays as-is). - An empty line can be used as a quick
tabstaveopener.
Same content in regular VexTab vs. quick syntax:
// song.vt (regular VexTab)
title Autumn Leaves
subtitle (lead sheet excerpt)
sidenote capo 2 - swing
tabstave notation=true tablature=true time=4/4 key=A
notes :8 5/6 7/6 8/6 7/6 | :q 5/6
tabstave notation=true tablature=true time=4/4 key=A
notes :8 5/6 7/6 8/6 7/6 | :q 5/6
// song.tab (quick syntax)
title Autumn Leaves
subtitle (lead sheet excerpt)
sidenote capo 2 - swing
notation=true tablature=true time=4/4 key=A
notes :8 5/6 7/6 8/6 7/6 | :q 5/6
notes :8 5/6 7/6 8/6 7/6 | :q 5/6
vextab.preview: Open VexTab Previewvextab.exportPdf: Export VexTab to PDF
VexTab is a language that allows you to create, edit, and share music notation and guitar tablature. Unlike ASCII tab (optimized for readability), VexTab is optimized for writeability.
- Tutorial: http://vexflow.com/vextab/tutorial.html.
Report bugs and feature requests here:
https://github.com/pmamico/vscode-vextab/issues.
VexTab 4.0: A VexTab Parser for VexFlow.
