codefori / vscode-rpgle

RPGLE language tools for VS Code
MIT License
39 stars 18 forks source link

Refer to #308 about issue on resolving names of variables or data structures inside a source #313

Open allthom opened 4 months ago

allthom commented 4 months ago

I refer to issue #308, i made a small video of what's happening in my sources. I have always been used to defining the local variables and data structures of a sub-procedure within the procedure start and end placeholders. Apparently, however, the extension doesn't like this. Or am I doing something wrong in terms of programming style. In any case, the compiler doesn't make too much fuss about recognizing and validating these variables and data structures regardless of where they are written as definitions.

https://github.com/codefori/vscode-rpgle/assets/141107907/3887fd2b-f4a4-4014-8fb4-401ab6223a7d

worksofliam commented 4 months ago

@allthom Can you please share the source code of this so I can recreate this too?

Thanks!!

allthom commented 4 months ago

here we go @worksofliam TIA P.S. My sources are stored in pf-src.

VSCode.zip