generated from itdominator/Python-With-Gtk-Template
Updated LSP inferastructure
This commit is contained in:
parent
b76b7ab780
commit
4fe2c7ed8f
@ -12,6 +12,12 @@ This is currently very much a WIP effort with two branches to take note of. The
|
|||||||
* release/newton-with-gtksource
|
* release/newton-with-gtksource
|
||||||
* release/newton-with-webkit2
|
* release/newton-with-webkit2
|
||||||
|
|
||||||
|
# LSP
|
||||||
|
Add lsp-ws-proxy somewhere in $PATH and make executable. Download from:
|
||||||
|
|
||||||
|
* https://github.com/qualified/lsp-ws-proxy
|
||||||
|
|
||||||
|
|
||||||
# Images
|
# Images
|
||||||
* GtkSource.View
|
* GtkSource.View
|
||||||
![1 Newton default view. ](images/pic1.png)
|
![1 Newton default view. ](images/pic1.png)
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
{
|
{
|
||||||
"sh": {
|
"sh": {
|
||||||
"info": "",
|
"info": "",
|
||||||
|
"alt-command": "",
|
||||||
"command": "",
|
"command": "",
|
||||||
"socket": "ws://127.0.0.1:3030/shell",
|
"socket": "ws://127.0.0.1:3030/?name=shell",
|
||||||
"initialization_options": {}
|
"initialization_options": {}
|
||||||
},
|
},
|
||||||
"python": {
|
"python": {
|
||||||
"info": "https://github.com/python-lsp/python-lsp-server",
|
"info": "https://github.com/python-lsp/python-lsp-server",
|
||||||
"command": "pylsp --ws --port 3030",
|
"alt-command": "pylsp --ws --port 3030",
|
||||||
"socket": "ws://127.0.0.1:3030/python",
|
"command": "lsp-ws-proxy --listen 3030 -- pylsp",
|
||||||
|
"socket": "ws://127.0.0.1:3030/?name=pylsp",
|
||||||
"initialization_options": {
|
"initialization_options": {
|
||||||
"pylsp.plugins.rope_autoimport.enabled": true,
|
"pylsp.plugins.rope_autoimport.enabled": true,
|
||||||
"pylsp.plugins.rope_completion.enabled": true,
|
"pylsp.plugins.rope_completion.enabled": true,
|
||||||
@ -21,8 +23,9 @@
|
|||||||
},
|
},
|
||||||
"python3": {
|
"python3": {
|
||||||
"info": "https://pypi.org/project/jedi-language-server/",
|
"info": "https://pypi.org/project/jedi-language-server/",
|
||||||
"command": "jedi-language-server",
|
"alt-command": "jedi-language-server",
|
||||||
"socket": "ws://127.0.0.1:3030/python",
|
"command": "lsp-ws-proxy --listen 3030 -- jedi-language-server",
|
||||||
|
"socket": "ws://127.0.0.1:3030/?name=jedi-language-server",
|
||||||
"initialization_options": {
|
"initialization_options": {
|
||||||
"jediSettings": {
|
"jediSettings": {
|
||||||
"autoImportModules": [],
|
"autoImportModules": [],
|
||||||
@ -47,20 +50,23 @@
|
|||||||
},
|
},
|
||||||
"c": {
|
"c": {
|
||||||
"info": "https://clangd.llvm.org/",
|
"info": "https://clangd.llvm.org/",
|
||||||
"command": "/usr/bin/clangd",
|
"alt-command": "clangd",
|
||||||
"socket": "ws://127.0.0.1:3030/c",
|
"command": "lsp-ws-proxy --listen 3030 -- clangd",
|
||||||
|
"socket": "ws://127.0.0.1:3030/?name=clangd",
|
||||||
"initialization_options": {}
|
"initialization_options": {}
|
||||||
},
|
},
|
||||||
"cpp": {
|
"cpp": {
|
||||||
"info": "https://clangd.llvm.org/",
|
"info": "https://clangd.llvm.org/",
|
||||||
"command": "/usr/bin/clangd",
|
"alt-command": "clangd",
|
||||||
"socket": "ws://127.0.0.1:3030/cpp",
|
"command": "lsp-ws-proxy --listen 3030 -- clangd",
|
||||||
|
"socket": "ws://127.0.0.1:3030/?name=clangd",
|
||||||
"initialization_options": {}
|
"initialization_options": {}
|
||||||
},
|
},
|
||||||
"java": {
|
"java": {
|
||||||
"info": "https://download.eclipse.org/jdtls/",
|
"info": "https://download.eclipse.org/jdtls/",
|
||||||
"command": "java-language-server",
|
"alt-command": "java-language-server",
|
||||||
"socket": "ws://127.0.0.1:3030/java",
|
"command": "lsp-ws-proxy --listen 3030 -- java-language-server",
|
||||||
|
"socket": "ws://127.0.0.1:3030/?name=java-language-server",
|
||||||
"initialization_options": {}
|
"initialization_options": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user