提交 2f7fb6c5 编写于 作者: A Alex Dima

Fixes #22541

上级 31a503af
......@@ -709,7 +709,14 @@ const editorConfiguration: IConfigurationNode = {
nls.localize('wordWrap.off', "Lines will never wrap."),
nls.localize('wordWrap.on', "Lines will wrap at the viewport width."),
nls.localize('wordWrap.wordWrapColumn', "Lines will wrap at `editor.wordWrapColumn`."),
nls.localize('wordWrap.bounded', "Lines will wrap at the minimum of viewport and `editor.wordWrapColumn`."),
nls.localize({
key: 'wordWrap.bounded',
comment: [
'- viewport means the edge of the visible window size.',
'- `editor.wordWrapColumn` refers to a different setting that is numeric.',
'- the minimum will be computed at runtime and chosen to be the wrapping column.'
]
}, "Lines will wrap at the minimum of viewport and `editor.wordWrapColumn`."),
],
'default': DefaultConfig.editor.wordWrap,
'description': nls.localize('wordWrap', "Controls how lines should wrap. Can be:\n - 'off' (disable wrapping),\n - 'on' (viewport wrapping),\n - 'wordWrapColumn' (wrap at `editor.wordWrapColumn`) or\n - 'bounded' (wrap at minimum of viewport and `editor.wordWrapColumn`).")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册