Skip to content

Typing <-#-<RET> results in <#endregion#> instead of <#\n #3276

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
andyleejordan opened this issue Apr 6, 2021 · 5 comments · Fixed by microsoft/vscode#146459 or #3900
Closed

Typing <-#-<RET> results in <#endregion#> instead of <#\n #3276

andyleejordan opened this issue Apr 6, 2021 · 5 comments · Fixed by microsoft/vscode#146459 or #3900
Assignees
Labels

Comments

@andyleejordan
Copy link
Member

andyleejordan commented Apr 6, 2021

We have a snippet for #endregion# that seems to be blocking me from just opening PowerShell's comment block syntax like:

<#
  .SYNOPSIS
...
#>

Because hitting enter after <# accepts the suggestion to expand that completion/snippet instead of entering a newline.

@rjmholt any ideas?

@andyleejordan
Copy link
Member Author

Confirmed it's a snippet and not IntelliSense:

@andyleejordan
Copy link
Member Author

I'm hoping there's something we can change in how we define the snippet to require that it it's on a newline, or does not have < in front of #.

@andyleejordan
Copy link
Member Author

Did just learn that comment-help is a snippet I might use a lot...

@andyleejordan
Copy link
Member Author

Re-opening, can close when upstream is fixed.

@andyleejordan andyleejordan reopened this Mar 31, 2022
@andyleejordan andyleejordan moved this from Done to In Progress in Sea Biscuit Mar 31, 2022
@andyleejordan
Copy link
Member Author

Yay, all fixed!

Repository owner moved this from In Progress to Done in Sea Biscuit Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
1 participant