Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Bierner <matb@microsoft.com>2018-01-26 02:17:13 +0300
committerMatt Bierner <matb@microsoft.com>2018-01-26 02:28:54 +0300
commit1ff5d84a5fd444c13dec747cc074d45b6329369b (patch)
treeb0be18a3d7e11982a113ed54065d3ed6612c5f5b
parent3e450309e960d2e4f3b0c4f263ba773578ed50fc (diff)
Also capture dots in jsdoc property namesbad3
-rw-r--r--extensions/typescript/src/utils/previewer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/typescript/src/utils/previewer.ts b/extensions/typescript/src/utils/previewer.ts
index 22e39cf9079..647ae3bf91b 100644
--- a/extensions/typescript/src/utils/previewer.ts
+++ b/extensions/typescript/src/utils/previewer.ts
@@ -27,7 +27,7 @@ function getTagBodyText(tag: Proto.JSDocTagInfo): string | undefined {
function getTagDocumentation(tag: Proto.JSDocTagInfo): string | undefined {
switch (tag.name) {
case 'param':
- const body = (tag.text || '').split(/^(\w+)\s*/);
+ const body = (tag.text || '').split(/^([\w\.]+)\s*/);
if (body && body.length === 3) {
const param = body[1];
const doc = body[2];