feat: add hashline editing and TypeScript LSP

This commit is contained in:
云服务部-叶林立
2026-08-19 10:24:03 +08:00
parent 3d431a353d
commit bf8bb42a09
14 changed files with 438 additions and 36 deletions
+29
View File
@@ -1,6 +1,35 @@
{
"version": 1,
"servers": [
{
"id": "typescript-language-server",
"enabled": true,
"include": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts", "**/*.js", "**/*.jsx", "**/*.mjs", "**/*.cjs"],
"exclude": ["**/node_modules/**", "**/dist/**", "**/build/**", "**/coverage/**"],
"rootMarkers": [
"tsconfig.json",
"jsconfig.json",
"package.json",
".git"
],
"bin": "typescript-language-server",
"args": ["--stdio"],
"cwd": "{root}",
"languageIdByExtension": {
".ts": "typescript",
".tsx": "typescriptreact",
".mts": "typescript",
".cts": "typescript",
".js": "javascript",
".jsx": "javascriptreact",
".mjs": "javascript",
".cjs": "javascript"
},
"startupTimeoutMs": 45000,
"diagnosticsWaitMs": 2000,
"initializationOptions": {},
"settings": {}
},
{
"id": "kotlin-lsp",
"enabled": true,
+5
View File
@@ -0,0 +1,5 @@
{
"hashLength": 2,
"grep": false,
"replaceText": false
}