Hello
It's my first topic, I used EDI V2 (between 2 and 3 hours per day) since the version beta2, it's a great job very more usable than the EDI V1 but some topics are missing.
When you start an upload, nothing is displayed, and if I click again and i have two upload in the same time.
Could you trace a message in the output windows ( for exemple compilation started ... )
You also could disable the upload button.
Some time, the compilation is fine, but with a problem with the upload ( I forgave to push the button on the board ) so i need to upload again, could you avoid to compile, just a upload is enough.
When you click, in the margin to reduce or developp the code, when there are multi line comment /* */ there is a problem, the comment stop the range of code.
As this version of IDE is a very jump in the future, could you manage the gestion of the board and the port, .... For each project in the same directory than the INO file, could you manage a "Preference.txt" file with une board, the port and all other parameters, Each time, I switch from one projet to another I need the configured again all the IDE, I lost a lot of time.
paloy57:
It's my first topic, I used EDI V2 (between 2 and 3 hours per day) since the version beta2, it's a great job
I'm very glad to hear you like it.
paloy57:
When you start an upload, nothing is displayed
I do think that there should be better feedback from the Arduino IDE 2.x in general. As for uploads, I recommend you to do this:
Select File > Preferences from the menu.
Check the box next to "Show verbose output during: upload"
Click the "OK" button.
The output from the upload process provides some feedback on the upload progress.
paloy57:
if I click again and i have two upload in the same time.
...
You also could disable the upload button.
This should have been fixed in the latest release by this:
paloy57:
Some time, the compilation is fine, but with a problem with the upload ( I forgave to push the button on the board ) so i need to upload again, could you avoid to compile, just a upload is enough.
There is already compilation caching, so you should find that subsequent compilations are very quick (unless you have changed to a different board selection, in which case it's necessary to recompile). Only the sketch is compiled every time.
paloy57:
When you click, in the margin to reduce or developp the code, when there are multi line comment /* */ there is a problem, the comment stop the range of code.
I can reproduce this bug. Please submit a bug report for this specific bug here:
You're welcome to also report your other feedback there if you like, but please use a separate GitHub issue for each distinct suggestion.
paloy57:
As this version of IDE is a very jump in the future, could you manage the gestion of the board and the port, .... For each project in the same directory than the INO file, could you manage a "Preference.txt" file with une board, the port and all other parameters, Each time, I switch from one projet to another I need the configured again all the IDE, I lost a lot of time.
This general feature has been discussed a lot already. It will need to be first implemented in Arduino CLI, which Arduino IDE 2.x uses for all non-GUI tasks. There is discussion about that here:
I did some investigation on this problem today. Even when using Arduino IDE 2.0.0-beta.7, I wasn't able to reproduce the issue as something linked to block comments specifically. But I did find a folding-related issue which can be caused by any sketch content, including block comments. I submitted a report about it here: https://github.com/arduino/arduino-ide/issues/568
@paloy57 it would be great if you could provide me with an example sketch I can use to reproduce this problem. Then I can check whether it's the same issue I reported at https://github.com/arduino/arduino-ide/issues/568, or some independent bug that should have a dedicated report.
Thanks for your quick response! I can see that it's the same problem as I describe in https://github.com/arduino/arduino-ide/issues/568. The issue is that the block comment is not indented with the rest of the code, not that it's a block comment specifically.
If you indent the comment to the same depth as the surrounding code:
for(i=display.width()-1; i>=0; i-=4) {
display.drawLine(display.width()-1, display.height()-1, i, 0, SSD1306_WHITE);
display.display();
/* test
de plusieur
ligne
*/
delay(1); // ISSUE 568 is visible or not
}
then the for code block will fold as expected:
Of course it should fold correctly regardless of the indentation, but this means that it should not be necessary to file a dedicate formal bug report on GitHub for block comments interfering with folding, since a fix for https://github.com/arduino/arduino-ide/issues/568 will also fix the problem you reported.
Thanks! Your feedback is very much welcome. We might be very slow to respond sometimes, but we are interested in it.