Skip to content

[Need Help] how to exclude certain files from code checks? #3944

@PinkYuDeer

Description

@PinkYuDeer

I am reaching out because I'm looking for guidance on how to disable code checks for the built-in Gradle projects located in the 'build' folder.

As a beginner in Minecraft modding, I've found myself relying on certain files within that directory as part of my workflow with Gradle. At this point, I'm not overly concerned about potential issues related to those files.

Initially, I tried using VSCode's setting called 'files.exclude' to hide the build folder; unfortunately, I still see persistent warnings despite that effort. (more than 5k qaq)

Subsequently, I attempted excluding it from within the Gradle settings and used 'Java.Project.ResourceFilters' as an alternative approach. While this did help eliminate some warnings, it inadvertently led to complications regarding unrecognized project dependencies.

I've done quite a bit of searching online through tutorials and various resources but have yet to discover a viable solution. Would there be any way for me simply to disable these checks?

Thank you very much for your time and assistance!

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions