Install the extension: Look for FIT File Viewer in the Marketplace
Right-click on a .fit file, select Open with...
Click Configure default editor for '*.fit'...
Click FIT File Viewer
Now, whenever you click on a .fit file it uses FIT File Viewer .
Develop
rm -rf node_modules out
npm install
npm run compile
npm run package
Upload extension to https://marketplace.visualstudio.com/manage/publishers/thomascamminady
Disclaimer 1
No work in this repository is affiliated with my employer, Wahoo Fitness.
Disclaimer 2
I have no idea what I am doing here. All code was written by ChatGPT and I haven't written a single line of JavaScript or TypeScript on my own. Suggestions to improve this code are very much appreciated.