-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
# archetype-languageserver | ||
A language server for OpenEHR archetypes, to be used in your favorite IDE | ||
|
||
Warning: probably will not compile yet, you need the branch preserve_aom_file_positions in github.com/openehr/archie to compile against for this to work. | ||
# Build instructions | ||
- clone github.com/openehr/archie, branch preserve_aom_file_positions | ||
- add `includeBuild 'path-to-archie'` in your settings.gradle file | ||
- download the mac, linux, and windows openJDK binaries, version 14 or newer | ||
- use one of the version 14 openJDK vms to compile the project | ||
- copy `gradle.example.properties` to `gradle.properties` | ||
- cahnge the JDK locations in the gradle properties file | ||
- `./gradlew clean build runtime buildExtension` | ||
|
||
The output will be in the .vsix file in `./vscode-extension`. | ||
|
||
It contains a linked windows, linux and macos JRE from the OpenJDK project, so should run on whatever OS needed, but x86 only for now. | ||
If you want ARM, very easy as well, just download the ARM openJDK and change the runtime config in build.gradle | ||
|
||
This is not yet published to the VSCode marketplace, so instructions for that will follow later. | ||
|
||
You also need to integrate this into your favorite IDE of choice. connects using a socket, port 1278, for now, for development purposes, integrated vscode extension, dev extension and better instructions coming soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters