Skip to content

Commit 54ec31f

Browse files
authored
Merge pull request #721 from glennsarti/gh695-file-limit
(GH-695) Add puppet.editorService.formatOnType.maxFileSize setting
2 parents b534c57 + 72f8d45 commit 54ec31f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,12 @@
395395
"default": false,
396396
"description": "Enable/disable the Puppet document on-type formatter, for example hashrocket alignment"
397397
},
398+
"puppet.editorService.formatOnType.maxFileSize": {
399+
"type": "integer",
400+
"default": 4096,
401+
"minimum": 0,
402+
"description": "Sets the maximum file size (in Bytes) that document on-type formatting will occur. Setting this to zero (0) will disable the file size check. Note that large file sizes can cause performance issues."
403+
},
398404
"puppet.editorService.hover.showMetadataInfo": {
399405
"type": "boolean",
400406
"default": true,

0 commit comments

Comments
 (0)