8000 Outline view says "The active editor cannot provide outline information." · Issue #2087 · arduino/arduino-ide · GitHub
[go: up one dir, main page]

Skip to content
Outline view says "The active editor cannot provide outline information." #2087
Closed
@Mek7

Description

@Mek7

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

Metadata

Metadata

Assignees

Labels

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

    0