simondotm / beeb-vsc

Visual Studio Code Extension to support code development for BBC Micro
https://marketplace.visualstudio.com/items?itemName=simondotm.beeb-vsc
MIT License
13 stars 3 forks source link

File watchers #80

Closed simondotm closed 5 months ago

simondotm commented 6 months ago

Hi @tommy9 Just a heads up that in PR #77 I added some file watching capabilities. Its mainly for detecting the presence of dsd or ssd files in the workspace, but maybe that could also come in useful for detecting changes to .asm / .s / .6502 files too? eg. for optimizing symbol processing/listing possible entry point files etc. Food for thought anyway 👍

https://github.com/simondotm/beeb-vsc/blob/master/src/client/panels/emulator-panel.ts#L74-L108

tommy9 commented 6 months ago

Thanks, I'll look at how to trigger a re-parse if the settings.json file is updated. We should be notified of changes to the code files (assuming that they are edited in vscode that is) but would not notice any changes to the settings file immediately.