Skip to content

Bug with "Peek Declaration" and "Peek Definition" also with "Go To ..." #138

Closed as not planned
@sstaub

Description

@sstaub

Describe the bug
There is a bug with "Peek Declaration" and "Peek Definition"
"Peek Declaration" does nothing!
"Peek Definition" shoes the declaration of functions instead of their definition
The same happens with "Go To...

To Reproduce
Steps to reproduce the behavior:

  1. Open Blink example
  2. right click on digitalWrite and select "Peek Declaration" -> noting happens
  3. right click on digitalWrite and select "Peek declaration" -> it shows the declaration in common.h

Expected behavior
It should work like in VSC, in this example

  • "Peek Declaration" should show the declaration of the function in common.h
  • "Peek Definition" should show the definition of the function in wiring_digital.c

Screenshots

  • Peek Definition in Arduino IDE

peek definition Arduino IDE

  • Peek Definition in VSC

peek definition in VSC

Desktop (please complete the following information):

  • macOS Catalina
  • Version 0.0.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions