midouest / vscode-playdate-debug

Unofficial Playdate debug extension for Visual Studio Code on macOS, Windows and Ubuntu
https://marketplace.visualstudio.com/items?itemName=midouest.playdate-debug
MIT License
38 stars 4 forks source link

Support sdkPath, sourcePath, outputPath and productName properties on task/launcher configuration #11

Closed midouest closed 1 year ago

midouest commented 1 year ago

The task and debug launcher configurations now support passing certain workspace-level properties through the task/debug configuration. This was done because we needed to override any possible workspace configuration to support "Run/Debug file in Playdate Simulator".

We could take this a step further and officially support these properties on each task/launch configuration. We could also update the ConfigurationResolver to skip resolving data from the filesystem if these variables are already configuration.

This would benefit users because we would allow more flexibility in how tasks are configured within the project, and there would be a small performance improvement from skipping filesystem access when the configuration is already provided.