mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
Add @link jsdoc auto-complete (#43475)
* feat(services): jsdoc add link tag name * test: add jsdoc inline test
This commit is contained in:
parent
c6a2e45768
commit
f9b35cd302
@ -44,6 +44,7 @@ namespace ts.JsDoc {
|
||||
"kind",
|
||||
"lends",
|
||||
"license",
|
||||
"link",
|
||||
"listens",
|
||||
"member",
|
||||
"memberof",
|
||||
|
||||
@ -53,6 +53,10 @@
|
||||
//// */
|
||||
////
|
||||
//// /** @param /*16*/ */
|
||||
////
|
||||
//// /**
|
||||
//// * jsdoc inline tag {@/*17*/}
|
||||
//// */
|
||||
|
||||
verify.completions(
|
||||
{ marker: ["1", "2"], includes: ["constructor", "param", "type", "method", "template"] },
|
||||
@ -60,4 +64,5 @@ verify.completions(
|
||||
{ marker: ["4", "5", "8"], includes: { name: "number", sortText: completion.SortText.GlobalsOrKeywords } },
|
||||
{ marker: ["6", "7", "14"], exact: undefined },
|
||||
{ marker: ["9", "10", "11", "12", "13"], includes: ["@argument", "@returns"] },
|
||||
{ marker: ["17"], includes: ["link", "tutorial"] },
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user