TypeScript/tests/cases/fourslash/jsDocSee2.ts
Wenlu Wang ee5f51bc0f
Add see tag support (#39760)
* Add see tag parser

* add baseline

* fix symbol resolve

* add more case

* fix unittests

* improve tests and parser

* accept baseline

* Adopt package-lock.json and npm ci

* Add a workflow to update package-lock.json daily

* Git ignore package-lock.json and forcibly update in workflow

* Update bot email address

* Delete extra npm update

* Update package-lock.json

* Add compactDisplay and signDisplay to NumberFormatOptions (#40039)

* Fix typo in (Readonly)Set.keys comment (fixes #40164) (#40176)

* fix(26325): use a unique name for reserved words in 'constructor like' function name (#39684)

* fix(25770): add diagnostic message for the possible mapped type used as an index (#39973)

* fix(31046): add new diagnostic message for incompatible constructor signature (#40073)

* Update package-lock.json

* Update package-lock.json

* Add rename support

* Accpet baseline

* wip

* fix anders

* Revert "fix anders"

This reverts commit b3178d4618.

* Fix call hierarchy item serialization and server tests (#40348)

* Avoid error

* accept baseline

* Add more tests

* Add signature name resolve

Co-authored-by: Andrew Casey <andrew.casey@microsoft.com>
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
Co-authored-by: Neil Kistner <neil.kistner@gmail.com>
Co-authored-by: cherryblossom000 <31467609+cherryblossom000@users.noreply.github.com>
Co-authored-by: Alexander T <alexander.tarasyuk@outlook.com>
Co-authored-by: Erich Gamma <egamma@microsoft.com>
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2020-09-09 10:45:09 -07:00

43 lines
961 B
TypeScript

///<reference path="fourslash.ts" />
//// /** @see {/*use1*/[|foooo|]} unknown reference*/
//// const a = ""
//// /** @see {/*use2*/[|@bar|]} invalid tag*/
//// const b = ""
//// /** @see /*use3*/[|foooo|] unknown reference without brace*/
//// const c = ""
//// /** @see /*use4*/[|@bar|] invalid tag without brace*/
//// const [|/*def1*/d|] = ""
//// /** @see {/*use5*/[|d@fff|]} partial reference */
//// const e = ""
//// /** @see /*use6*/[|@@@@@@|] total invalid tag*/
//// const f = ""
//// /** @see d@{/*use7*/[|fff|]} partial reference */
//// const g = ""
goTo.marker("use1");
verify.goToDefinition([]);
goTo.marker("use2");
verify.goToDefinition([]);
goTo.marker("use3");
verify.goToDefinition([]);
goTo.marker("use4");
verify.goToDefinition([]);
goTo.marker("use5");
verify.goToDefinitionIs("def1");
goTo.marker("use6");
verify.goToDefinition([]);
goTo.marker("use7");
verify.goToDefinition([]);