Skip to content

Commit 72f8d45

Browse files
committed
(GH-695) Add puppet.editorService.formatOnType.maxFileSize setting
Now that Puppet Editor Services has a setting to change the on-type formatting this commit updates the VSCode Extension to surface that setting to users.
1 parent b534c57 commit 72f8d45

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)