You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
autoClosingPairs in language-configuration.json doesn't allow multiple entries that use quotes. #58619
I'm looking for a way to support autoClosingPair of:
' ' , " ", @' '@, and @" "@
However, when I add, for example:
["@'","'@"] to the language-configuration.json it doesn't work and still autocloses just ' so it looks like @''.
If I remove this entry from the autoClosingPairs, then @' closes properly to become @''@. But then ' no longer completes.
Is there a way to do what I'm trying to do?
Reacted by Rob Holt, Keith Hill, DarkLite1, billw2012, Matthew Fosdick, Robin Munn, Chet Husk, Tatsunori Uchino, Scott Hardwick, TylerLeonhardt and 47 more
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Reacted by TylerLeonhardt, Rain Sallow (/u/ta11ow) and ndriscol
Why was this closed? The change will need to be in this repo so that the maximum amount of people are affected (aka those that don't install the PowerShell extension but edit a PowerShell script).
TylerLeonhardt I closed the issue because I considered the initial issue is resolved. So now "autoClosingPairs in language-configuration.json does allow multiple entries that use quotes".
Was this issue meant to be about PowerShell specifically? I thought that was given just as an example. Do you want that we add @' and '@ as auto-closing pairs to the built-in PowerShell language configuration?
Thanks Alexandru Dima (@alexdima), makes sense! Yes we should add those to the built-in PowerShell language configuration. I was about to send a PR your way 😄
Activity
rmunn commentedon Aug 16, 2019
It looks like this is related to #72177, which is a slightly different issue but probably caused by the same underlying bug.
vscodebot commentedon Jan 15, 2020
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
TylerLeonhardt commentedon Jan 16, 2020
Since this is an extensibility issue, I find it hard to believe that this will get the required likes to not be closed.
Please consider not doing that...
This can be viewed as a bug (or at least a silly limitation) as I can have auto closing pairs of
'and auto closing pairs of@'but not together.vscodebot commentedon Mar 6, 2020
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding
2 remaining items
vscodebot commentedon Mar 6, 2020
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
alexdima commentedon Apr 14, 2020
TylerLeonhardt This works fine for me on latest VS Code. If I add:
to
extensions/powershell/language-configuration.json, this is the behaviour I get:I believe this got addressed as a side effect of 37981d8 . Can you please confirm?
TylerLeonhardt commentedon Apr 14, 2020
Awesome - let me give this a test.
Why was this closed? The change will need to be in this repo so that the maximum amount of people are affected (aka those that don't install the PowerShell extension but edit a PowerShell script).
alexdima commentedon Apr 14, 2020
TylerLeonhardt I closed the issue because I considered the initial issue is resolved. So now "autoClosingPairs in language-configuration.json does allow multiple entries that use quotes".
Was this issue meant to be about PowerShell specifically? I thought that was given just as an example. Do you want that we add
@'and'@as auto-closing pairs to the built-in PowerShell language configuration?TylerLeonhardt commentedon Apr 14, 2020
Thanks Alexandru Dima (@alexdima), makes sense! Yes we should add those to the built-in PowerShell language configuration. I was about to send a PR your way 😄
TylerLeonhardt commentedon Apr 14, 2020
Alexandru Dima (@alexdima) PR sent: #95245