Skip to content

Add note about terminal word separators #3472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ This will cause `-` and `$` to register as word boundaries, meaning for example
that double-clicking on a letter in `$MyVariable` will not select the `$` and on
the `G` in `Get-Process` will only select `Get` rather than the verb and noun.

Users may also wish to set Visual Studio Code's integrated terminal's word separators (a
separate setting) to exclude `-` to mirror the behavior in the terminal. This will apply
to _all_ terminals, not just PowerShell terminals.

```json
"terminal.integrated.wordSeparators": " ()[]{}',\"`─"
```

## Problems with syntax highlighting

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