Add new smartWithSelection option for markdown links (#202183)

This becomes the new default while `smart` always smartly pastes, even with no selection
This commit is contained in:
Matt Bierner
2024-01-10 11:01:52 -08:00
committed by GitHub
parent 115155df62
commit 0bb69da87c
4 changed files with 70 additions and 47 deletions

View File

@@ -517,15 +517,17 @@
"type": "string",
"scope": "resource",
"markdownDescription": "%configuration.markdown.editor.pasteUrlAsFormattedLink.enabled%",
"default": "smart",
"default": "smartWithSelection",
"enum": [
"always",
"smart",
"smartWithSelection",
"never"
],
"markdownEnumDescriptions": [
"%configuration.pasteUrlAsFormattedLink.always%",
"%configuration.pasteUrlAsFormattedLink.smart%",
"%configuration.pasteUrlAsFormattedLink.smartWithSelection%",
"%configuration.pasteUrlAsFormattedLink.never%"
]
},