PhilippeChab / nwscript-ee-language-server

A NWScript Language Server.
https://marketplace.visualstudio.com/items?itemName=PhilippeChab.nwscript-ee-language-server
MIT License
20 stars 7 forks source link

Struct Member Completion Issue #53

Closed Daztek closed 1 year ago

Daztek commented 1 year ago

Small issue with struct member completion, it only works when accessing the variable standalone, for example:

struct SomeRandomStruct
{
    int a;
    string b;
};
void SomeFunction(struct SomeRandomStruct str)
{
    str. // Completion shows the struct member vars here

    if (str. // Completion doesn't show the struct member vars
}
PhilippeChab commented 1 year ago

Good catch! Will look into this.

PhilippeChab commented 1 year ago

Will be fixed in 2.1.0.