Windows PowerShell ISE: Double click should select entire cmdlet/variable name
Votes from Connect: 20
Original Date Submitted: 6/21/2013 11:14:16 PM
Description:
Contact Information
Handle: deadlydog
Site Name: PowerShell
Feedback ID: 790661
Frequency: Always Happens
Regression: Yes, this happens in all previous versions
Problem Description:
When you double click on a cmdlet or variable name in the PS IDE v3 it doesn't select the entire cmdlet/variable name. Unlike other text editors, PS IDE is meant for working with PowerShell code, so it should make some assumptions to make it more PowerShell friendly.
Example 1: Get-Help
- if you double click on Help, only "Help" is selected, but is should select "Get-Help".
Example 2: $someVariable
- if you double click somewhere in "someVariable", only "someVariable" is selected, but it should select "$someVariable".
This tiny UI tweak would make a huge difference, and would be noticed by almost everybody who uses PS IDE.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 790661 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=790661).
Repro Steps:
Scenario 1:
1 - Type "Get-Help"
2 - Double click on "Get" or "Help"
3 - Only "Get" or "Help" will be selected.
Scenario 2:
1 - Type "$variable"
2 - Double click on "variable"
3 - Only "variable" is selected.
Expected Results:
Scenario 1:
1 - Type "Get-Help"
2 - Double click on "Get" or "Help"
3 - "Get-Help" should be selected.
Scenario 2:
1 - Type "$variable"
2 - Double click on "variable"
3 - "$variable" should be selected.
Internal BugId: 4264

2 comments
-
Barnaby commented
Alternatively, enable a user option in the editor that controls what is selected via double- and triple-clicking text. I would personally like to double-click a word, or triple-click the 'object' (e.g. '$variable' or 'Get-Help')
-
Ben commented
Please, please make this change. Anybody who spends a significant amount of time writing Powershell will thank you.