Skip to content

Intellisense not working properly showing unrelated variables/select intelliSense config not working #81

@justric123

Description

@justric123

Describe the bug:
My simple class without inheritance shows a large list of unrelated variables that are not member variables (accessing the class e.g. with "this"). This problem occurs only in VSC but not in IAR IDE. Here only the variables in scope are available.
All unrelated variables show the message if you click on details:
"Note: IntelliSense is not fully configured. Use the 'Select IntelliSense Configuration...' command to finish configuration.". But even if selecting a config it won't disapear. So I guess the selection step doesn't work properly. Maybe I can add the specific config directly in settings.json or iar-vsc.json?

To Reproduce:
any class I add has this behavioral. In any method/constructor/destructor.

Expected behavior:
Intellisense only shows member variables and methods of the specific class.

Actual behavior:
unrelated variables make it impossible to find members/methods.

Environment:

  • OS: Windows 10 Pro, running on VM
  • Embedded Workbench: Arm
  • Embedded Workbench version: 9.1
  • VSC Extension version: IAR Build v1.30.6, IAR C-SPY Debug v1.30.4

Additional context:
Add any other context about the problem here, e.g., log, projects, files etc. Logs can be obtained from the output view under the "IarServiceManager", "IAR Build", "IAR Config Generator" and "C/C++" sections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions