Skip to content

Conversation

CyrusNajmabadi
Copy link
Contributor

No description provided.

@@ -1548,7 +1548,7 @@ module ts {
return sourceFile;
}

export var disableIncrementalParsing = true;
export var disableIncrementalParsing = false;
Copy link
Member

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 and src/harness/fourslash.ts.

Copy link
Member

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:

// Once incremental parsing is ready, then just call into this function.

So just remove that.

Copy link
Contributor Author

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.

-- Cyrus

From: Daniel Rosenwassermailto:[email protected]
Sent: ý12/ý27/ý2014 8:29 AM
To: Microsoft/TypeScriptmailto:[email protected]
Cc: Cyrus Najmabadimailto:[email protected]
Subject: Re: [TypeScript] Enable incremental parsing by default. (#1568)

In src/services/services.tshttps://github.com//pull/1568#discussion-diff-22292557:

@@ -1548,7 +1548,7 @@ module ts {
return sourceFile;
}

  • export var disableIncrementalParsing = true;
  • export var disableIncrementalParsing = false;

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.

@DanielRosenwasser
Copy link
Member

Math.pow(💯,💯);

CyrusNajmabadi added a commit that referenced this pull request Dec 28, 2014
Enable incremental parsing by default.
@CyrusNajmabadi CyrusNajmabadi merged commit c9594c3 into master Dec 28, 2014
@CyrusNajmabadi CyrusNajmabadi deleted the enableIncremental branch December 28, 2014 07:56
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 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.

2 participants