-
Notifications
You must be signed in to change notification settings - Fork 16
LSP: add lsp hints for better copybook handling #488
Copy link
Copy link
Open
Description
The LSP currently only works very partially if there is a copybook used.
Examples:
copy1 -> part of WORKING-STORAGE, uses constant-names
copy2 -> constant names used in copy1
copy3 -> constant names used in copy3
copy4 -> part of PROCEDURE DIVISION
copy5 -> sections used in copy4
There was an old discussion on "the other cobol extension" before it dropped GnuCOBOL, I think we should support its syntax and add something on top. The following would be coded in copy1
*> @source-dependency copy2.cpywhile copy2 may have something like
*> @source-dependency common/copy3.liband so on.
The LSP would parse for those and try to resolve them if it is in "copybook mode" (= not for copybooks parsed from within a program)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels