-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-289) Make Format On Type file size configurable
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.
- Loading branch information
1 parent
83b8652
commit 3e08c07
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters