che-che4z-lsp-for-cobol
che-che4z-lsp-for-cobol copied to clipboard
Copybook Resolution Doesn't Work with Shared Folders
Description
If a copybook resides in a shared folder, it cannot be found.
Steps to reproduce
- Create a shared folder
- Put a copybook there
- Specify this folder as the path to the local copybooks (it should start with "\\")
- Add a
COPY
statement for this copybook - See an error "Copybook not found"
Expected behavior
Copybook resolved successfully.
Environment
- OS: Windows 10
- IDE: VS Code
Java doesn't have the native shared folders support, also this behavior might be platform-dependent. The language server may interact with the shared paths in two cases - resolving the copybooks and "go to definition". The first one is applied on the Java side, while the second means only sending the URIs to the client. So, references support is encapsulated into VSCode.