Skip to content

Add support for multi-line string literals when converting string concatenation to string interpolation #1568

Open
@AppAppWorks

Description

@AppAppWorks

Description

#1551 added a code action for converting string concatenation to string interpolation, however multi-line string literals are not yet supported. We should add support for this, e.g.

"""
I
am
a
""" + value + 
"""
multi-line
string
literal
"""

will be converted to

"""
I
am
a\(value)multi-line
string
literal
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions