xsharp.eu • Goto/Peek not working on global
Page 1 of 1

Goto/Peek not working on global

Posted: Fri Mar 25, 2022 12:32 pm
by ic2
Not sure if this would be solved with https://github.com/X-Sharp/XSharpPublic/issues/997 but this doesn't work either:

e.g
cPath:=cDataPath

In another included lib we have:

GLOBAL cDataPath as string

In VO I can directly go to this global definition. In X# this doesn't work (Peek/Goto definition on cDataPath).

Contrary to the Dword surrounded method of #997, the tooltip is correct.

Dick

Goto/Peek not working on global

Posted: Fri Mar 25, 2022 4:17 pm
by Chris
Hi Dick,

This seems to work fine here, does it happen to you with all GLOBALs or with some of them only? Can you reproduce the problem in a small test project?

.

Goto/Peek not working on global

Posted: Fri Mar 25, 2022 5:28 pm
by ic2
Hello Chris,

Further checks revealed that for none of the globals Goto/Peek work in a specific library although the library where the global is in, is included, and the tooltip is correctly referring to the global too.

When I add the same global into on of the other libraries which also include the library (with the globals) it does work.

I have to figure out if I can find a difference. Or a way to reproduce.

Dick

Goto/Peek not working on global

Posted: Fri Mar 25, 2022 10:56 pm
by Chris
...or you can send the library :-)