Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

feature: allow downgrade / install specific version #21

Merged
merged 3 commits into from
Sep 21, 2022

Conversation

tobii-dev
Copy link
Contributor

@tobii-dev tobii-dev commented Sep 14, 2022

Does what #6 says, specify jdtls version with jdtls --install [version]

Example: jdtls -i 1.15.0
If it cannot find it, fails with an error message:

λ ~/ jdtls -i 0.0.1337 

Finding jdtls:0.0.1337 

ERROR: curl http://download.eclipse.org/jdtls/milestones/0.0.1337/latest.txt failed. Are you sure that version exists? 

As of right now (2022-09-14), should work for versions from 1.0.0 to 1.15.0,
it tries to find them at:
https://download.eclipse.org/jdtls/milestones/

PS: If you're using neovim with lspconfig jdtls, downgrading from 1.16.0 to 1.14.0 might fix some very annoying LSP warnings & errors.

Allow selecting the version to be installed.
Downloads from: download.eclipse.org/jdtls/milestones
//TODO: docs & tests
add --install <version> help
@eruizc-dev
Copy link
Owner

Sorry for the late response! I missed the notification, will review today after I finish working

Copy link
Owner

@eruizc-dev eruizc-dev left a comment

Choose a reason for hiding this comment

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

Love it

@eruizc-dev eruizc-dev merged commit 561f3db into eruizc-dev:master Sep 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants