From 2854996ca574ab4db716c4d2f04f5e494f83ab8a Mon Sep 17 00:00:00 2001 From: rebornix Date: Tue, 24 Jan 2017 09:51:37 -0800 Subject: [PATCH] fix #19160. Explain restriction of formatters for formatOnPaste --- src/vs/editor/common/config/commonEditorConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/editor/common/config/commonEditorConfig.ts b/src/vs/editor/common/config/commonEditorConfig.ts index 07cf9ba6f13..d7ef6146491 100644 --- a/src/vs/editor/common/config/commonEditorConfig.ts +++ b/src/vs/editor/common/config/commonEditorConfig.ts @@ -672,7 +672,7 @@ const editorConfiguration: IConfigurationNode = { 'editor.formatOnPaste': { 'type': 'boolean', 'default': DefaultConfig.editor.formatOnPaste, - 'description': nls.localize('formatOnPaste', "Controls if the editor should automatically format the pasted content") + 'description': nls.localize('formatOnPaste', "Controls if the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.") }, 'editor.suggestOnTriggerCharacters': { 'type': 'boolean', -- GitLab