-
Notifications
You must be signed in to change notification settings - Fork 21
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
Config setting for format on type file size limit #289
Labels
enhancement
New feature or request
Milestone
Comments
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jan 13, 2021
Previously only files that were less than 4KB in size could use the format-on-type feature. This commit updates the Language Server to honor a new configuration setting puppet.editorService.formatOnType.maxFileSize which will determine the maximum file size. A size of 0 will disable the size check. The default is 4096 as per the previous behaviour. No specific tests have been added and has been manually tested.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jan 13, 2021
Previously only files that were less than 4KB in size could use the format-on-type feature. This commit updates the Language Server to honor a new configuration setting puppet.editorService.formatOnType.maxFileSize which will determine the maximum file size. A size of 0 will disable the size check. The default is 4096 as per the previous behaviour. No specific tests have been added and has been manually tested.
jpogran
added a commit
that referenced
this issue
Jan 13, 2021
(GH-289) Make Format On Type file size configurable
scoiatael
pushed a commit
to scoiatael/puppet-editor-services
that referenced
this issue
Jan 14, 2022
Previously only files that were less than 4KB in size could use the format-on-type feature. This commit updates the Language Server to honor a new configuration setting puppet.editorService.formatOnType.maxFileSize which will determine the maximum file size. A size of 0 will disable the size check. The default is 4096 as per the previous behaviour. No specific tests have been added and has been manually tested.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From puppetlabs/puppet-vscode#695
Dynamically change file size limit
The text was updated successfully, but these errors were encountered: