Skip to content

Outline view contents disappear after adding code to sketch #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
Ferreira31 opened this issue Jan 14, 2020 · 5 comments
Open
3 tasks done

Outline view contents disappear after adding code to sketch #124

Ferreira31 opened this issue Jan 14, 2020 · 5 comments
Assignees
Labels
topic: code Related to content of the project itself topic: language server Related to the Arduino Language Server type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project

Comments

@Ferreira31
Copy link

Ferreira31 commented Jan 14, 2020

Describe the problem

I'm using the "Outline" view. The functions of the sketch are shown in the view when it is first opened, but when I edit the sketch the program outline disappears and is replaced with the message:

No outline information available.

image

To reproduce

The fault seems to be reproduced consistently by this procedure:

  1. Select File > New from the Arduino IDE menus.
  2. Press Ctrl+Shift+P to open the command palette
  3. Select "Toggle Outline View".
  4. Place the cursor at line 3
    You should now see the correct outline of the program.
  5. Press Enter three times.
    The "OUTLINE" panel now shows "No outline information available".

Expected behavior

Program outline is updated in the "Outline" view as the sketch code is edited.

Arduino IDE version

2.0.0-beta.12-snapshot.4d8a7b8

Operating system

Windows

Operating system version

10

Additional context

The fault also occurs under conditions than the ones described in the reproduction instructions above.


I also encounter spurious results where outline components are missing or duplicated.

Additional reports

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
@spoenemann

This comment was marked as outdated.

@Ferreira31

This comment was marked as outdated.

@rsora rsora transferred this issue from arduino/arduino-pro-ide Mar 1, 2021
@silvanocerza silvanocerza added the type: enhancement Proposed improvement label Mar 1, 2021
@per1234 per1234 changed the title Function Tree Outline contents disappear after writing code Oct 28, 2021
@per1234 per1234 added topic: code Related to content of the project itself topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project labels Oct 28, 2021
@per1234

This comment has been minimized.

@Jawomo

This comment has been minimized.

@francwalter

This comment was marked as off-topic.

@arduino arduino locked as too heated and limited conversation to collaborators Sep 17, 2023
@per1234 per1234 changed the title Outline contents disappear after writing code Outline view contents disappear after adding code to sketch Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: code Related to content of the project itself topic: language server Related to the Arduino Language Server type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

7 participants