Skip to content

Commit 66b92a4

Browse files
Add note about terminal word separators (#3472)
1 parent b8e81eb commit 66b92a4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/troubleshooting.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ This will cause `-` and `$` to register as word boundaries, meaning for example
5555
that double-clicking on a letter in `$MyVariable` will not select the `$` and on
5656
the `G` in `Get-Process` will only select `Get` rather than the verb and noun.
5757

58+
Users may also wish to set Visual Studio Code's integrated terminal's word separators (a
59+
separate setting) to exclude `-` to mirror the behavior in the terminal. This will apply
60+
to _all_ terminals, not just PowerShell terminals.
61+
62+
```json
63+
"terminal.integrated.wordSeparators": " ()[]{}',\"`─"
64+
```
65+
5866
## Problems with syntax highlighting
5967

6068
PowerShell syntax highlighting is performed in combintation by the [PowerShell Extension]

0 commit comments

Comments
 (0)