tidalcycles / vscode-tidalcycles

Support for TidalCycles in VSCode
GNU General Public License v3.0
35 stars 11 forks source link

Proposal: get rid of fallback boot parameters #40

Open crcdng opened 1 year ago

crcdng commented 1 year ago

Fallback boot parameters defined in https://github.com/tidalcycles/vscode-tidalcycles/blob/da95f23dea664ec2adb0849b89e0819a9f7df774/src/tidal.ts#L115 are silently applied when no path to BootTidal.hs is defined. This might appear convenient, however it can lead to hard to track errors as the boot parameter sets in this file and in BootTidal.hs almost certainly will continue to diverge.

This problem should be made explicit to the user.

As a solution, I suggest to remove the fallback parameters. The plugin would then require to enter the path to BootTidal.hs. If Tidal is installed before the plugin it can pre-populate the path.