hledger-lsp 0.1.15 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/features/codeActions.d.ts.map +1 -1
- package/out/features/codeActions.js +2 -5
- package/out/features/codeActions.js.map +1 -1
- package/out/features/codeLens.d.ts.map +1 -1
- package/out/features/codeLens.js +1 -4
- package/out/features/codeLens.js.map +1 -1
- package/out/features/completion.d.ts.map +1 -1
- package/out/features/completion.js +2 -1
- package/out/features/completion.js.map +1 -1
- package/out/features/definition.js +4 -4
- package/out/features/definition.js.map +1 -1
- package/out/features/documentLinks.d.ts.map +1 -1
- package/out/features/documentLinks.js +4 -2
- package/out/features/documentLinks.js.map +1 -1
- package/out/features/foldingRanges.d.ts.map +1 -1
- package/out/features/foldingRanges.js +1 -4
- package/out/features/foldingRanges.js.map +1 -1
- package/out/features/formatter.d.ts.map +1 -1
- package/out/features/formatter.js +1 -1
- package/out/features/formatter.js.map +1 -1
- package/out/features/hover.d.ts.map +1 -1
- package/out/features/hover.js +24 -9
- package/out/features/hover.js.map +1 -1
- package/out/features/inlayHints.d.ts.map +1 -1
- package/out/features/inlayHints.js +1 -3
- package/out/features/inlayHints.js.map +1 -1
- package/out/features/symbols.d.ts.map +1 -1
- package/out/features/symbols.js +7 -10
- package/out/features/symbols.js.map +1 -1
- package/out/features/validator.d.ts +3 -3
- package/out/features/validator.d.ts.map +1 -1
- package/out/features/validator.js +19 -22
- package/out/features/validator.js.map +1 -1
- package/out/parser/ast.d.ts +10 -9
- package/out/parser/ast.d.ts.map +1 -1
- package/out/parser/ast.js +5 -56
- package/out/parser/ast.js.map +1 -1
- package/out/parser/includes.d.ts +7 -7
- package/out/parser/includes.d.ts.map +1 -1
- package/out/parser/includes.js +7 -7
- package/out/parser/includes.js.map +1 -1
- package/out/parser/index.d.ts +6 -10
- package/out/parser/index.d.ts.map +1 -1
- package/out/parser/index.js +13 -16
- package/out/parser/index.js.map +1 -1
- package/out/server/configFile.d.ts +7 -6
- package/out/server/configFile.d.ts.map +1 -1
- package/out/server/configFile.js +11 -8
- package/out/server/configFile.js.map +1 -1
- package/out/server/deps.d.ts +5 -4
- package/out/server/deps.d.ts.map +1 -1
- package/out/server/deps.js.map +1 -1
- package/out/server/settings.d.ts +3 -2
- package/out/server/settings.d.ts.map +1 -1
- package/out/server/settings.js +2 -3
- package/out/server/settings.js.map +1 -1
- package/out/server/workspace.d.ts +9 -8
- package/out/server/workspace.d.ts.map +1 -1
- package/out/server/workspace.js +47 -48
- package/out/server/workspace.js.map +1 -1
- package/out/server.js +57 -99
- package/out/server.js.map +1 -1
- package/out/types.d.ts +10 -6
- package/out/types.d.ts.map +1 -1
- package/out/types.js.map +1 -1
- package/out/utils/uri.d.ts +6 -5
- package/out/utils/uri.d.ts.map +1 -1
- package/out/utils/uri.js +7 -78
- package/out/utils/uri.js.map +1 -1
- package/package.json +6 -5
package/out/utils/uri.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../src/utils/uri.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../src/utils/uri.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAE3C;AAGD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAE7C;AAGD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,GAAG,IAAI,CAW/D;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,GAAG,CAqCzE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,GAAG,EAAE,CAqE5E"}
|
package/out/utils/uri.js
CHANGED
|
@@ -46,68 +46,14 @@ const path = __importStar(require("path"));
|
|
|
46
46
|
const os = __importStar(require("os"));
|
|
47
47
|
const fast_glob_1 = __importDefault(require("fast-glob"));
|
|
48
48
|
const vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument");
|
|
49
|
+
const vscode_uri_1 = require("vscode-uri");
|
|
49
50
|
/**
|
|
50
51
|
* Convert a file:// URI to a filesystem path
|
|
51
52
|
* Properly decodes URI-encoded characters (e.g., %20 → space)
|
|
52
53
|
* Handles both Unix (file:///home/...) and Windows (file:///C:/...) formats
|
|
53
54
|
*/
|
|
54
55
|
function toFilePath(uri) {
|
|
55
|
-
|
|
56
|
-
let encodedPath = uri.substring(7);
|
|
57
|
-
// Decode each path component separately to handle encoded characters
|
|
58
|
-
const parts = encodedPath.split('/');
|
|
59
|
-
const decodedParts = parts.map(part => {
|
|
60
|
-
try {
|
|
61
|
-
return decodeURIComponent(part);
|
|
62
|
-
}
|
|
63
|
-
catch {
|
|
64
|
-
// If decoding fails, return the part as-is
|
|
65
|
-
return part;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
// On Windows, check if this is a Windows path (has drive letter)
|
|
69
|
-
// If so, convert to backslashes. Otherwise, keep forward slashes (for Unix-style test paths)
|
|
70
|
-
if (process.platform === 'win32') {
|
|
71
|
-
// Check if second part (after leading empty string) is a drive letter
|
|
72
|
-
const hasDriveLetter = decodedParts.length > 1 && /^[A-Za-z]:$/.test(decodedParts[1]);
|
|
73
|
-
if (hasDriveLetter) {
|
|
74
|
-
// Windows path with drive letter: file:///C:/Users/... -> C:\Users\...
|
|
75
|
-
const decoded = decodedParts.join(path.sep);
|
|
76
|
-
return decoded.substring(1); // Remove leading separator
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
// Unix-style path on Windows (e.g., from tests): keep forward slashes
|
|
80
|
-
return decodedParts.join('/');
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
// Unix: always use forward slashes
|
|
84
|
-
return decodedParts.join('/');
|
|
85
|
-
}
|
|
86
|
-
return uri;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Encode a path component for use in a file:// URI
|
|
90
|
-
* Encodes characters that are not allowed in URI paths according to RFC 3986
|
|
91
|
-
* Allowed unencoded: unreserved (A-Za-z0-9-._~) + sub-delims (!$&'()*+,;=) + : @
|
|
92
|
-
*/
|
|
93
|
-
function encodePathComponent(component) {
|
|
94
|
-
// Characters that should NOT be encoded in file URI paths (per RFC 3986)
|
|
95
|
-
// unreserved: A-Z a-z 0-9 - . _ ~
|
|
96
|
-
// sub-delims: ! $ & ' ( ) * + , ; =
|
|
97
|
-
// also allowed in paths: : @
|
|
98
|
-
const allowedChars = /[A-Za-z0-9\-._~!$&'()*+,;=:@]/;
|
|
99
|
-
let result = '';
|
|
100
|
-
for (let i = 0; i < component.length; i++) {
|
|
101
|
-
const char = component[i];
|
|
102
|
-
if (allowedChars.test(char)) {
|
|
103
|
-
result += char;
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
// Encode this character
|
|
107
|
-
result += '%' + char.charCodeAt(0).toString(16).toUpperCase().padStart(2, '0');
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return result;
|
|
56
|
+
return uri.fsPath;
|
|
111
57
|
}
|
|
112
58
|
/**
|
|
113
59
|
* Ensure a path is represented as a file:// URI
|
|
@@ -115,24 +61,7 @@ function encodePathComponent(component) {
|
|
|
115
61
|
* Handles both Unix and Windows filesystem paths
|
|
116
62
|
*/
|
|
117
63
|
function toFileUri(fsPath) {
|
|
118
|
-
|
|
119
|
-
return fsPath;
|
|
120
|
-
// Normalize path separators to forward slashes for URI
|
|
121
|
-
// This handles Windows paths that may use backslashes
|
|
122
|
-
const normalized = fsPath.split(path.sep).join('/');
|
|
123
|
-
// Encode each path component separately to preserve slashes
|
|
124
|
-
const parts = normalized.split('/');
|
|
125
|
-
const encoded = parts.map(part => encodePathComponent(part)).join('/');
|
|
126
|
-
// Ensure proper format:
|
|
127
|
-
// Windows: file:///C:/Users/... (3 slashes total)
|
|
128
|
-
// Unix: file:///home/... (3 slashes total)
|
|
129
|
-
// The encoded path should already have leading slash for Unix or drive letter for Windows
|
|
130
|
-
if (encoded.startsWith('/') || /^[A-Za-z]:/.test(encoded)) {
|
|
131
|
-
// Remove any leading slashes and add exactly 3
|
|
132
|
-
return `file:///${encoded.replace(/^\/+/, '')}`;
|
|
133
|
-
}
|
|
134
|
-
// Relative path - prepend with two slashes
|
|
135
|
-
return `file://${encoded}`;
|
|
64
|
+
return vscode_uri_1.URI.file(fsPath);
|
|
136
65
|
}
|
|
137
66
|
/**
|
|
138
67
|
* Default fileReader implementation used by parser/server
|
|
@@ -142,7 +71,7 @@ function defaultFileReader(uri) {
|
|
|
142
71
|
const filePath = toFilePath(uri);
|
|
143
72
|
if (fs.existsSync(filePath)) {
|
|
144
73
|
const content = fs.readFileSync(filePath, 'utf-8');
|
|
145
|
-
return vscode_languageserver_textdocument_1.TextDocument.create(uri, 'hledger', 1, content);
|
|
74
|
+
return vscode_languageserver_textdocument_1.TextDocument.create(uri.toString(), 'hledger', 1, content);
|
|
146
75
|
}
|
|
147
76
|
return null;
|
|
148
77
|
}
|
|
@@ -162,7 +91,7 @@ function resolveIncludePath(includePath, baseUri) {
|
|
|
162
91
|
// Handle file:// URI (e.g. file:///home/user/main.journal)
|
|
163
92
|
if (includePath.startsWith('file://')) {
|
|
164
93
|
// Already a file URI, return as-is
|
|
165
|
-
return includePath;
|
|
94
|
+
return vscode_uri_1.URI.parse(includePath);
|
|
166
95
|
}
|
|
167
96
|
// Expand tilde to home directory (e.g. ~/main.journal)
|
|
168
97
|
if (includePath.startsWith('~')) {
|
|
@@ -181,13 +110,13 @@ function resolveIncludePath(includePath, baseUri) {
|
|
|
181
110
|
rest = includePath.slice(1);
|
|
182
111
|
}
|
|
183
112
|
const resolved = path.resolve(home, rest);
|
|
184
|
-
return
|
|
113
|
+
return vscode_uri_1.URI.file(resolved);
|
|
185
114
|
}
|
|
186
115
|
// Check if it's an absolute path (works for both Unix and Windows)
|
|
187
116
|
// Unix: /home/... Windows: C:\... or C:/...
|
|
188
117
|
if (path.isAbsolute(includePath)) {
|
|
189
118
|
const resolved = path.resolve(includePath);
|
|
190
|
-
return
|
|
119
|
+
return vscode_uri_1.URI.file(resolved);
|
|
191
120
|
}
|
|
192
121
|
// Relative to the including file
|
|
193
122
|
const basePath = toFilePath(baseUri);
|
package/out/utils/uri.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uri.js","sourceRoot":"","sources":["../../src/utils/uri.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"uri.js","sourceRoot":"","sources":["../../src/utils/uri.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,gCAEC;AAQD,8BAEC;AAMD,8CAWC;AAUD,gDAqCC;AAQD,kDAqEC;AArKD,uCAAyB;AACzB,2CAA6B;AAC7B,uCAAyB;AACzB,0DAA2B;AAC3B,2FAAkE;AAClE,2CAAiC;AAEjC;;;;GAIG;AACH,SAAgB,UAAU,CAAC,GAAQ;IACjC,OAAO,GAAG,CAAC,MAAM,CAAC;AACpB,CAAC;AAGD;;;;GAIG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,OAAO,gBAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC1B,CAAC;AAGD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,GAAQ;IACxC,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,CA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,CAAC,OAAO,EAAE,CAAC;YACnB,OAAO,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;QACrC,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,OAAO,GAAG,WAAW,CAAC;IACxB,CAAC;IAED,6EAA6E;IAC7E,MAAM,OAAO,GAAG,mBAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;IAEvF,+CAA+C;IAC/C,qFAAqF;IACrF,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,MAAM,QAAQ,GAAG,OAAO;SACrB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,aAAa,CAAC;SAChD,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IAE1B,QAAQ,CAAC,IAAI,EAAE,CAAC;IAChB,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hledger-lsp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Language Server Protocol implementation for hledger plain text accounting",
|
|
5
5
|
"main": "./out/server.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"LICENSE"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "tsc -p .",
|
|
16
|
-
"watch": "tsc -watch -p .",
|
|
15
|
+
"build": "tsc -p tsconfig.build.json",
|
|
16
|
+
"watch": "tsc -watch -p tsconfig.build.json",
|
|
17
17
|
"lint": "eslint src --ext ts",
|
|
18
18
|
"test": "jest",
|
|
19
19
|
"test:watch": "jest --watch",
|
|
@@ -41,9 +41,10 @@
|
|
|
41
41
|
"node": ">=16.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"vscode-languageserver": "^9.0.1",
|
|
45
44
|
"fast-glob": "^3.2.12",
|
|
46
|
-
"vscode-languageserver
|
|
45
|
+
"vscode-languageserver": "^9.0.1",
|
|
46
|
+
"vscode-languageserver-textdocument": "^1.0.12",
|
|
47
|
+
"vscode-uri": "^3.1.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@types/jest": "^30.0.0",
|