All Projects → eruizc-dev → jdtls-launcher

eruizc-dev / jdtls-launcher

Licence: MIT License
The simplest way to install and launch JDTLS

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to jdtls-launcher

Nvim Lspconfig
Quickstart configurations for the Nvim LSP client
Stars: ✭ 3,410 (+11658.62%)
Mutual labels:  neovim, language-server-protocol
Vim Lsc
A vim plugin for communicating with a language server
Stars: ✭ 545 (+1779.31%)
Mutual labels:  neovim, language-server-protocol
Vim Lsp
async language server protocol plugin for vim and neovim
Stars: ✭ 2,230 (+7589.66%)
Mutual labels:  neovim, language-server-protocol
Vista.vim
🌵 Viewer & Finder for LSP symbols and tags
Stars: ✭ 1,218 (+4100%)
Mutual labels:  neovim, language-server-protocol
Vim Lsp Cxx Highlight
Vim plugin for C/C++/ObjC semantic highlighting using cquery, ccls, or clangd
Stars: ✭ 231 (+696.55%)
Mutual labels:  neovim, language-server-protocol
nvimrc
vimrc for neovim written in lua
Stars: ✭ 99 (+241.38%)
Mutual labels:  neovim
Snowflake
NixOS Flake Configuration.
Stars: ✭ 22 (-24.14%)
Mutual labels:  neovim
black-nvim
A Neovim plugin to format your code using Black
Stars: ✭ 23 (-20.69%)
Mutual labels:  neovim
synapse-project
Powerful fuzzy search launcher for a multitude of tasks
Stars: ✭ 46 (+58.62%)
Mutual labels:  launcher
nerd-galaxyline
A modern and great-looking status bar for neovim
Stars: ✭ 27 (-6.9%)
Mutual labels:  neovim
igs.nvim
A minimalist Neovim plugin that enhances the usage of git status inside Neovim.
Stars: ✭ 17 (-41.38%)
Mutual labels:  neovim
null-ls.nvim
Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
Stars: ✭ 965 (+3227.59%)
Mutual labels:  neovim
Airshipper
A cross-platform Veloren launcher.
Stars: ✭ 119 (+310.34%)
Mutual labels:  launcher
nvim-commaround
nvim plugin to toggle comments on and off
Stars: ✭ 35 (+20.69%)
Mutual labels:  neovim
Launcher-OnePlus
Customizable and Open Source Launcher for Android
Stars: ✭ 73 (+151.72%)
Mutual labels:  launcher
scala-utils.nvim
Utilities for working with Scala in NeoVim.
Stars: ✭ 15 (-48.28%)
Mutual labels:  neovim
nixpkgs
My Nix system configs!
Stars: ✭ 143 (+393.1%)
Mutual labels:  neovim
vim
涛叔的 vim 配置
Stars: ✭ 41 (+41.38%)
Mutual labels:  neovim
dotfiles
⛩️ My dotfiles on Artix Linux. Gruvbox | Neovim | tmux
Stars: ✭ 56 (+93.1%)
Mutual labels:  neovim
dotfiles
My dotfiles for Arch Linux and macOS: Polybar, Neovim, ZSH, Alacritty, Git, and more 👨🏿‍💻
Stars: ✭ 13 (-55.17%)
Mutual labels:  neovim

JDTLS - Launcher

The simplest way to install and launch Eclipse's JDTLS!!


Requirements:

  • Java 11+ (available in path)
  • Linux, MacOS or WSL

Installation:

Automatic installation:

Important: uninstall any previous installation.

  • Script will be installed to ~/.local/opt/jdtls-launcher
  • A symlink called jdtls will be created in ~/.local/bin/jdtls
Linux / MacOS / WSL:
  1. Run the installation script:
    curl https://raw.githubusercontent.com/eruizc-dev/jdtls-launcher/master/install.sh | bash
    
  2. Add ~/.local/bin to your path
    # .bashrc, .zshrc or whatever shell you use
    export PATH=$PATH:$HOME/.local/bin
Custom install location:

Append -s /path/to/dir to the installation command

  • A directory called jdtls-launcher will be created inside that directory
  • A symlink will still be created to the same location

Manual Installation:

  1. Download source code from releases or directly from the master branch
  2. Unzip it and place jdtls-launcher.sh script in your desired install location
  3. Run the script with --install option to install jdtls and lombook alongside the script in a directory called jdtls (user must have write permissions)
  4. Run the script jdtls-launcher.sh without arguments to start the language server

Update

To update jdtls and lombook it's as simple as jdtls --update

You can always check what version you have installed with jdtls --version command.

To update jdtls-launcher you have to manually uninstall and reinstall

Uninstall

Remove symlink and jdtls-launcher directory with rm -rf.

  • Symlink locations can be found using where jdtls or which jdtls
  • Install location can be found using dirname $(realpath jdtls)

Editor configuration:

Neovim with lspconfig

Add the following to your init.vim

lua require'lspconfig'.jdtls.setup{
\   cmd = { 'jdtls' },
\   root_dir = function(fname)
\      return require'lspconfig'.util.root_pattern('pom.xml', 'gradle.build', '.git')(fname) or vim.fn.getcwd()
\   end
\}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].