Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use VSCode Spring Boot Tools from mason-registry #31

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/jdtls/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,31 @@ categories:
- LSP

source:
# renovate:datasource=github-tags
id: pkg:generic/eclipse/eclipse.jdt.ls@v1.43.0
download:
- target: [darwin_x64, darwin_arm64]
files:
jdtls.tar.gz: https://github.com/nvim-java/release-jdtls/releases/download/{{ version | strip_prefix "v" }}/jdtls.tar.gz
lombok.jar: https://projectlombok.org/downloads/lombok.jar
config: config_mac/

- target: [linux_x64, linux_x86]
files:
jdtls.tar.gz: https://github.com/nvim-java/release-jdtls/releases/download/{{ version | strip_prefix "v" }}/jdtls.tar.gz
lombok.jar: https://projectlombok.org/downloads/lombok.jar
config: config_linux/

- target: linux_arm64
files:
jdtls.tar.gz: https://github.com/nvim-java/release-jdtls/releases/download/{{ version | strip_prefix "v" }}/jdtls.tar.gz
lombok.jar: https://projectlombok.org/downloads/lombok.jar
config: config_linux_arm/

- target: win
files:
jdtls.tar.gz: https://github.com/nvim-java/release-jdtls/releases/download/{{ version | strip_prefix "v" }}/jdtls.tar.gz
lombok.jar: https://projectlombok.org/downloads/lombok.jar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not using lombok from the jdtls package because we could not have control of the version of lombok independently. So, I don't have a plan to add this back.

config: config_win/

schemas:
Expand All @@ -39,5 +44,7 @@ bin:
jdtls: python:bin/jdtls

share:
jdtls/lombok.jar: lombok.jar
jdtls/plugins/: plugins/
jdtls/plugins/org.eclipse.equinox.launcher.jar: plugins/org.eclipse.equinox.launcher.jar
jdtls/config/: "{{source.download.config}}"
15 changes: 10 additions & 5 deletions packages/spring-boot-tools/package.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
name: spring-boot-tools
name: vscode-spring-boot-tools
description: |
Provides validation and content assist for Spring Boot `application.properties`,
`application.yml` properties files. As well as Boot-specific support for
`.java` files.
VS Code Language Server for Spring Boot
VSCode extension and Language Server providing support for working with Spring Boot application.properties, application.yml and .java files.

Note: this extension has a dependency on VS Code extension of Language Support for Java™ by Red Hat.
homepage: https://github.com/spring-projects/sts4
licenses:
- EPL-1.0
Expand All @@ -17,5 +18,9 @@ source:
download:
file: VMware.vscode-spring-boot-{{version}}.vsix

schemas:
lsp: vscode:https://raw.githubusercontent.com/spring-projects/sts4/master/vscode-extensions/vscode-spring-boot/package.json

share:
spring-boot-tools/jars/: extension/jars/
vscode-spring-boot-tools/jdtls/: extension/jars/
vscode-spring-boot-tools/language-server.jar: extension/language-server/spring-boot-language-server-{{version}}-SNAPSHOT-exec.jar