Skip to content

Outline view says "The active editor cannot provide outline information." #2087

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

Closed
3 tasks done
Mek7 opened this issue Jun 4, 2023 · 9 comments
Closed
3 tasks done
Assignees
Labels
type: imperfection Perceived defect in any part of project

Comments

@Mek7
Copy link

Mek7 commented Jun 4, 2023

Describe the problem

Outline view says "The active editor cannot provide outline information."
It does not display any outline.

To reproduce

Open any sketch. For example:

/*

 * EEPROM Clear

 *

 * Sets all of the bytes of the EEPROM to 0.

 * Please see eeprom_iteration for a more in depth

 * look at how to traverse the EEPROM.

 *

 * This example code is in the public domain.

 */


#include <EEPROM.h>


void setup() {

  // initialize the LED pin as an output.

  pinMode(13, OUTPUT);

  

  /***

    Iterate through each byte of the EEPROM storage.

    Larger AVR processors have larger EEPROM sizes, E.g:

    - Arduino Duemilanove: 512 B EEPROM storage.

    - Arduino Uno:         1 kB EEPROM storage.

    - Arduino Mega:        4 kB EEPROM storage.

    Rather than hard-coding the length, you should use the pre-provided length function.

    This will make your code portable to all AVR processors.

  ***/


  for (int i = 0 ; i < EEPROM.length() ; i++) {

    EEPROM.write(i, 0);

  }


  // turn the LED on when we're done

  digitalWrite(13, HIGH);

}


void loop() {

  /** Empty loop. **/

}

Then press F1, write "Toggle outline view" and select it from the dropdown to open outline view. Observe it displays "The active editor cannot provide outline information."

Expected behavior

Show outline of the sketch - function list. Such as in the video in #237

Arduino IDE version

Version: 2.1.1-nightly-20230604 Date: 2023-06-04T03:16:46.254Z CLI Version: 0.32.2 Copyright © 2023 Arduino SA

Operating system

Windows

Operating system version

Win 10 Pro x64

Additional context

The sketch is for Arduino Nano with old bootloader.

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
@Mek7 Mek7 added the type: imperfection Perceived defect in any part of project label Jun 4, 2023
@francwalter

This comment was marked as duplicate.

@francwalter
Copy link

francwalter commented Jun 13, 2023

Is there at least any trick to bring it back?
I remember on the early betas, there was always issues with that outline information (see 124), but often it was present.
There must be something to do about it, at worst a downgrade to 2.0.x?

@francwalter

This comment was marked as spam.

@francwalter

This comment was marked as spam.

@Mek7
Copy link
Author

Mek7 commented Sep 5, 2023

No, it's broken and considering it's a critical functionality, I'm suprised it's getting no attention.
I am still waiting for a version that fixes this, and am not aware of any workaround :(

@francwalter

This comment was marked as spam.

@arduino arduino locked as too heated and limited conversation to collaborators Sep 5, 2023
@per1234 per1234 self-assigned this Sep 17, 2023
@arduino arduino unlocked this conversation Sep 17, 2023
@per1234
Copy link
Contributor

per1234 commented Sep 17, 2023

Thanks for your report @Mek7. Please add a comment here to tell us which board you have selected from the Tools > Board menu in Arduino IDE when you experience this issue.


For all other interested parties: Please refrain from replying unless you have significant and unique information to add. If you only want to express your support for the PR or a comment in the thread, use the "Reactions" feature to add a "👍", etc.

Everyone who watches the repository receives a notification whenever any reply is made on any of the issues and PRs. It is important for the developers and maintainers of the project to watch the repository to make sure we see the valuable feedback from the contributors. But if the repository becomes the source of a large number of low value notifications we must either waste our time sorting through them instead of doing productive work, or else unwatch the repository.

Unstructured conversations about Arduino-related subjects are always welcome over on Arduino Forum.

@per1234 per1234 added the status: waiting for information More information must be provided before work can proceed label Sep 17, 2023
@Mek7
Copy link
Author

Mek7 commented Sep 17, 2023

Hello, the board is Arduino Nano.
I launched Arduino IDE to check it out today, it asked me to update to version 2.2.1 and now I see the outline view is working already, so it looks like it was fixed in the meantime.

@per1234 per1234 closed this as completed Sep 17, 2023
@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Sep 17, 2023
@NigelGuyLeeming
Copy link

If anyone else finds this post with the same problem, the outline may not appear until a board is selected in V2.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants