Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super anticlimactic for this review, but could we rename this to
enableIncrementalParsing
?I think it's only referenced in
tests/cases/unittests/incrementalParser.ts
andsrc/harness/fourslash.ts
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, there's a comment on line 1575:
So just remove that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about that, but I prefer this. You are now choosing to opt out of incremental parsing by saying 'yes/true' I would like to disable incremental parsing.
From: Daniel Rosenwassermailto:notifications@github.com
Sent: ý12/ý27/ý2014 8:29 AM
To: Microsoft/TypeScriptmailto:TypeScript@noreply.github.com
Cc: Cyrus Najmabadimailto:cyrusn@microsoft.com
Subject: Re: [TypeScript] Enable incremental parsing by default. (#1568)
In src/services/services.tshttps://github.com//pull/1568#discussion-diff-22292557:
Super anticlimactic for this review, but could we rename this to enableIncrementalParsing?
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/1568/files#r22292557.