Added user home inplace replacement in configs

This commit is contained in:
2024-09-28 22:48:40 -05:00
parent 135304cedc
commit 96abe163a5
3 changed files with 32 additions and 9 deletions

View File

@@ -148,4 +148,4 @@
},
"trace": "verbose",
"workspaceFolders": "[\n {\n \"uri\": pathlib.Path(repository_absolute_path).as_uri(),\n \"name\": os.path.basename(repository_absolute_path),\n }\n ]"
}
}

View File

@@ -1,6 +1,7 @@
{
"java": {
"info": "https://download.eclipse.org/jdtls/",
"info-init-options": "https://github.com/eclipse-jdtls/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line",
"link": "https://download.eclipse.org/jdtls/milestones/?d",
"command": "lsp-ws-proxy --listen 4114 -- jdtls",
"alt-command": "lsp-ws-proxy -- jdtls",
@@ -17,11 +18,31 @@
],
"settings": {
"java": {
"autobuild": {
"enabled": false
},
"completion": {
"enabled": true,
"importOrder": [
"java",
"javax",
"org",
"com"
]
},
"configuration": {
"maven": {
"userSettings": "{user.home}/.config/jdtls/settings.xml",
"globalSettings": "{user.home}/.config/jdtls/settings.xml"
},
"runtimes": [
]
},
"classPath": [
"~/.m2/repository/**/*.jar"
"{user.home}/.config/jdtls/m2/repository/**/*.jar"
],
"docPath": [
"~/.m2/repository/**/*.jar"
"{user.home}/.config/jdtls/m2/repository/**/*.jar"
],
"silentNotification": true,
"project": {
@@ -176,7 +197,7 @@
},
"jedi":{
"extra_paths": [
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
"{user.home}/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
],
"root_dir": ""
}
@@ -204,9 +225,9 @@
"markupKindPreferred": "markdown",
"workspace": {
"extraPaths": [
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
"{user.home}/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
],
"environmentPath": "/home/abaddon/Portable_Apps/py-venvs/gtk-apps-venv/venv/bin/python",
"environmentPath": "{user.home}/Portable_Apps/py-venvs/gtk-apps-venv/venv/bin/python",
"symbols": {
"ignoreFolders": [".nox", ".tox", ".venv", "__pycache__", "venv"],
"maxSymbols": 20