Skip to content
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

[Tools>Board] and [Sketch>Include Library] split ridiculous long menus into sub-menus #8858

Open
datenheim opened this issue May 7, 2019 · 4 comments
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)

Comments

@datenheim
Copy link

datenheim commented May 7, 2019

The menu list of the board-managerTools > Board menu is very (too?) long and scrolling in this menu is not convenient and seems to have (had) many bugs.

Indeed the Boards already are grouped by "Arduino AVR-Boards" etc.
These groups could/should simply be transformed to a submenu.

Thus boards are simpler and quicker to reach and scroll'n'search is reduced largely.
Also since list of boards is getting longer every day the current menu is not future proof.

Same may happen with the library managerSketch > Include Library menu. There also a grouping is existing and could be used.
Libraries not fitting into the three groups could get an own submenu.

I have only ESP32, ESP8266 and Micro/Mini/MegaCore Boardmanagers and even on FHD+ screen the menu is 3x longer as the screen. Scrolling really takes some time and simply the wrong solution to this problem.

Related to all versions up to 1.8.9 on Windows and afaik also on Linux.

@per1234 per1234 added Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) labels May 7, 2019
@per1234
Copy link
Collaborator

per1234 commented May 7, 2019

@datenheim let me make sure I understand a couple of things:

When you say "board-manager", do you mean the contents of the Tools > Board menu? Boards Manager is something different (Tools > Board > Boards Manager...) so your terminology is not clear.

When you say "library manager", do you mean the contents of the Sketch > Include Library menu? Library Manager is something different (Sketch > Include Library > Manage Libraries... or Tools > Manage Libraries...).

Scrolling really takes some time and simply the wrong solution to this problem.

Although not what you're requesting, this issue will be somewhat alleviated via #8607

@datenheim datenheim changed the title Board / Library Manager] split ridiculus long menus into sub-menus [Tools>Board] and [Sketch>Insert Library] split ridiculus long menus into sub-menus May 9, 2019
@datenheim datenheim changed the title [Tools>Board] and [Sketch>Insert Library] split ridiculus long menus into sub-menus [Tools>Board] and [Sketch>Insert Library] split ridiculous long menus into sub-menus May 9, 2019
@datenheim
Copy link
Author

Exactly, the Tools>Board menu is meant, sorry for being not exact in the first place.
Same is true for Sketch>Include Library.
Yes, the feature mentioned in #8607 presenting recently used boards (libraries) more prominently will fit nicely with my request. There could well be a first submenu showing the recently used objects.

@matthijskooijman
Copy link
Collaborator

For libraries, I implemented something similar in #1986, which divides puts libraries into submenus based on the current heading distinctions, as well as allowing them to be organized into subfolders under "libraries" (and these subfolders also cause submenus). The pull request was recently closed though, and was already quite outdated, but might still serve as inspiration in the future.

matthijskooijman added a commit to matthijskooijman/Arduino that referenced this issue Sep 19, 2019
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

This fixes part of arduino#8858.
matthijskooijman added a commit to matthijskooijman/Arduino that referenced this issue Sep 19, 2019
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

This fixes part of arduino#8858.
matthijskooijman added a commit that referenced this issue Sep 19, 2019
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

This fixes part of #8858.
matthijskooijman added a commit that referenced this issue Sep 19, 2019
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

This fixes part of #8858.
matthijskooijman added a commit to matthijskooijman/Arduino that referenced this issue Oct 1, 2019
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

This fixes part of arduino#8858.
matthijskooijman added a commit to matthijskooijman/Arduino that referenced this issue Jan 26, 2020
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

This fixes part of arduino#8858.
matthijskooijman added a commit to matthijskooijman/Arduino that referenced this issue Feb 3, 2020
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

Note that this first keeps a list of board items and then adds those to
the boards menu later. This could have been done directly, but the
intermediate list makes it easier to special-case single platform
installations, as well as sort the list in subsequent commits.

This fixes part of arduino#8858.
cmaglie pushed a commit to matthijskooijman/Arduino that referenced this issue Mar 25, 2020
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

Note that this first keeps a list of board items and then adds those to
the boards menu later. This could have been done directly, but the
intermediate list makes it easier to special-case single platform
installations, as well as sort the list in subsequent commits.

This fixes part of arduino#8858.
cmaglie pushed a commit that referenced this issue Mar 25, 2020
Previously, the Tools->Boards menu was one long list, divided into
different platforms by (unselectable) headers. When more than one or two
platforms were installed, this quickly results in a very long list of
boards that is hard to navigate.

This commit changes the board menu to have a submenu for each platform,
where each submenu contains just the boards for that platform.

Note that this first keeps a list of board items and then adds those to
the boards menu later. This could have been done directly, but the
intermediate list makes it easier to special-case single platform
installations, as well as sort the list in subsequent commits.

This fixes part of #8858.
@per1234 per1234 changed the title [Tools>Board] and [Sketch>Insert Library] split ridiculous long menus into sub-menus [Tools>Board] and [Sketch>Include Library] split ridiculous long menus into sub-menus Apr 4, 2021
@per1234
Copy link
Collaborator

per1234 commented Apr 4, 2021

The Tools > Board component of this request was fixed by #9238 (thanks Matthijs!). The Sketch > Include Library component remains.

There was also a previous request for Tools > Board sub-menus here: #1177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

3 participants