Happy to test it @haesleinhuepf, but I’m getting a 404 on that imagej-legacy jar link.
Could you please try again? I just restored the file:
Seems to work well with a clean install of 2.0.0-rc-68/1.52h
No autocomplete for me on single line comments, multiline comments or end of line comments. Ctrl + space also does nothing once you’re in a comment.
I just implemented auto completion and online help for ImageJ macro in the script editor. I think that’s quite useful. Or at least I would have loved to have it when I started with macro programming. It’s basic but functional, as you can see here:
which language are you using in the script editor? The auto-completion is supposed to work for IJ macro only for now. IJ macro is not really object oriented and input. is not supposed to open any pulldown as there are no methods for objects…
Furthermore, please take care to use the forum functions properly. Your post looks like @frauzufall wrote it and my words look like yours…
I also just tested the IJ. issue you reported and in my Fiji it works:
Can you maybe explain in more detail what you did?
I’ve been using this new functionality a lot lately, and it really speeds up coding. It also has changed the way new users approach macros.
What I realized today is that the autocompletition doesn’t work when typing nested commands, as in:
Could it be possible to include autocompletition in these cases?
Thanks again for the great work!
thanks for the suggestion. Nested auto-completion works if you put a space before the method call:
The bracket is considered as part of a command in order to make this working:
But I see your point. Also the
run("... commands often don’t work because they are missing parameters in the auto-complete. Furthermore, apparently there is a bug at the moment, because the quotation mark is not considered as part of the command… I can fix that one soonish.
However, I like user-driven software development and I don’t want to nanny coders. Thus, let’s make a poll. I like polls
What appears more important to you? Auto-completion in nested calls or auto-completion of the string behind the
run method? (Examples shown above)