jellyfin / jellyfin-plugin-bookshelf

https://jellyfin.org
MIT License
212 stars 20 forks source link

Add development setup for Visual Studio Code #64

Closed carif closed 2 years ago

carif commented 2 years ago

The implementation of the development setup is based upon the implementation in the plugin template repository with addition of proper linux support. While it's not an optimal solution, I copied the jellyfinWindowsDataDir to have a jellyfinLinuxDataDir. It seems like it's not possible to add platform specific data to the .vscode/settings.json unless every user installs additional extensions.

I also added the required plugins to the .vscode/extensions.json file.

Note: I tested this setup under Linux only (as I currently don't have access to a Windows machine), thought it should work under Windows as I made no changes to the Windows part of the development setup.

Supported platforms by this PR: