Skip to content

Intellisense not working in header files #1951

Open

Description

Describe the problem

In a multi-file project that has multiple c header files besides the ino file intellisense is not working at all.
Includes placed in the ino file must be repetaed in each header file to allow intellisense to work somewhat.

Intellisense has been us over 10 years for now, how comes that in a new software - especially designed for a stricly typed language - it does not work ? without a working intellisense itI requires a huge amount of time to look-up information in various library documentation when using the library.

I appreciate the issue is probably rooted within VS Code core, which is a seriously crippled editing experience - despite all of its marketin stuff - compared to Visual Studio 2022 (not code !!!).

Perhaps it would be worth to invest some effort in real Visual Studio integration.

To reproduce

Create a proejct that has include .h files besides the ino file. Add any include statement to the ino and try to use intellisense in a header file.

Expected behavior

Intellisense to take all includes into consideration across all files int the project.

Arduino IDE version

2.0

Operating system

Windows

Operating system version

10

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions