Open shilu1984 opened 5 years ago
I think a problem similar (identical?) to this came up on zulip today:
This successfully shows completion:
While this breaks:
Is there a concrete place I could begin hacking on this/what is causing this? I've run into this & similar issues often and I'm close to the point of trying to fix it just to have peace of mind.
In the
testfunc
function, julia-vscode can normally provide the fields autocompletion of the variableseg
andgp3
, but it can not provide the fields completion of the othersgp1
andgp2
.I understand that if fields completion is provided, the type of variable must be inferred automatically, which may require a lot of work to be done. However, the fields autocompletion of
gp2
whose type is specified explicitly should be as normal as function parametereg
or local variablegp3
.Thanks very much for your great works.