right column side bar that indexes/jumps to ...... #3334
Unanswered
ptegler
asked this question in
Builder features or enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
The premise is a vertical menu, that indexes all the sections of a yaml file.
EG sensor: output: etc hearders, as well as any -platform .... or etc sub headers.
Use cases
Since you already have a function of tracking headers (not sure what 'you' call them) so the top xxx : section remains at the top of the page while drilling down, this right column menu would let you jump back and forth between sections, platform, sensor section, display it.print lines .etc etc very quickly rather than repeated scrolling and searching.
In the 3D Printer world, the RATRIG RatOS operating system uses a web page based config file system as well. This right menu is a new feature they recently added. I'm wishing EVERY IDE had this!
Visual examples
ok...I created a screen capture of the editor open.
Where esphome uses 'zero indention to denote 'titles'
RatOS uses [bracketed names] and no indention anywhere
and heavily subdivides config statements into INCLUDE files
Clicking on any title in the right menu, jumps you to that title
rightmenu2-for-esphome.png
rightmenu1-for-esphome.png
This makes it SOOOO easy to go back and find duplicate I/O designations or change device or icon names ....
ymmv jfft
Anything else?
edited... added here.... another thought.... debug compile failures already identify the offending line number. Could that line error, result is a color coded right menu item when you come back into the editor from a failed compile ! ? something linked to the 'red dots' that denotes invalid yaml text?
Beta Was this translation helpful? Give feedback.
All reactions