Skip to content

Commit aa49aee

Browse files
committed
Use astro-vscode instead of @astrojs/language-server
1 parent 4d12a0a commit aa49aee

File tree

7 files changed

+4
-934
lines changed

7 files changed

+4
-934
lines changed

org.eclipse.wildwebdeveloper/grammars/astro/LICENSE.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

org.eclipse.wildwebdeveloper/grammars/astro/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

org.eclipse.wildwebdeveloper/grammars/astro/astro.language-configuration.json

Lines changed: 0 additions & 62 deletions
This file was deleted.

org.eclipse.wildwebdeveloper/grammars/astro/astro.tmLanguage.json

Lines changed: 0 additions & 846 deletions
This file was deleted.

org.eclipse.wildwebdeveloper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
33
"@angular/language-server": "20.0.1",
4-
"@astrojs/language-server" : "2.15.4",
4+
"astro-vscode" : "2.15.4",
55
"firefox-debugadapter": "2.15.0",
66
"typescript": "5.8.3",
77
"typescript-language-server": "4.3.4",

org.eclipse.wildwebdeveloper/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,11 @@
565565
<contentTypeMapping id="org.eclipse.wildwebdeveloper.astro" contentType="org.eclipse.wildwebdeveloper.astro" />
566566
</extension>
567567
<extension point="org.eclipse.tm4e.registry.grammars">
568-
<grammar path="grammars/astro/astro.tmLanguage.json" scopeName="source.astro" />
568+
<grammar path="node_modules/astro-vscode/syntaxes/astro.tmLanguage.json" scopeName="source.astro" />
569569
<scopeNameContentTypeBinding contentTypeId="org.eclipse.wildwebdeveloper.astro" scopeName="source.astro" />
570570
</extension>
571571
<extension point="org.eclipse.tm4e.languageconfiguration.languageConfigurations">
572-
<languageConfiguration contentTypeId="org.eclipse.wildwebdeveloper.astro" path="grammars/astro/astro.language-configuration.json" />
572+
<languageConfiguration contentTypeId="org.eclipse.wildwebdeveloper.astro" path="node_modules/astro-vscode/languages/astro-language-configuration.json" />
573573
</extension>
574574

575575
<!-- VUE -->

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/astro/AstroLanguageServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private static Path resolveResource(String resourcePath) throws IOException {
5252
public AstroLanguageServer() throws IOException {
5353
try {
5454
if (astroLanguageServerPath == null || typescriptSdkPath == null) {
55-
astroLanguageServerPath = resolveResource("/node_modules/@astrojs/language-server/dist/nodeServer.js").toString();
55+
astroLanguageServerPath = resolveResource("/node_modules/astro-vscode/dist/node/server.js").toString();
5656
typescriptSdkPath = resolveResource("/node_modules/typescript/lib").toString();
5757
}
5858
setCommands(List.of( //

0 commit comments

Comments
 (0)