Skip to content

Conversation

@LEGOL2
Copy link
Contributor

@LEGOL2 LEGOL2 commented Jul 2, 2021

As vs code is often used in professional environment, it's usual to compare very big log files for debug purposes. Current limit is too small and I often end up with Cannot compare files because one file is too large. error. Development machines usually have a lot of RAM installed and often have SSD drives, so bigger limit should not be a problem.

This PR fixes #
Increases limit of file size for file comparison feature.

As vs code is often used in professional environment, it's usual to compare very big log files for debug purposes. Current limit is too small and I often end up with `Cannot compare files because one file is too large.` error. Development machines usually have a lot of RAM installed and often have SSD drives, so bigger limit should not be a problem.
Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This particular constant is used for multiple purposes. One purpose is the diffing, but others include: syncing to the extension host, computing links, etc. At least on the extension host, many extensions are not prepared to deal with such large files. I therefore suggest that diffing itself is improved in a (local) way that is independent of the other usages.

This change increases max file size for diff option, without affecting other syncing operations.
@ghost
Copy link

ghost commented Jul 5, 2021

CLA assistant check
All CLA requirements met.

@LEGOL2 LEGOL2 requested a review from alexdima July 5, 2021 13:28
@rebornix rebornix removed their assignment Jul 12, 2021
@LEGOL2
Copy link
Contributor Author

LEGOL2 commented Jul 20, 2021

@alexdima is my PR ok?

@LEGOL2
Copy link
Contributor Author

LEGOL2 commented Sep 10, 2021

@alexdima @sbatten @rebornix Could you please review my change? This PR is already quite old, maybe this feature has been already implemented?

@alexdima alexdima added this to the September 2021 milestone Sep 14, 2021
@alexdima
Copy link
Member

Thank you!

@alexdima alexdima merged commit d4d296f into microsoft:main Sep 14, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2021
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