UnrealScript-Language-Service icon indicating copy to clipboard operation
UnrealScript-Language-Service copied to clipboard

[Bug]: Multiple mod directories mess up class's field hint

Open Shtoyan opened this issue 1 year ago • 1 comments

Describe the bug

If you have multiple utility classes across different packages with the same name:

Workspace
|-- US Sources of the game
|   `-- ...
|-- MYMod_1
|   |-- ...
|   `-- Settings.uc
`-- MYMod_2
    |-- ...
    `-- Settings.uc

and try to access default variables:

class'Settings'.default.bHidePortraits

extension will show class hints only for one of the packages. For others it will warn variable does not exist on type MYMod_2.Settings.

Screenshots

image

Shtoyan avatar Jan 31 '23 09:01 Shtoyan