PowerShell / PowerShell/vscode-powershell
System and Scope Modifier variables do not evaluate in hover tooltip
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Please fill in these details so that we can help you!
System Details
- Operating system name and version:
- VS Code version: 1.8.0
- PowerShell extension version: 0.7.2
- Output from
$PSVersionTable:
PSVersion 5.0.10240.17146
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.42000
BuildVersion 10.0.10011.16384
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
Issue Description
Not sure if this is considered a bug or not, but I noticed that when you use scope modifiers ($script: $global:, etc.) or the $env: prefix, these variables do not evaluate when hovered over like normal variables. They do display if paste them into Watches however. Is this something that is already a known issue or has plans to be addressed.
Also, I have additional feedback I would like to provide, is there a process to submit enhancement ideas to be evaluated?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code 1.8.0 with PowerShell extension 0.7.2 using the supplied PowerShell version, then compare hover evaluation with Watches for scope modifiers and the $env: prefix. Done means these variables evaluate correctly in the hover tooltip, with the existing Watch behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100