Giter Club home page Giter Club logo

Comments (5)

Jawomo avatar Jawomo commented on May 28, 2024 3

The bug was reported 2 years ago, will this be fixed anytime? Or is this intended?

Still present in 2.00 beta.

from arduino-ide.

spoenemann avatar spoenemann commented on May 28, 2024

Output of Google Translate:

In Outline I've seen that appears the Loop function and void function, but now this bug, when I start, it is there, when I write anything goes away, I don't know how far this idea of putting the function tree goes, but already implemented, it would be nice if really were all functions, voids / if / while and etc, the functions that close code, and come description after it depending on the comment that is in the code.
And that it is possible to minimize the trees by functions and etc.
Besides that it is possible to minimize them in code, for example, I don't want to see the setup function now, minimize it, and that's it.

So for example, in the tree, this code below would look like this:

void setup
void test (Description 1)
------- if (If test)
void test2 (Description 2)
------- if (test2)
void loop

from arduino-ide.

Ferreira31 avatar Ferreira31 commented on May 28, 2024

Right, is this

from arduino-ide.

per1234 avatar per1234 commented on May 28, 2024

I am able to reproduce this issue simply by adding three line breaks to a sketch. For example:

  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".

I have encountered it under other conditions as well, but this was a minimal demonstration that seems to work consistently.

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

  • OS: Windows 10
  • Version: 2.0.0-beta.12-snapshot.4d8a7b8
    Date: 2021-11-25T17:38:39.422Z
    CLI Version: 0.20.0 [553c6375]

from arduino-ide.

francwalter avatar francwalter commented on May 28, 2024

At the moment it became worse: now the outline information is gone totally on 2.1.0, see issue #2087

from arduino-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.