Provides python-ly formatting support for LilyPond files in VSCode.
Included in the VSLilyPond extension.
Requirements
- VSCode 1.14.0 minimum
- (Optional but recommended): VSLilyPond -- Provides advanced LilyPond language support
- Optional (for Linux, macOS and Windows users):
python-ly
- Since
0.2.0 , python-ly is bundled in this extension.
- If it doesn't work or if you wish to use your own installation, please install
python-ly and change the Settings.
python -m pip install python-ly
- If your standard Python 3 installation is not
python , please change it in the Settings
Issues
Please submit issues in the GitHub repository.
Contributing
Development
Requirements
- VSCode
npm
- Python (Tested on 3.8)
git (>= 2.13)
Setup
Clone repository with submodules
git clone --recurse-submodules https://github.com/lhl2617/VSLilyPond-formatter
Install npm dependencies
npm i
Install Python dependencies (Note that it is advisable to use a Virtual Environment)
python -m pip install -r ly/requirements.txt
Build python-ly for your system
python ly/build.py
Hit F5 to run an Extension Development Host.
See here for a detailed extension development guide.
Releasing
Releasing is done automatically via GitHub Actions. Bump the version in package.json and update CHANGELOG.md before merging into the default branch.
| |