mainsail icon indicating copy to clipboard operation
mainsail copied to clipboard

[FR] Dropdown with sections in the editor

Open OasisOfChaos opened this issue 2 years ago • 2 comments

Describe the solution you'd like It would be nice to have a dropdown list in the editor when editing .cfg/.conf files that shows all the sections in the current file. Selecting an item in the dropdown jumps directly to that particular section. This saves a lot of scrolling (up and) down when you are tweaking your config :-)

OasisOfChaos avatar Feb 08 '22 09:02 OasisOfChaos

hi in my eyes its better to split the config in seperated parts like kinematics and heater.

goldjunge91 avatar Jul 07 '22 16:07 goldjunge91

Splitting configurations has a challenge in that any part of the configuration that requires save_config to write to the bottom of the printer.cfg fails if that value is any other file than printer.cfg. This forces a mixture of values in the printer.cfg that really belong in a specialized file such as z_offset in the bltouch.cfg file. I too would find it very nice to have a mechanism to jump to a specific section of a file. Edit: Yes, I know that search can be used... :-)

TxBillbr avatar Feb 08 '23 20:02 TxBillbr