Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Intellisense not working in header files #1951

Open
Labels
topic: language serverRelated to the Arduino Language Server type: imperfectionPerceived defect in any part of project
@lafrank

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: language serverRelated to the Arduino Language Server type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /