Files
tsgo/testdata/baselines/reference/fourslash/signatureHelp/quickInfoJsDocTextFormatting1VS.baseline

625 lines
18 KiB
Plaintext

// === SignatureHelp ===
=== /quickInfoJsDocTextFormatting1VS.ts ===
// /**
// * @param {number} var1 **Highlighted text**
// * @param {string} var2 Another **Highlighted text**
// */
// function f1(var1, var2) { }
//
// /**
// * @param {number} var1 *Regular text with an asterisk
// * @param {string} var2 Another *Regular text with an asterisk
// */
// function f2(var1, var2) { }
//
// /**
// * @param {number} var1
// * *Regular text with an asterisk
// * @param {string} var2
// * Another *Regular text with an asterisk
// */
// function f3(var1, var2) { }
//
// /**
// * @param {number} var1
// * **Highlighted text**
// * @param {string} var2
// * Another **Highlighted text**
// */
// function f4(var1, var2) { }
//
// /**
// * @param {number} var1
// **Highlighted text**
// * @param {string} var2
// Another **Highlighted text**
// */
// function f5(var1, var2) { }
//
// f1();
// ^
// | ----------------------------------------------------------------------
// | f1(**var1: any**, var2: any): void
// | - `var1: any`: **Highlighted text**
// | ----------------------------------------------------------------------
// f2();
// ^
// | ----------------------------------------------------------------------
// | f2(**var1: any**, var2: any): void
// | - `var1: any`: *Regular text with an asterisk
// | ----------------------------------------------------------------------
// f3();
// ^
// | ----------------------------------------------------------------------
// | f3(**var1: any**, var2: any): void
// | - `var1: any`: *Regular text with an asterisk
// | ----------------------------------------------------------------------
// f4();
// ^
// | ----------------------------------------------------------------------
// | f4(**var1: any**, var2: any): void
// | - `var1: any`: **Highlighted text**
// | ----------------------------------------------------------------------
// f5();
// ^
// | ----------------------------------------------------------------------
// | f5(**var1: any**, var2: any): void
// | - `var1: any`: **Highlighted text**
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 737,
"LSPosition": {
"line": 36,
"character": 3
},
"Name": "1",
"Data": {}
},
"item": {
"signatures": [
{
"label": "f1(var1: any, var2: any): void",
"parameters": [
{
"label": "var1: any",
"documentation": {
"kind": "markdown",
"value": "**Highlighted text**"
}
},
{
"label": "var2: any",
"documentation": {
"kind": "markdown",
"value": "Another **Highlighted text**"
}
}
],
"activeParameter": 0,
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "f1",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var1",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ", ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var2",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
},
{
"marker": {
"Position": 743,
"LSPosition": {
"line": 37,
"character": 3
},
"Name": "2",
"Data": {}
},
"item": {
"signatures": [
{
"label": "f2(var1: any, var2: any): void",
"parameters": [
{
"label": "var1: any",
"documentation": {
"kind": "markdown",
"value": "*Regular text with an asterisk"
}
},
{
"label": "var2: any",
"documentation": {
"kind": "markdown",
"value": "Another *Regular text with an asterisk"
}
}
],
"activeParameter": 0,
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "f2",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var1",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ", ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var2",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
},
{
"marker": {
"Position": 749,
"LSPosition": {
"line": 38,
"character": 3
},
"Name": "3",
"Data": {}
},
"item": {
"signatures": [
{
"label": "f3(var1: any, var2: any): void",
"parameters": [
{
"label": "var1: any",
"documentation": {
"kind": "markdown",
"value": "*Regular text with an asterisk"
}
},
{
"label": "var2: any",
"documentation": {
"kind": "markdown",
"value": "Another *Regular text with an asterisk"
}
}
],
"activeParameter": 0,
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "f3",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var1",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ", ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var2",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
},
{
"marker": {
"Position": 755,
"LSPosition": {
"line": 39,
"character": 3
},
"Name": "4",
"Data": {}
},
"item": {
"signatures": [
{
"label": "f4(var1: any, var2: any): void",
"parameters": [
{
"label": "var1: any",
"documentation": {
"kind": "markdown",
"value": "**Highlighted text**"
}
},
{
"label": "var2: any",
"documentation": {
"kind": "markdown",
"value": "Another **Highlighted text**"
}
}
],
"activeParameter": 0,
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "f4",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var1",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ", ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var2",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
},
{
"marker": {
"Position": 761,
"LSPosition": {
"line": 40,
"character": 3
},
"Name": "5",
"Data": {}
},
"item": {
"signatures": [
{
"label": "f5(var1: any, var2: any): void",
"parameters": [
{
"label": "var1: any",
"documentation": {
"kind": "markdown",
"value": "**Highlighted text**"
}
},
{
"label": "var2: any",
"documentation": {
"kind": "markdown",
"value": "Another **Highlighted text**"
}
}
],
"activeParameter": 0,
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "f5",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var1",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ", ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "parameter name",
"Text": "var2",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ":",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "whitespace",
"Text": " ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "any",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
}
]