-
Notifications
You must be signed in to change notification settings - Fork 28.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multiline jsdoc type highlightingFixes #27777
- Loading branch information
Showing
14 changed files
with
1,351 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
extensions/typescript-basics/test/colorize-fixtures/test-jsdoc-example.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* @example | ||
* 1 + 1 | ||
* | ||
* @other | ||
* not colored | ||
*/ | ||
const a = 1 |
7 changes: 7 additions & 0 deletions
7
extensions/typescript-basics/test/colorize-fixtures/test-jsdoc-markdown.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* **Bold** | ||
* ```js | ||
* 1 + code | ||
* ``` | ||
*/ | ||
const a = 1 |
22 changes: 22 additions & 0 deletions
22
extensions/typescript-basics/test/colorize-fixtures/test-jsdoc-multiline-type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* @typedef {{ | ||
* id: number, | ||
* fn: !Function, | ||
* context: (!Object|undefined) | ||
* }} | ||
* @private | ||
*/ | ||
goog.dom.animationFrame.Task_; | ||
|
||
|
||
/** | ||
* @typedef {{ | ||
* measureTask: goog.dom.animationFrame.Task_, | ||
* mutateTask: goog.dom.animationFrame.Task_, | ||
* state: (!Object|undefined), | ||
* args: (!Array|undefined), | ||
* isScheduled: boolean | ||
* }} | ||
* @private | ||
*/ | ||
goog.dom.animationFrame.TaskSet_; |
Oops, something went wrong.