Updating lsp server config

This commit is contained in:
itdominator 2024-09-26 01:24:55 -05:00
parent c1fcf19ae2
commit ffcad8a139
1 changed files with 137 additions and 5 deletions

View File

@ -7,7 +7,105 @@
"alt-command2": "java-language-server", "alt-command2": "java-language-server",
"socket": "ws://127.0.0.1:4114/?name=jdtls", "socket": "ws://127.0.0.1:4114/?name=jdtls",
"alt-socket": "ws://127.0.0.1:3030/?name=java-language-server", "alt-socket": "ws://127.0.0.1:3030/?name=java-language-server",
"initialization-options": {} "initialization-options": {
"bundles": [
"intellicode-core.jar"
],
"workspaceFolders": [
"<uri>",
"<uri>"
],
"settings": {
"java": {
"classPath": [
"~/.m2/repository/**/*.jar"
],
"docPath": [
"~/.m2/repository/**/*.jar"
],
"silentNotification": true,
"project": {
"referencedLibraries": [
"lib/**/*.jar"
],
"importOnFirstTimeStartup": "automatic",
"importHint": true,
"resourceFilters": [
"node_modules",
"\\.git"
],
"encoding": "ignore",
"exportJar": {
"targetPath": "${workspaceFolder}/${workspaceFolderBasename}.jar"
}
},
"sources": {
"organizeImports": {
"starThreshold": 99,
"staticStarThreshold": 99
}
},
"imports": {
"gradle": {
"wrapper": {
"checksums": []
}
}
},
"import": {
"maven": {
"enabled": true,
"offline": {
"enabled": false
},
"disableTestClasspathFlag": false
},
"gradle": {
"enabled": true,
"wrapper": {
"enabled": true
},
"version": null,
"home": "abs(static/gradle-7.3.3)",
"java": {
"home": "abs(static/launch_jres/17.0.6-linux-x86_64)"
},
"offline": {
"enabled": false
},
"arguments": null,
"jvmArguments": null,
"user": {
"home": null
},
"annotationProcessing": {
"enabled": true
}
},
"exclusions": [
"**/node_modules/**",
"**/.metadata/**",
"**/archetype-resources/**",
"**/META-INF/maven/**"
],
"generatesMetadataFilesAtProjectRoot": false
},
"maven": {
"downloadSources": true,
"updateSnapshots": true
},
"signatureHelp": {
"enabled": true,
"description": {
"enabled": true
}
},
"implementationsCodeLens": {
"enabled": true
}
}
}
}
}, },
"python": { "python": {
"info": "https://github.com/python-lsp/python-lsp-server", "info": "https://github.com/python-lsp/python-lsp-server",
@ -17,24 +115,58 @@
"alt-command3": "pylsp --ws --port 4114", "alt-command3": "pylsp --ws --port 4114",
"socket": "ws://127.0.0.1:9999/?name=pylsp", "socket": "ws://127.0.0.1:9999/?name=pylsp",
"initialization-options": { "initialization-options": {
"pyls": {
"plugins": {
"pycodestyle": {
"enabled": false
},
"pydocstyle": {
"enabled": false
},
"pyflakes": {
"enabled": false
},
"pylint": {
"enabled": false
},
"mccabe": {
"enabled": false
}
}
},
"pylsp": { "pylsp": {
"plugins": { "plugins": {
"pycodestyle": {
"enabled": false
},
"pydocstyle": {
"enabled": false
},
"pyflakes": {
"enabled": false
},
"pylint": {
"enabled": false
},
"mccabe": {
"enabled": false
},
"ruff": true, "ruff": true,
"pylsp_rope": { "pylsp_rope": {
"rename": true "rename": true
}, },
"rope_rename": { "rope_rename": {
"enabled": false "enabled": true
}, },
"rope_autoimport": { "rope_autoimport": {
"enabled": true "enabled": true
}, },
"rope_completion": { "rope_completion": {
"enabled": false, "enabled": true,
"eager": false "eager": true
}, },
"jedi_rename": { "jedi_rename": {
"enabled": false "enabled": true
}, },
"jedi_completion": { "jedi_completion": {
"enabled": true, "enabled": true,