Skip to content

Improve assist "Convert to single/double quoted string" #40888

@a14n

Description

@a14n

The assist Convert to single/double quoted string is not available for some cases that could be handled. Moreover the convertion should remove backslashes when they are useless.

Here's what should works for Convert to double quoted string:

  • 'it\'s' -> "it's" (currently convert to "it\'s")
  • 'it"s' -> "it\"s" (currently no assist suggested)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4contributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)devexp-quick-fixIssues with analysis server (quick) fixeslegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions