Skip to content

Commit b2c6fb0

Browse files
gselzerclaude
andcommitted
Follow scijava-code-lsp's rename to scijava-lsp
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c7942be commit b2c6fb0

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ lines of script code based on SciJava events.
1717
The Script Editor completes code in Jython scripts: Java classes, their
1818
members and constructors (with their overloads), imports, the script's `#@`
1919
parameters and, in a live interpreter, its variables. This is Jython's own
20-
completion, which knows Java exactly, by `scijava-code-lsp-jython`'s language
20+
completion, which knows Java exactly, by `scijava-lsp-jython`'s language
2121
server; this plugin shows it the scripts as plain Jython (`JythonDialect`),
2222
their parameters declared.
2323

2424
A Python language server (jedi-language-server, offered by
25-
`scijava-code-lsp-jedi`, which runs it in a small environment of its own,
25+
`scijava-lsp-jedi`, which runs it in a small environment of its own,
2626
built the first time it is needed) adds its completions too: for Python
2727
modules, and for Java classes, from Python type stubs (`.pyi`) of the Java
2828
packages the script imports, written in the background

‎pom.xml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787

8888
<!-- TEMP: Remove once pom-scijava manages scijava-common 2.101.0. -->
8989
<scijava-common.version>2.101.0</scijava-common.version>
90-
<scijava-code-lsp.version>0.1.0-SNAPSHOT</scijava-code-lsp.version>
91-
<scijava-code-lsp-jython.version>0.1.0-SNAPSHOT</scijava-code-lsp-jython.version>
92-
<!-- NB: As Fiji ships, for scijava-code-lsp (lsp4j); newer than pom-scijava 34's. -->
90+
<scijava-lsp.version>0.1.0-SNAPSHOT</scijava-lsp.version>
91+
<scijava-lsp-jython.version>0.1.0-SNAPSHOT</scijava-lsp-jython.version>
92+
<!-- NB: As Fiji ships, for scijava-lsp (lsp4j); newer than pom-scijava 34's. -->
9393
<gson.version>2.14.0</gson.version>
94-
<!-- NB: As scijava-code-lsp-jedi is built with; newer than pom-scijava 34's. -->
94+
<!-- NB: As scijava-lsp-jedi is built with; newer than pom-scijava 34's. -->
9595
<jackson.version>2.19.2</jackson.version>
9696

9797
<license.licenseName>bsd_2</license.licenseName>
@@ -110,13 +110,13 @@
110110
</dependency>
111111
<dependency>
112112
<groupId>org.scijava</groupId>
113-
<artifactId>scijava-code-lsp</artifactId>
114-
<version>${scijava-code-lsp.version}</version>
113+
<artifactId>scijava-lsp</artifactId>
114+
<version>${scijava-lsp.version}</version>
115115
</dependency>
116116
<dependency>
117117
<groupId>org.scijava</groupId>
118-
<artifactId>scijava-code-lsp-jython</artifactId>
119-
<version>${scijava-code-lsp-jython.version}</version>
118+
<artifactId>scijava-lsp-jython</artifactId>
119+
<version>${scijava-lsp-jython.version}</version>
120120
<!-- NB: For integration tests; applications choose their servers. -->
121121
<scope>test</scope>
122122
</dependency>

‎src/main/java/org/scijava/plugins/scripting/jython/completion/JythonDialect.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
import org.python.core.PyJavaType;
4444
import org.python.core.PyModule;
4545
import org.python.core.PyObject;
46-
import org.scijava.code.lsp.ScriptDialect;
46+
import org.scijava.lsp.ScriptDialect;
4747
import org.scijava.plugin.Plugin;
4848
import org.scijava.plugins.scripting.jython.JythonScriptLanguage;
4949
import org.scijava.script.ScriptLanguage;
@@ -57,7 +57,7 @@
5757
* <p>
5858
* Each is declared as an instance of its type, in code both Jython's own
5959
* analysis (Python 2) and a Python language server knowing the Java packages
60-
* from stubs (see scijava-code-lsp-jython) read: e.g.
60+
* from stubs (see scijava-lsp-jython) read: e.g.
6161
* {@code import net.imglib2.img; image = net.imglib2.img.Img(); name = str()}.
6262
* </p>
6363
* <p>

‎src/test/java/org/scijava/plugins/scripting/jython/completion/JythonDialectTest.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@
4747
import org.junit.Before;
4848
import org.junit.Test;
4949
import org.scijava.Context;
50-
import org.scijava.code.lsp.LanguageServerService;
50+
import org.scijava.lsp.LanguageServerService;
5151
import org.python.jsr223.PyScriptEngineFactory;
52-
import org.scijava.code.lsp.ScriptDialect.Header;
53-
import org.scijava.code.lsp.ScriptDialect.Variable;
54-
import org.scijava.code.lsp.ScriptSession;
52+
import org.scijava.lsp.ScriptDialect.Header;
53+
import org.scijava.lsp.ScriptDialect.Variable;
54+
import org.scijava.lsp.ScriptSession;
5555
import org.scijava.script.ScriptLanguage;
5656
import org.scijava.script.ScriptService;
5757

5858
/**
5959
* Tests {@link JythonDialect}: Jython scripts, as plain Jython for
60-
* scijava-code-lsp-jython's server (which its own tests test).
60+
* scijava-lsp-jython's server (which its own tests test).
6161
*
6262
* @author Gabriel Selzer
6363
*/
@@ -79,7 +79,7 @@ public void tearDown() {
7979

8080
@Test
8181
public void testScriptsAreServed() {
82-
// Jython scripts become plain Jython, which scijava-code-lsp-jython
82+
// Jython scripts become plain Jython, which scijava-lsp-jython
8383
// serves.
8484
final JythonDialect dialect = new JythonDialect();
8585
assertTrue(dialect.supports(jython));

0 commit comments

Comments
 (0)