Skip to content

[powershell] add here-string autoClosingPairs to PowerShell #73047

Closed

Description

@msftrncs

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"].

Activity

  1. added
    editor-autoclosing
    on Apr 29, 2019
  2. changed the title [-]add here-string autoClosingPairs to PowerShell[/-] [+][poershell] add here-string autoClosingPairs to PowerShell[/+] on May 2, 2019
  3. added
    feature-request
    on Aug 8, 2019
  4. changed the title [-][poershell] add here-string autoClosingPairs to PowerShell[/-] [+][powershell] add here-string autoClosingPairs to PowerShell[/+] on Oct 9, 2019
  5. vscodebot commented on Jan 15, 2020

    @vscodebot

    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!

  6. rmunn commented on Jan 17, 2020

    @rmunn
    Contributor

    The linked issue (#72177) is also in danger of being closed if it doesn't get upvotes. Anyone interested in getting this annoyance fixed should probably upvote #72177 so it can get moved to the VS Code backlog and the VS Code devs have a chance of seeing it.

  7. vscodebot commented on Mar 6, 2020

    @vscodebot

    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

  8. vscodebot commented on Mar 6, 2020

    @vscodebot

    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

  9. vscodebot commented on Mar 16, 2020

    @vscodebot

    🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  10. locked and limited conversation to collaborators on Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-autoclosingfeature-requestlanguages-basic

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions