Skip to content

[Bug]: Non-project files all claim to be gradle even when obviously not #266

@EpicVon2468

Description

@EpicVon2468

What happened?

If I go to any non-project file (anything I didn't write myself) and check my discord presence, it detects the file extension and name just fine, but seems to assert that it is a gradle file... despite obviously not being so?

It detects project files just fine, including actual gradle files, but only has issues with non-project files.

Below is two examples of it mistaking non-project files for gradle files:
Image
Image

And examples of working project files:
Image
Image
Image

IDE version

IntelliJ IDEA 2025.1.2

Plugin version

2.1.7

What operating system are you using?

Linux

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions