Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shtoyan opened this issue Jan 31, 2023 · 1 comment
Open

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

Shtoyan opened this issue Jan 31, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Shtoyan
Copy link
Contributor

Shtoyan commented Jan 31, 2023

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

@EliotVU EliotVU added the enhancement New feature or request label Feb 12, 2023
@EliotVU EliotVU added this to the 1.0 milestone Feb 12, 2023
@EliotVU
Copy link
Owner

EliotVU commented Feb 12, 2023

I will have to address this eventually, but for now I would recommend to give unique names to classes, or not include multiple mods in the same workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants