volar-service-typescript 0.0.62 → 0.0.63
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.
|
@@ -30,6 +30,7 @@ async function getUserPreferences(ctx, document) {
|
|
|
30
30
|
includeCompletionsWithClassMemberSnippets: config.suggest?.classMemberSnippets?.enabled ?? true,
|
|
31
31
|
includeCompletionsWithObjectLiteralMethodSnippets: config.suggest?.objectLiteralMethodSnippets?.enabled ?? true,
|
|
32
32
|
autoImportFileExcludePatterns: getAutoImportFileExcludePatternsPreference(preferencesConfig, currentDirectory),
|
|
33
|
+
autoImportSpecifierExcludeRegexes: preferencesConfig.autoImportSpecifierExcludeRegexes,
|
|
33
34
|
useLabelDetailsInCompletionEntries: true,
|
|
34
35
|
allowIncompleteCompletions: true,
|
|
35
36
|
displayPartsForJSDoc: true,
|
package/lib/utils/previewer.js
CHANGED
|
@@ -65,7 +65,7 @@ function getTagDocumentation(tag, fileNameToUri, getTextDocument) {
|
|
|
65
65
|
case 'extends':
|
|
66
66
|
case 'param':
|
|
67
67
|
case 'template':
|
|
68
|
-
const body =
|
|
68
|
+
const body = convertLinkTags(tag.text, fileNameToUri, getTextDocument).split(/^(\S+)\s*-?\s*/);
|
|
69
69
|
if (body?.length === 3) {
|
|
70
70
|
const param = body[1];
|
|
71
71
|
const doc = body[2];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "volar-service-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"description": "Integrate TypeScript into Volar",
|
|
5
5
|
"homepage": "https://github.com/volarjs/services/tree/master/packages/typescript",
|
|
6
6
|
"bugs": "https://github.com/volarjs/services/issues",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"path-browserify": "^1.0.1",
|
|
33
33
|
"semver": "^7.6.2",
|
|
34
|
-
"typescript-auto-import-cache": "^0.3.
|
|
34
|
+
"typescript-auto-import-cache": "^0.3.5",
|
|
35
35
|
"vscode-languageserver-textdocument": "^1.0.11",
|
|
36
36
|
"vscode-nls": "^5.2.0",
|
|
37
37
|
"vscode-uri": "^3.0.8"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"optional": true
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d1d41d96982d11167c1f29683423eacfa04164c9"
|
|
48
48
|
}
|