imagej / imagej-ui-swing

ImageJ UI for Java Swing.
BSD 2-Clause "Simplified" License
10 stars 20 forks source link

[WIP] Script Editor Improvements and Autocompletion #40

Closed Squareys closed 9 years ago

Squareys commented 9 years ago

Very early pull request for discussion!

Hello @ctrueden, hello all,

this will be where I will work on the script editor, make suggestions and discuss changes. I didn't do too much so far and the main timeframe I am going to be working on this will be mid July - end of September. I'm guessing I might find some time before every now and then, though.

My suggestion on how to go about the main goal "Autocomplete for Java" would be:

The focus on Java is related to my work on the ScriptingNode for KNIME-ImageProcessing. Please tell me what you think and if you see any problems with that rough idea of a plan.

Regarding code format: would it be okay if I let eclipse code formatter run over the code (or the script package) once and commit that in a big "Format code" commit?

Greetings, Squareys (Jonathan)

ctrueden commented 9 years ago

Thanks @Squareys, these changes are great. I cherry picked them both to master (with a small tweak on the PrefService one), so you can probably just do git fetch origin && git reset --hard origin/master && git push --force on this branch to start it over from the latest now.

Squareys commented 9 years ago

Well, this was not supposed to get closed.

Squareys commented 9 years ago

@ctrueden Changes up to and including https://github.com/Squareys/imagej-ui-swing/commit/4afa70069e5677f96224a302a931026e4d6c7381 ("Remove managed scijava-ui-swing version") could be already merged, if you want to.

Next feature will be autocompletion and will take a while to get somewhat stable.

ctrueden commented 9 years ago

@Squareys Thanks. Feel free to create a smaller topic branch with only those changes which are ready, then merge it to master. If no one on your side has commit rights, let me know and I'll add you ASAP.

Squareys commented 9 years ago

then merge it to master

@ctrueden like just merge without review? (I have commit rights, I believe)

Squareys commented 9 years ago

I could at least point out one or two commits for you to look at more closely, just in cases where I'm not entirely sure if things were a certain way for a reason.

hinerm commented 9 years ago

@Squareys is there anything in this PR not covered by #51 and #54 ?

Squareys commented 9 years ago

Nope, both of them originated from this one. I created "topic-branches" for some cleaner pullrequest. This can be closed as soon as they are both merged.

ctrueden commented 9 years ago

Thanks @Squareys!