Skip to content

Files that match ignoreGlobs are not included when workspace diagnostics are run again #1144

@Tazmondo

Description

@Tazmondo

If a file matches your ignoreGlobs setting, then it seems not to be included when workspace diagnostics runs, and so you have to open the file for its type signature (not sure if this is the correct word, just the shape that requiring it returns, what functions it has etc) to update when it is changed by some external source.

For context:
I am using Blink for my networking, and it auto-generates luau files with events in them. I have these ignored because they have warnings. When Blink runs, I have to open the file before requiring them gives the correct results. I should not have to open the file, since I have workspace diagnostics on.

If I remove these files from my ignoreGlobs then everything works as expected (but I now have to deal with warnings that I can't fix)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions