Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
fc628f7547 | ||
|
33d5fbb01d | ||
|
6332daf2ad | ||
|
01616ee985 | ||
|
29f0e6a05a | ||
|
7bc07d9ac1 |
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
# lspclient README
|
||||
# Java-TX Language Server
|
||||
|
||||
This is the README for the Java-TX LSP Client.
|
||||
This is the official Plugin for Java-TX.
|
@@ -3,7 +3,7 @@
|
||||
"name": "java-tx-language-extension",
|
||||
"displayName": "Java-TX Language Extension",
|
||||
"description": "The Language Extension for Java-TX with Typehints and Syntax Checks",
|
||||
"version": "0.0.7",
|
||||
"version": "0.0.9",
|
||||
"engines": {
|
||||
"vscode": "^1.94.0"
|
||||
},
|
||||
|
@@ -13,12 +13,12 @@ function createClient(context: vscode.ExtensionContext): LanguageClient {
|
||||
const serverOptions: ServerOptions = {
|
||||
run: {
|
||||
command: 'java',
|
||||
args: ['-Xss2m', '-jar', workspaceFolder + "/JavaTXLanguageServer-1.0-SNAPSHOT-jar-with-dependencies.jar"],
|
||||
args: ['-Xss10m', '-jar', workspaceFolder + "/JavaTXLanguageServer-1.0-SNAPSHOT-jar-with-dependencies.jar"],
|
||||
},
|
||||
debug: {
|
||||
command: 'java',
|
||||
args: [
|
||||
'-Xss2m',
|
||||
'-Xss10m',
|
||||
'-jar',
|
||||
workspaceFolder + '/JavaTXLanguageServer-1.0-SNAPSHOT-jar-with-dependencies.jar',
|
||||
],
|
||||
@@ -26,7 +26,7 @@ function createClient(context: vscode.ExtensionContext): LanguageClient {
|
||||
};
|
||||
|
||||
const clientOptions: LanguageClientOptions = {
|
||||
documentSelector: [{ scheme: 'file', language: 'java' }],
|
||||
documentSelector: [{ scheme: 'file', pattern: '**/*.jav' }],
|
||||
synchronize: {
|
||||
fileEvents: vscode.workspace.createFileSystemWatcher('**/*.jav')
|
||||
},
|
||||
|
Binary file not shown.
@@ -55,6 +55,10 @@ The Language Server in itself can be used for any Client. The Clients task is to
|
||||
|
||||

|
||||
|
||||
## Additional Information
|
||||
|
||||
- Uses the [LSP-Interface](https://gitea.hb.dhbw-stuttgart.de/JavaTX/JavaCompilerCore/src/branch/LSP-Interface) Branch of the Java-TX Compiler Repository
|
||||
|
||||
## Update JavaTX Compiler Dependency as Maven Package
|
||||
If you make changes in the Compiler Interface, you have to change the jar and therefore the Dependency in the Java TX Language Server
|
||||
You can follow this steps:
|
||||
|
Reference in New Issue
Block a user