Skip to content

File does not belong to any project target #62

@hunzi2636

Description

@hunzi2636

I’m experiencing an issue where the main.c file shows “File does not belong to any project target,” but this only happens with 8051 projects (Arduino-ESP32 projects are unaffected). Compilation and uploading work fine, but there’s no code completion.

My toolchain is configured with MinGW, and I haven’t changed it. The issue started after updating CLion and PlatformIO; previous versions worked without any problems. I attempted to revert to the older versions but didn’t succeed. I’ve also tried various solutions, such as switching the toolchain to “System Default” and clearing caches, but nothing worked.

Could someone please help? Thanks!

My versions:

CLion: 2024.2.3
PlatformIO Core: 6.1.16
PlatformIO Home: 3.4.4

屏幕截图 2024-11-01 101933
屏幕截图 2024-11-01 102042

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