-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Allow multiple rows of tabs for large projects with lots of files #3601
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
Someday when the IDE supports breakpoint & stepping debug, a way to display (perhaps as read-only) the code from libraries and the core library files will be needed. Horizontal tabs won't be up to the task. Implementing a good way to view many tabs/files now will help pave the way for a debug-enabled future. |
No matter what, the popup menu always lets you switch to the source code, even if the tab is gone... @PaulStoffregen a couple days ago I made the following changes to my local IDE: to avoid the disappearing tabs issue, I am dividing my project into libraries which are stored in the main sketch. The code for the main level as well as the libraries can be edited directly in the IDE. Switching around is also straightforward with the outline tree view. computers are fast these days so it would be easy to extend it with say, the name of the methods/classes in each source file and some basic data to jump to them directly (we are talking regex, not ast). |
@PaulStoffregen I'm at the stage where I can edit local libraries and display the system one. The tabs are still somewhat the originals, but because I can split a project's code into sub-folders, then the right sliding does not matter as much... I am also looking into re-ordering them because I get frustrated when writing code if I can't have it the way I like. all that's missing from your list is a debugger. is this something you already started working on? is that something you'd be interested in collaborating on? it is getting high on my remainders list. |
Is there any progress on adding what i original asked for? Better organisation of tabs surely would be a benefit for all users regardless. Having the ability to group tabs in to sub sets may be another way to handle it? IDE improvements are so needed right now! |
From what I have gathered, the company has very little bandwidth available for big items. Arduino Create seems to be receiving a lot of their focus, and seemingly small items for the IDE are starting to get closed with a short "Arduino Create will do that". I started a separate master-list referencing the issues the team is either not interested in or does not have the resources to look into. This is one of them. |
I still like the idea of a desktop IDE with a debugger, decent tab handling, better library updating and continuing improvements suggested by the community and then put into new releases. I don't see the need to move from this type of model. Its working nicely. Web editors are not a road i want to go down |
although this is not a complete solution to this problem, something like the following may be a affordable interim step: cycle through the file names while the ALT key is pressed and only switch to the desired one when all keys are released. When many tabs are present, it has the merit of moving around with only the KBD. the display window can also indicate if the file has unsaved changes or show an icon matching the type (more meaningful in my situation where I deal with many more file types)... you get the idea. again it represents a minimal effect as it can all be done in a single new class and with 2 lines changed inside Editor (will work even in @matthijskooijman's proposed cleaned-up Editor code) |
In my experience so far I think the same scheme works fine when displaying the source code for any library. I guess the real test would be to open one of these sketches with many source files and see how things work out. |
tested with Marlin Firmware, solves arduino#6109 arduino#3601 arduino#1193
tested with Marlin Firmware, solves arduino#6109 arduino#3601 arduino#1193
tested with Marlin Firmware, solves arduino#6109 arduino#3601 arduino#1193
tested with Marlin Firmware, solves arduino#6109 arduino#3601 arduino#1193
tested with Marlin Firmware, solves arduino#6109 arduino#3601 arduino#1193
Hi, I would like to request an improvement to how tabs are displayed once you get a large project and the tabs go past your screen size. Some extra settings for multiple rows of tabs would be great for large multi filed projects. I like splitting up my large projects into more manageable files, but the file count can get high (+20) pretty quickly, so you end up only being able to see half you files on the tab line.
Cheers
Jim
The text was updated successfully, but these errors were encountered: