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

Reduce time to get a label added to the list for code completions #38

Open tommy9 opened 7 months ago

tommy9 commented 7 months ago

For the speed in offering labels, I think there may be an easy way to cut this in half (we use beebasm's two pass scan of the code to pick up labels and symbols first, then check everything can be resolved on the second pass), so should be able to provide the labels after the first pass. Longer term may be able to consider incremental parsing of just changes but that's more of a fundamental change.