-
Notifications
You must be signed in to change notification settings - Fork 7
Description
In my setup we have the file extension ".txt" on all COBOL files including copies. So i setup the extension in VS-Code the following way:
"files.associations": {
"**/*.SRCE.COBOL.*/*.txt": "cobol",
"**/*.SRCE.COPY.*/*.txt": "cobol",
},
"cobol-lsp.cpy-manager.paths-local": [
"Code/P009.SRCE.COPY.R004"
],
"cobol-lsp.cpy-manager.copybook-extensions": [
".txt"
],
The folder "Code/P009.SRCE.COPY.R004" contains all the copies, while all the COBOL code is in "Code/P009.SRCE.COBOL.R004".
But this leads to the behaviour, that i can't navigate to Copybooks from my COBOL files with a ".txt" extension. Probably all my files are detected as copies now.
One example:
File: "Code/P009.SRCE.COBOL.R004/P04T0000.txt"
The Copies are not clickable and the plugin does not even register, that those should be copies.
Once i rename the file, it let's me navigate and even shows, that the copybook contains an error:
Is there a fix or workaround available for this issue, without me needing to rename all files?