Go Down

Topic: Interest in overhauling the IDE user interface? (Read 20305 times) previous topic - next topic

Josh Marinacci

I don't understand what you mean by 'screen of custard'.

Boffin1

when you try and select just a line or two of text, and suddenly you get a load of yellow lines selected -  perhaps its one of my settings ?

CrossRoads

Nah - just heavy-handednes on the mouse  :smiley-mr-green:
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Josh Marinacci

could you post a picture of what you mean? Is it just that text is hard to read with a yellow selection?

CrossRoads

What he means is that's way too easy to highlight a whole lot of text when only a couple lines were desired.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Boffin1

Yes, it my be my slow reactons, but ofen I end up with a whole yellow page...

CrossRoads

Me too, its not just you. Can't have a twitchy hand.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

eried


Me too, its not just you. Can't have a twitchy hand.


Ohhh I see the issue too! never noticed because I never select with the mouse. I will check if there is some delay I can add so selection is more precise.
My website: http://ried.cl

CrossRoads

I'm usually working at  home on my Sony Vaio laptop with touchpad, have learned to sort of roll a finger along vs trying to slide.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Boffin1

Thats a relief that it wasnt just me imagining the custard screen :-)

Josh Marinacci

I'm digging into the Arduino IDE codebase now. It's not too complicated but it really seems like a mess. Basic compilation is done in a fairly convoluted way. There are a whole lot of references to compiling Java code.  Is there a reason for this? I'm guessing there is a lot of history in this codebase, so I'm weighing fixing it vs replacing it.  So far I have built a straightforward class that can successfully compile a sketch to a hex file. Adding support for alternate cores, multiple libs, and the other stuff should be fairly easy.

On the GUI, I've done some more prototyping. I'm trying to decide between using Swing or JavaFX.  JavaFX is the future of desktop Java and a lot prettier. Unfortunately it doesn't have a robust text editor, so doing things like Syntax Highlighting won't be possible for a while.  If I go with Swing then I can put something together very fast that will look decent, but it won't have access to the new JavaFX features.  In particular, it won't have access to the nice WebView.  I was really hoping to use the WebView for inline help / docs.  Thoughts? Does anyone care what it's written in?

- J

Graynomad

Quote
WebView for inline help / docs

Does that mean you have to be online to get docs or can it get files locally?

I'm all for using the newer JavaFX if it's better but personally I hate being forced to go online for documentation.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Josh Marinacci

The docs would be local still, but using HTML would give us very nice formatting.

Graynomad

Rob Gray aka the GRAYnomad www.robgray.com

westfw

#29
Sep 11, 2012, 05:32 am Last Edit: Sep 11, 2012, 05:34 am by westfw Reason: 1
Quote
There are a whole lot of references to compiling Java code.  Is there a reason for this?

This is because the Arduino IDE is based on "Processing" ( http://Processing.org ), a "simplified"  programming system for the desktop.  Processing has similar principles, but creates "mostly java" code, where Arduino (or "Wiring") generates mostly C++ code.  The pieces of the IDE that would have compiled and run the Java "sketches" of Processing are replaced with pieces that preprocess, compile, and upload, the avr-gcc code of Arduino.

PS: a questioned "to be answered" is whether modifications to the Arduino IDE will be accepted at all, or whether it's more efficient to stay in sync with the Processing project...

Go Up