Notifications
Clear all

Arduino IDE 2

71 Posts
7 Users
19 Likes
3,788 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad

Screen Shot 2022 06 27 at 04.38.57

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad WOW, now I just discovered the side by side diff type display. That is new AFAIK.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
frogandtoad reacted
ReplyQuote
(@yurkshirelad)
Member
Joined: 3 years ago
Posts: 493
 
Posted by: @zander

@frogandtoad I have never seen that, how do you invoke it? Here is what I see when I do Cmd-F

Screen Shot 2022 06 27 at 04.23.19

CTRL+SHIFT+F on Windows?

 


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
Topic starter  

@yurkshirelad

Posted by: @yurkshirelad
Posted by: @zander

@frogandtoad I have never seen that, how do you invoke it? Here is what I see when I do Cmd-F

Screen Shot 2022 06 27 at 04.23.19

CTRL+SHIFT+F on Windows?

 

CTRL+SHIFT+F on Windows takes me to a search of the Arduino website, which does work OK.

Best bet is to check: "File -> Advanced -> Keyboard Shortcuts" or "Alt-Ctrl+Comma".

You can also edit the shortcuts there too.

Now that I checked, I don't see a "side by side diff type display", so not sure what @zander meant by that, as I assumed he was describing an in built diff tool feature?


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad YES, I had the Find pane, then two copies of my sketch, one before the changes, one after the changes and IIRC all I had to do was scroll one and they both scrolled and click somewhere to 'accept' the displayed change.

I was hoping you would know about this because I don't remember how I got there.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
frogandtoad reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad Here is a screen grab of the 'diff' display. It's possibly useful, but I 'think' I see errors in the counts, and I am not a fan of tiny fonts but still all good.

I think I also found my exclude feature, Arduino calls it fold. Still playing with it but hopeful.

Screen Shot 2022 06 29 at 10.09.37
Screen Shot 2022 06 29 at 10.14.40

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
Topic starter  

@zander

Posted by: @zander

@frogandtoad Here is a screen grab of the 'diff' display. It's possibly useful, but I 'think' I see errors in the counts, and I am not a fan of tiny fonts but still all good.

I think I also found my exclude feature, Arduino calls it fold. Still playing with it but hopeful.

Screen Shot 2022 06 29 at 10.09.37
Screen Shot 2022 06 29 at 10.14.40

The following link sheds some light on what happened to the split screens featur:

Split Code Windows

Cheers


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad Not sure if it's the same feature. This is RC8, doing a FIND / REPLACE two windows that scroll in synch showing the usual diff stuff. I stumbled on it when playing with the Find Icon on the left (magnifying glass icon) as opposed to the IDE 1 Command-F (Mac).

Also, what I have been calling excluding (from 50 years ago SPF) is now known as Code Folding. There is about a dozen keystroke cmds related to folding. I haven't tried them all out, but it is an improvement. With SPF I specified where to not show lines, the modern approach is to take away my choice and instead use logical levels like if and else levels.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
Topic starter  

@zander

Posted by: @zander

@frogandtoad Not sure if it's the same feature. This is RC8, doing a FIND / REPLACE two windows that scroll in synch showing the usual diff stuff. I stumbled on it when playing with the Find Icon on the left (magnifying glass icon) as opposed to the IDE 1 Command-F (Mac).

The link I provided sheds some light on what happened to it, since you use a Mac, your download might be different depending on day of download etc, but it appears they are aware of it.

Posted by: @zander

Also, what I have been calling excluding (from 50 years ago SPF) is now known as Code Folding.

Code folding is still available in the rc8 IDE, the drop down carrots are hidden right next to the line numbers on mine if you hover over them - I prefer that over the plus symbols in the IDE code window itself.

Cheers


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad I knew about IDE 2 having the folding, didn't know it was an option in 1, code folding was a term I knew from compiler optimization 50 years ago so didn't associate it with what I knew as eXclusion. I don't see any + symbols in RC8, just the on demand carets. I would prefer they stay displayed, I wonder if there is a setting for that somewhere?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
Topic starter  

@zander

Posted by: @zander

@frogandtoad I knew about IDE 2 having the folding, didn't know it was an option in 1, code folding was a term I knew from compiler optimization 50 years ago so didn't associate it with what I knew as eXclusion. I don't see any + symbols in RC8, just the on demand carets. I would prefer they stay displayed, I wonder if there is a setting for that somewhere?

That's right... in the latest (old version) 1x of the IDE, it's an option turned on via the preferences page, and it uses the '-' and '+' character symbols to do the code folding. I don't mind the later style at all.

Cheers


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

Arduino IDE 2.0 RC-9 is now available.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
Topic starter  

@zander

Posted by: @zander

Arduino IDE 2.0 RC-9 is now available.

Thanks Ron, have downloaded it for both Linux and Windows... Linux AppImage working OK, Windows version will not even launch... looks like they have broken it again 🙂


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6662
 

@frogandtoad The MacOS version is ok.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
Topic starter  

@zander

Posted by: @zander

@frogandtoad The MacOS version is ok.

The Linux version seems fine, though I am still experiencing some freezing on my Windows machine, but I think that's just my machine, as I've screwed around with it a lot lately 🙂  I'll test the latest version in a Windows 8.1 VM and see how that goes, and let you know.

Still haven't finished building my new machine yet... hopefully this week!

Cheers


   
ReplyQuote
Page 2 / 5