Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

avoid creating syntax nodes for jsdoc comment tags#10526

Merged
zhengbli merged 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
zhengbli:dontCreateSyntaxListForJsDoczhengbli/TypeScript:dontCreateSyntaxListForJsDocCopy head branch name to clipboard
Aug 25, 2016
Merged

avoid creating syntax nodes for jsdoc comment tags#10526
zhengbli merged 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
zhengbli:dontCreateSyntaxListForJsDoczhengbli/TypeScript:dontCreateSyntaxListForJsDocCopy head branch name to clipboard

Conversation

@zhengbli

Copy link
Copy Markdown

This PR avoid creating syntax lists children for things in between jsdoc tags. It wasn't useful to keep them, and that way we don't need to skip them later.

@sandersn

Copy link
Copy Markdown
Member

What bug does this fix?
Otherwise 👍 ... as far as I understand this code, which is not much.
(I recently ran into problems in this code in the new-jsdoc-parser-WIP branch, so if this doesn't fix them, I'll probably come ask you to explain what you know about it.)

@zhengbli

Copy link
Copy Markdown
Author

This is a change based on #10407, which solves #9650 but still creates the synthetic nodes and skip them, so it does some unnecessary work.

Sure let me know if you have any questions.

@sandersn

Copy link
Copy Markdown
Member

I tried this on the new jsdoc parser and things got a lot better. 👍 🎮

@zhengbli zhengbli merged commit 8d5aaf8 into microsoft:master Aug 25, 2016
@zhengbli zhengbli deleted the dontCreateSyntaxListForJsDoc branch August 25, 2016 21:26
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.