@@ -8,25 +8,26 @@ A Java [language server](https://github.com/Microsoft/vscode-languageserver-prot
88
99## Installation (other editors)
1010
11- ### Vim (with vim-lsc)
11+ ### Base Install Steps
1212
1313- Checkout this repository
14- - Run ` ./scripts/link_{linux|mac|windows}.sh `
15- - Run ` mvn package -DskipTests `
14+ - Run ./scripts/install.sh
15+
16+ ### Vim (with vim-lsc)
17+
18+ - [ Follow Base Install Steps] ( #base-install-steps )
1619- Add the vim plugin [ natebosch/vim-lsc] ( https://github.com/natebosch/vim-lsc ) to your vimrc
1720- Add vim-lsc configuration:
1821 ``` vimrc
19- let g:lsc_server_commands = {'java': '<path-to-java-language-server>/ java-language-server/dist/lang_server_{linux|mac|windows}.sh '}
22+ let g:lsc_server_commands = {'java': '/usr/local/bin/ java-language-server'}
2023 ```
2124- See the [ vim-lsc README] ( https://github.com/natebosch/vim-lsc/blob/master/README.md ) for other configuration options.
2225
2326Note: This tool is not compatible with [ vim-lsp] ( https://github.com/prabirshrestha/vim-lsp ) as it only supports LSPv2.0.
2427
2528### KDE Kate
2629
27- - Checkout this repository
28- - Run ` ./scripts/link_{linux|mac|windows}.sh `
29- - Run ` mvn package -DskipTests `
30+ - [ Follow Base Install Steps] ( #base-install-steps )
3031- Open your Kate editor
3132- Go to Settings > Configure Kate... > LSP Client > User Server Settings
3233- Add this lines to your User Server Settings:
@@ -36,7 +37,7 @@ Note: This tool is not compatible with [vim-lsp](https://github.com/prabirshrest
3637 {
3738 "java" :
3839 {
39- "command" : [" bash" ," <path-to-java-language-server>/ java-language-server/dist/lang_server_{linux|mac|windows}.sh " ],
40+ "command" : [" bash" , " /usr/local/bin/ java-language-server" ],
4041 "url" : " https://github.com/georgewfraser/java-language-server" ,
4142 "highlightingModeRegex" : " ^Java$"
4243 }
@@ -47,9 +48,7 @@ Note: This tool is not compatible with [vim-lsp](https://github.com/prabirshrest
4748
4849### Sublime 3 (with LSP)
4950
50- - Checkout this repository
51- - Run ` ./scripts/link_{linux|mac|windows}.sh `
52- - Run ` mvn package -DskipTests `
51+ - [ Follow Base Install Steps] ( #base-install-steps )
5352- Open your Sublime 3
5453- Install Package Control (if missing)
5554- Install the [ LSP Package] ( https://packagecontrol.io/packages/LSP ) (if missing)
@@ -62,7 +61,7 @@ Note: This tool is not compatible with [vim-lsp](https://github.com/prabirshrest
6261 "jls" :
6362 {
6463 "enabled" : true ,
65- "command" : [" bash" , " <path-to-java-language-server>/ java-language-server/dist/lang_server_{linux|mac|windows}.sh " ],
64+ "command" : [" bash" , " /usr/local/bin/ java-language-server" ],
6665 "scopes" : [" source.java" ],
6766 "syntaxes" : [" Packages/Java/Java.sublime-syntax" ],
6867 "languageId" : " java"
0 commit comments