Skip to content

Commit 1ba3b03

Browse files
committed
Clean up README
1 parent dcfa951 commit 1ba3b03

1 file changed

Lines changed: 7 additions & 19 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,17 @@ in addition to being usable directly as a `javax.script.ScriptEngineFactory`,
1212
it also provides some functionality on top, such as the ability to generate
1313
lines of script code based on SciJava events.
1414

15-
## Code completion
16-
17-
The Script Editor completes code in Jython scripts: Java classes, their
18-
members and constructors (with their overloads), imports, the script's `#@`
19-
parameters and, in a live interpreter, its variables. This is Jython's own
20-
completion, which knows Java exactly, by `scijava-lsp-jython`'s language
21-
server; this plugin shows it the scripts as plain Jython (`JythonDialect`),
22-
their parameters declared.
23-
24-
A Python language server (ty, offered by `scijava-lsp-ty`, which runs it
25-
in a small environment of its own, built the first time it is needed) adds
26-
its completions too: for Python modules, and for Java classes, from Python
27-
type stubs (`.pyi`) of the Java packages the script imports, written in
28-
the background to `~/.cache/scijava/jython-stubs` (or
29-
`-Dscijava.jython.stubs=<dir>`). The server analyzes the script as CPython
30-
(Jython's standard library is Python 2's, but mostly the same); so it is
31-
asked for completions only, not for problems.
32-
3315
For a complete list of scripting languages available as part of the SciJava
3416
platform, see the
3517
[Scripting](https://github.com/scijava/scijava-common/wiki/Scripting) page on
3618
the SciJava Common wiki.
3719

38-
See also:
20+
## Code completion
21+
22+
The Script Editor completes code in Jython scripts with
23+
`scijava-lsp-jython`'s language server. The `JythonDialect` plugin is used
24+
to convert SciJava scripts into text that language server can understand.
25+
26+
## See also:
3927
* [Jython Scripting](http://wiki.imagej.net/Jython_Scripting)
4028
on the ImageJ wiki.

0 commit comments

Comments
 (0)