Skip to content

Commit 5186227

Browse files
committed
Add open and close double quotes to terminal word separators
Fixes microsoft#209852
1 parent 910cdff commit 5186227

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ const terminalConfiguration: IConfigurationNode = {
476476
markdownDescription: localize('terminal.integrated.wordSeparators', "A string containing all characters to be considered word separators when double-clicking to select word and in the fallback 'word' link detection. Since this is used for link detection, including characters such as `:` that are used when detecting links will cause the line and column part of links like `file:10:5` to be ignored."),
477477
type: 'string',
478478
// allow-any-unicode-next-line
479-
default: ' ()[]{}\',"`─‘’|'
479+
default: ' ()[]{}\',"`─‘’“”|'
480480
},
481481
[TerminalSettingId.EnableFileLinks]: {
482482
description: localize('terminal.integrated.enableFileLinks', "Whether to enable file links in terminals. Links can be slow when working on a network drive in particular because each file link is verified against the file system. Changing this will take effect only in new terminals."),

src/vs/workbench/contrib/terminalContrib/links/test/browser/terminalLinkManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const defaultTerminalConfig: Partial<ITerminalConfiguration> = {
3535
fastScrollSensitivity: 2,
3636
mouseWheelScrollSensitivity: 1,
3737
unicodeVersion: '11',
38-
wordSeparators: ' ()[]{}\',"`─‘’'
38+
wordSeparators: ' ()[]{}\',"`─‘’“”'
3939
};
4040

4141
class TestLinkManager extends TerminalLinkManager {

0 commit comments

Comments
 (0)