Skip to content

fabric.mod.json in "test" module still searches for files in "main" module #2331

@LunaticWasTaken

Description

@LunaticWasTaken

Minecraft Development for IntelliJ plugin version

1.8.0

IntelliJ version

2024.1

Operating System

Windows 11

Target platform

Fabric

Description of the bug

Ive noticed that the autocomplete/error-detection doesn't work how it's supposed to in the test module.

Normally it automatically autodetects/completes file paths and stuff:
image
image

However in test-packages, it seems that it still searches for files in the "main" package.
This leads to it throwing errors when the files are not the same name as the main files (eg. "testmod.mixins.json" instead of "modid.mixins.json"):
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions