[powershell] add here-string autoClosingPairs to PowerShell #73047
Labels
editor-autoclosing
Editor automatic closing of parens / brackets / etc.
feature-request
Request for new features or functionality
languages-basic
Basic language support issues
Milestone
Consider adding autoClosingPairs to PowerShell language configuration for
@'..'@
and@"..."@
.However, to do so would require fixing some issues, such as #72177 because these patterns conflict with regular quoted string patterns. Ideally the closing pair should inject a
\n
(newline, before the closing token), but that causes the cursor to jump to after the newline (in the cases were I have tested it with non-conflicting pairs). Alternatively, if a newline was allowed in the opening pair detection, that could be an option too.These pairs would probably also require
"notIn": ["string", "comment"]
.The text was updated successfully, but these errors were encountered: