Open Wikus86 opened 8 months ago
@Wikus86 I have tried recreating this with no luck.
Are you able to paste your code (not take a screenshot of it) so I can copy and paste it directly?
Thanks, Liam
Yeah, I can also not reproduce it, only happens in some programs. Let me try doing a debug on the program giving the issue. Will advise if I find something
I found something, looks like it gets confused with a procedure in my copybook.
This is an example of the code
in completionItem.ts, in the completionItemProvider function, it picks up i am on line 318 which is almost correct, actually on line 319
Then it tries to find the procedure based on the line number
The problem is, in my copy book I have a procedure in that line range
and the index is before the actual procedure I am in
I hope this makes a bit of sense :)
The problem is, in my copy book I have a procedure in that line range
I just stumbled over this sentence. Could it be I accidentally posted a duplicate issue in #323? If yes then I'm sorry! The code in pull request #324 worked it out for me.
Here is an exmaple of it not picking up the local workfield.
Another thing i noticed, linter picks up that it has not been references