Skip to content

comment-help Snippet Cursor End Incorrect #4043

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
1 of 6 tasks
mattcargile opened this issue Jun 23, 2022 · 1 comment
Closed
1 of 6 tasks

comment-help Snippet Cursor End Incorrect #4043

mattcargile opened this issue Jun 23, 2022 · 1 comment
Labels
Area-Snippets Issue-Bug A bug to squash. Resolution-Fixed Will close automatically.

Comments

@mattcargile
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

Using the comment-help snippet there is a {0} at the end which is confusing and a minor annoyance.

I'm hearing that it should be a $0 .

PowerShell Version

�[32;1mName                           Value�[0m
�[32;1m----                           -----�[0m
PSVersion                      7.2.5
PSEdition                      Core
GitCommitId                    7.2.5
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64

Extension Version

Steps to Reproduce

1.) Type comment-help
2.) Tab complete into snippet

Visuals

image

Logs

N/A

@mattcargile mattcargile added the Issue-Bug A bug to squash. label Jun 23, 2022
@ghost ghost added the Needs: Triage Maintainer attention needed! label Jun 23, 2022
@andyleejordan andyleejordan added Up for Grabs Will shepherd PRs. Area-Snippets and removed Needs: Triage Maintainer attention needed! labels Jun 23, 2022
okhoel added a commit to okhoel/vscode-powershell that referenced this issue Oct 1, 2022
@okhoel okhoel mentioned this issue Oct 1, 2022
4 tasks
@andyleejordan andyleejordan added Resolution-Fixed Will close automatically. and removed Up for Grabs Will shepherd PRs. labels Nov 30, 2022
@ghost ghost closed this as completed Nov 30, 2022
@ghost
Copy link

ghost commented Nov 30, 2022

This issue has been marked as fixed. It has been automatically closed for housekeeping purposes.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Snippets Issue-Bug A bug to squash. Resolution-Fixed Will close automatically.
Projects
None yet
Development

No branches or pull requests

2 participants