Closed msftrncs closed 3 years ago
Already fixed an issue where AT %
address definitions failed the symbol discovery for the entire VAR block.
I've tested and it works fine. Although it works very slow. Anyway, could you please resubmit this PR against develop branch? I use Git Flow, so master is the latest release.
Overhaul of SymbolProvider.ts to more thoroughly process well known POU symbols excluding symbol discovery in comments or quoted text, and with recovery of parsing on syntax errors where ever possible.
INTERFACE
,METHOD
,ACTION
keywords.VAR_GLOBAL
and others.VAR
's even when not nested in appropriate POU's.RETAIN
,CONSTANT
,PERSISTENT
,PUBLIC
,PRIVATE
, etc...VAR
keyword, often utilizing different attributes.CONSTANT
symbols.STRUCT
based types (simple types).UNION
structures.vscode.SymbolKind
selections for some symbols.POINTER TO ARRAY[x..y] OF FB_ProcessSomething
.References issue #25.