vscode-abaplint
vscode-abaplint copied to clipboard
find all references: show error if code contains syntax errors
as the list will be empty, which is misleading
Looking into this now. I see 3 ways of doing it:
- checking diagnostics in onReferences when references is empty
- maintaining a list of files with broken syntax on the server and check that
- changing core to throw an exception in References.references when syntax is broken (or perhaps even lower, say in lookup or even spaghetti )
Probably going for (1)