Skip to content

Select $variable with double click in editor #2546

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

Closed
TheDanishDynamo opened this issue Mar 10, 2020 · 3 comments · Fixed by #2702
Closed

Select $variable with double click in editor #2546

TheDanishDynamo opened this issue Mar 10, 2020 · 3 comments · Fixed by #2702

Comments

@TheDanishDynamo
Copy link

As a developer I want to select a variable including the $ so that I don't have to select it manually by sliding.

When a user double-click a variable, the whole variable including the $ is selected

@ghost ghost added the Needs: Triage Maintainer attention needed! label Mar 10, 2020
@TylerLeonhardt
Copy link
Member

"[powershell]": {
    "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
}

Add this to your settings JSON in VS Code and now your double clicks on a variable names include the dollar sign '$'.

From my tweet:
https://twitter.com/TylerLeonhardt/status/1102749805233737729

@TylerLeonhardt
Copy link
Member

I need to add this to the ISE compat doc

@TylerLeonhardt
Copy link
Member

We should also consider this for ISE Mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants