scijava / script-editor

Script Editor and Interpreter for SciJava script languages
http://imagej.net/Script_Editor
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

Implement ij1macro autocompletion #21

Closed haesleinhuepf closed 6 years ago

haesleinhuepf commented 6 years ago

Hey guys,

as discussed on the forum. This PR brings auto completion for IJ macro. http://forum.imagej.net/t/auto-code-completion-for-ij-macro/11642

Please let me know what you think.

Cheers, Robert

haesleinhuepf commented 6 years ago

The URL was changed with 182056897212d0f0209ab36446eab64a941d32a5

Furthermore, I implemented a web-first strategy downloading functions.html from imagej.net if available. And there is a fallback to the functions.html in the resources dir. a95e06ab1e13dffe70daf92fc0d8cbb6df46e359

I don't like it so much as it takes a second to switch to macro language, because the internet is asked for the file... We may think about this...

ctrueden commented 6 years ago

This is awesome—thanks for working on it, @haesleinhuepf.

I am cleaning up the patch series now. The new language support plugin needs to live in imagej-legacy. The cleanups to the script-editor should stay here, of course. New PRs coming in a bit.

ctrueden commented 6 years ago

Closed in favor of #22 and imagej/imagej-legacy#191.