spgennard/vscode_cobol

[support] navigation with SQL cursors

Evileoo opened this issue · 17 comments

Currently, this is not possible to see cursor declaration and references

Could it be possible to identify it as a variable ?
It would be awesome if we can move thru cursor calls

image
image

I think this is a reasonable request, let me have a think about the best way I can do it.

Please try out version 10.8.28

Okay

Go to / peek definition works
But Go to / peek references doesn't

It is still a bit easier to navigate thanks

this feature broke with the update
#333

Thanks, i will look at it tonight.

Peek references are present but hoverover peek is not

If you get a chance, update and you should fine it has changed.

Yep it got fix, thanks

So, are you a happy camper?

(Rename support in the pipeline)

Tell me if I'm wrong
We can only see cursor DECLARE and FETCH right ?
It didn't seem to work on OPEN and CLOSE

It should be okay, can you provide an example (does not have to compile, so you remove anything important to you)

Okay it works in my example but doesn't in the code
I'm searching for the bug

Sorry for the long waiting time.

I found out the bug doesn't come directly from your extension.
I copied a program with the bug in a new file to remove some parts and see what breaks the feature.
Surprsingly, it worked without removing any part...

I am still searching why it doesn't work in the original file.

Thanks for everything,
Léo

Okay, thanks

The functionnality broke with version 24.9.29

Yes, its a known issue, it will be brought back soon

Should be okay now

Yeah, it is partially back

image

I can see cursor declaration but I can't navigate to it