-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Increase max file size for file comparison #127860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
alexdima
left a comment
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.
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.
|
@alexdima is my PR ok? |
|
Thank you! |
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.