-
-
Notifications
You must be signed in to change notification settings - Fork 433
New, Open and Example all opens new windows, not in tabs tabs. Tabs can't be closed.. #1555
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
The expected behavior of a new tab is for it to have no name until it is saved. |
This is by design. The Arduino IDE is a tool for developing sketches, so the sketch is the unit it works with. Each open sketch is contained in a dedicated Arduino IDE window. This might seem unnecessary for those who are used to working with single file sketches. However, Arduino sketches may contain multiple files, all of which are compiled as a single program. That fact is communicated intuitively to the user by this design.
The "Output" view opens on demand. It is closed by default. If you do a compilation, upload, or any other operation that produces console output it will open.
It is not clear to me what you mean by this. Please provide a detailed description.
No. It is in the stable production stage of development.
This was fixed 3 weeks ago: #1322
That is the location of the sketch before you save it.
I don't see that there is a need to make saving the sketch as a step in the Show Sketch Folder operation. The two things aren't inherently linked. I often use this feature as a convenient way to access the files produced by Sketch > Export Compiled Binary. I sometimes use this feature with a quick throwaway sketch. In this case, it would be inconvenient for me to have to go through a dialog just to access the binary file.
Again, you are using an outdated version of the IDE. This bug was fixed a month ago: #1409
Contributions are welcome. Thanks! Please see the Contributor Guide to learn about the ways you can help: https://github.com/arduino/arduino-ide/blob/main/docs/CONTRIBUTING.md#contributor-guide I have a few specific suggestions for you: Create a separate issue for each defect or potential enhancement you would like to report. You touch many unrelated subjects here. This type of issue is very difficult for us to manage. It is easy for us to miss one of the item and so this approach makes it less likely that all the things you report will be resolved. Take a more positive and professional tone. Some of the wording used in this issue is very insulting. That is counterproductive. Always test using the latest nightly build. You said you tried the nightly, but some of the bugs you reported do not occur when using the nightly build. |
Should I just give up and go back to Atmel studio instead? This is probable a no-go for me. Please, at least add an option in the preferences <3 Is it also intended not to be able to close tabs? Also, I wanted to add a file in the current project by selecting new, not a new project. I wanted what you get from selecting New tab from the three dots menu in line with the tabs. When pressing Examples/Open there was just an empty file open. Nothing I had opened or edited. I just started the program for the first time. I guess this is the default? You can't open it with no files? I assume it can't be open without a file as I can't close the files? I've used computers and programmed since about 1985 and have worked as a IT specialist for a lot of years. I feel I'm not the worst at using programs and figuring out their gui's. This doesn't feel like it follows conventions so it's really hard to find what you're looking for. For example: What does new and close in the menu mean? By changing "New" to "New project" and "Close" to "Close application/all files" it would be more clear. You could then add a "New tab/file in project" doing the same as the three dots menu one (and my concerns would be met/this bug solved for real). If you want I could work with you on the gui.
I want to have it always open and found no option for this. I hope there is one. If not it would be great if a toggle-button/option for this could be added. This would not be hard.
Clicking the three dots in line with the tab(s) and select New Tab.
That was not a question. I just don't feel the program is finished. I see that you didn't answer the most important part, the "Additional context". That's where I explain.
Then why not update the buggy version on the web page? This is the point, the bug I'm reporting.
This was a suggestion to get around the ugly behavior of showing a temp dir to a user.
You don't actually save the file before creating a binary?
Great, please update the web download and the integrated update tool update.
Thanks, I cloned it and read the docs and a bit on the theia web, curious to learn more about why it works as it does.
I know it got a bit clumped but as mentioned above the true bug was in the additional context. I will try to do better if I ever make another one.
I'm sorry if my frustration with installing a tool that didn't work (as I expected it to at least) leaked through. It is intended as constructive criticism. Please tell me what you feel is insulting? That it's not ready to be released? How could I express this opinion without telling you? I truly feel it should be removed from the arduino site until basic bugs like the first one I commented on (Examples listing not showing examples) are fixed. I also feel this bug which you say is by design is on that level. This is my positive (to avoid user frustration and negativity towards arduino) and professional opinion. I understand that you're working hard on it and that's great. I hope it will soon work in a good way.
I just tried the headline bug in the nightly and as I said I feel this was counterproductive due to this version being four weeks newer than the recommended advertised as stable version on the download page as linked above. Please update this one to save frustration for future downloaders, thank you! <3 If you want I can add these small things as separate suggestions/bugs. And I can help if you want. Or I can drop it. You decide :) |
I'm with Sofia on this one... It's not intuitive at all. Though maybe that's on me and not knowing that "Sketch" means more along the lines of "Project". As for the UI, I think it would have been more intuitive to go for a semi-VSCode like approach, where each "sketch" gets it's own group of tabs and the sidepanel could just show the currently open sketches to switch between them. And for what it's worth, I also agree on the suggestion for a single-file focused usage option. |
Describe the problem
New, Open and Example all opens new windows. The only way to open a tab is to select open tab in the ... menu and then a new file is created... but I can't even select where!? (Also there is no way to close these tabs!? This includes closing the program and selecting Close in the menu. The second I expected to close the current tab, not the whole program.) The new windows are identical to the first one except there is no output part of the window.
To test the open functionality I added a new text file be right-clicking and noticed there is no Show all files * in the open dialogue!? Is this program in alpha stage? I see no information that it's not a finished program. I just downloaded the latest, what I expected to be stable, version. Can I help with the project?
Also I currently have two "open" dialogues open by mistake since there is no lock on this.
Also the default directory is not used for new files (AppData\Local\Temp...) when doing Show Sketch Folder, not looking good. A question "Do you want to save your file" for example would be nice.
I also got an error message "Unable to watch for file changes in this large workspace..." It's two empty files, feels really silly.
To reproduce
File, New or File, Open or File, Example...
Expected behavior
Instead of a new windows being opened I expect a tab to be added (unless I specify that I want a new window or have selected an option in preferences to always open files in a new window but this would just be silly too).
I also expect to be able to close tabs both by right clicking them and clicking an X on the tab.
Arduino IDE version
2.0.0 Date: 2022-09-14T07:06:37.759Z (4 weeks ago) No update when checking
Operating system
Windows
Operating system version
10 21H2 19044.2006
Additional context
This was really frustrating. I'm looking for a project to contribute to. Maybe this is the one?
I did check the nightly and the functionality is the same though since I'm not using a alpha/beta version but the normal download I should have assumed the knowledge level of a normal user = Just updating with the built in update function. If this is not an acceptable version to run it should NOT be on top of the list of downloads.
Maybe my actual bug report is that this version is top on the page https://www.arduino.cc/en/software and Arduino IDE 1.8.19 is under the heading Legacy IDE! This one does not seem finished enough to be recommended to people expecting a functional IDE, not spending their time doing workarounds and sending in bug reports. If you put 2.0.0 as a Beta you can choose to test this would be the expected behavior.
Issue checklist
The text was updated successfully, but these errors were encountered: