Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File does not belong to any project target #62

Open
hunzi2636 opened this issue Nov 2, 2024 · 0 comments
Open

File does not belong to any project target #62

hunzi2636 opened this issue Nov 2, 2024 · 0 comments

Comments

@hunzi2636
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant