Open tristan957 opened 1 year ago
What about this for at least that one token? https://github.com/leidegre/vscode-clang/blob/master/extension.js#L210-L238
I'll give it some thought. Thanks for grabbing that link.
There's also the vscode-python code that you yourself mention here: https://github.com/microsoft/vscode-python/blob/b68facc42f684f26c5f83f3cfe895e7aa4bb2bee/src/client/common/variables/systemVariables.ts What prevents this code from being used for this extension?
Mostly me not wanting to maintain it. It's all just a hack until VSCode recognizes that they should have given us this API at least 6 years ago.
I have a feeling there is a VSCode extension API for this, but I would have to go looking.