mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
feat: add lsp and auto-permissions stack
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"version": 1,
|
||||
"servers": [
|
||||
{
|
||||
"id": "kotlin-lsp",
|
||||
"enabled": true,
|
||||
"include": ["**/*.kt", "**/*.kts"],
|
||||
"exclude": ["**/.gradle/**", "**/build/**"],
|
||||
"rootMarkers": [
|
||||
"settings.gradle.kts",
|
||||
"settings.gradle",
|
||||
"pom.xml",
|
||||
"build.gradle.kts",
|
||||
"build.gradle",
|
||||
".git"
|
||||
],
|
||||
"bin": "kotlin-lsp",
|
||||
"args": ["--stdio"],
|
||||
"cwd": "{root}",
|
||||
"languageIdByExtension": {
|
||||
".kt": "kotlin",
|
||||
".kts": "kotlin"
|
||||
},
|
||||
"startupTimeoutMs": 120000,
|
||||
"diagnosticsWaitMs": 3000,
|
||||
"initializationOptions": {},
|
||||
"settings": {}
|
||||
},
|
||||
{
|
||||
"id": "jdtls",
|
||||
"enabled": true,
|
||||
"include": ["**/*.java"],
|
||||
"exclude": ["**/.gradle/**", "**/build/**", "**/target/**"],
|
||||
"rootMarkers": [
|
||||
"settings.gradle.kts",
|
||||
"settings.gradle",
|
||||
"pom.xml",
|
||||
"build.gradle.kts",
|
||||
"build.gradle",
|
||||
".git"
|
||||
],
|
||||
"bin": "jdtls",
|
||||
"args": [],
|
||||
"cwd": "{root}",
|
||||
"languageIdByExtension": {
|
||||
".java": "java"
|
||||
},
|
||||
"startupTimeoutMs": 120000,
|
||||
"diagnosticsWaitMs": 3000,
|
||||
"initializationOptions": {},
|
||||
"settings": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user