Skip to content

A 'continues' operator, meaning that the quoted string continues until the end of the line #10

@makoConstruct

Description

@makoConstruct

When writing structured text documents, it's often desirable to have a syntax that means something like "and the rest of the line is one string." We sort of have that with unclosed ", but that has the issue that the rest of that string can't contain a ", or else it becomes a closed string, and users will often type a " absentmindedly when they're writing in the mindset of a string that continues until the end of the line, creating problems.

So I'd consider something like :" or ::. A person would normally never type those sequences of characters, so they're free to use.

If we did this, getting rid of unclosed " might be a good idea, since it just becomes a flawed version of this and using it becomes a bad habit, setting the user up to accidentally close the string and get weird structures. I think I'd like to just replicate woodslist's very straightforward strings where, well, whatever's in the string is in the string, including newlines and indents, and that's all there is to it. This is sometimes what people want. Although our indented multiline strings are usually preferable, they would still be available through the continues operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions