-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Provide a sketch navigation/outline view #4083
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
Comments
Done |
I am at the point where i will be able to automatically add the #include statements to the sketch source code when the user clicks on a checkbox near the name of a lib in the outline view [chk boxes to ba added soon] or automatically heckbthe right boxes when the sketch is loaded, and remove them when a #include is removed. |
I also have a experimental [read ugly read boxes] design for
System library source files can only accessed RO, so there is no point in changing the order of the tabs to view these files |
Lastly, i was thinking about making the #includes section of a sketch read only with a nice shadowed box around to signify that although it is source code, the IDE owns it (use the outline to add/remove/moveup/movedown the individual #include statements).. But dunno if would be useful or confusing. For each of the selected references (i.e. library), the IDE could systematically generated a guarded include statement like:
to ensure clean reporting even from the command line. but there are pitfalls with this approach... so at best it should be opt in... [#warn instead of #error, or some other checks - Like for e.g. I can actually test if the lib in question has the #define XXXXXXXX_lib and only generate the guarding code if things won't break] and if we want to be really finicky.. there could also be some sort of a XXXXXXXX_ver macro.... |
hello! i know this is old topic, but there is any progress / plans on implementing vertical tabs in ide? thanks! |
Hi @twanek , would you mind trying the Beta 1.9.0? While the horizontal, fixed width tabs are still there, at least they are scrollable and do not disappear when the window is too small. Let me know if it improves your workflow or if it could be further improved, thanks! |
thanks for the reply! sure, i can try it. should i download this beta from the arduino website? |
hope this feedback is useful, thanks for the work! if i can help with anything else, just send me a message. |
Even something seemingly simple as a single file sketch is in reality a more complex application silently pulling on multiple resources under the surface. The idea here is to be able to easily visualize these resources, without taking away any of the current beautiful simplicity.
Well done, this feature is the doorway to many other possible extensions.
Proposed reference design:

Expanded view (references is inappropriate)

The text was updated successfully, but these errors were encountered: