-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed as not planned
Labels
.contrib/good first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorsarea:language serverAn umbrella label for all language serversAn umbrella label for all language serversarea:languagesAn umbrella label for all programming languages syntax behaviorsAn umbrella label for all programming languages syntax behaviorsarea:languages/cC programming language supportC programming language supportbugDEPRECATED label: use issue type 'Bug' insteadDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` actionLabel used by `stale` action
Description
Check for existing issues
- Completed
Describe the bug / provide steps to reproduce it
When writing a C program, if you try to use a function that has an equivalent C++ header, and use code actions to try to auto-import the corresponding C header, it will import the C++ version instead.
Ex: instead of importing errno.h, it will import cerrno
Environment
Zed: v0.147.2 (Zed)
OS: Linux Wayland arch unknown
Memory: 14.9 GiB
Architecture: x86_64
GPU: AMD Radeon 610M (RADV RAPHAEL_MENDOCINO) || radv || Mesa 24.1.5-arch1.2
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
redzimski, Enapiuz and Kvnbbg
Metadata
Metadata
Assignees
Labels
.contrib/good first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorsarea:language serverAn umbrella label for all language serversAn umbrella label for all language serversarea:languagesAn umbrella label for all programming languages syntax behaviorsAn umbrella label for all programming languages syntax behaviorsarea:languages/cC programming language supportC programming language supportbugDEPRECATED label: use issue type 'Bug' insteadDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` actionLabel used by `stale` action