vscode-abaplint icon indicating copy to clipboard operation
vscode-abaplint copied to clipboard

find all references: show error if code contains syntax errors

Open larshp opened this issue 11 months ago • 1 comments

as the list will be empty, which is misleading

larshp avatar Mar 06 '24 17:03 larshp

Looking into this now. I see 3 ways of doing it:

  1. checking diagnostics in onReferences when references is empty
  2. maintaining a list of files with broken syntax on the server and check that
  3. 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)

marcellourbani avatar Sep 28 '24 07:09 marcellourbani