Skip to content

Interpolated string? #4

Open
Open

Description

@RedCMD

what goes inside the escaped brackets?

is it just source.pkl code?
couldn't you use a begin/end so that it can handle nested code 100% correctly?
and should use scope meta.embedded to enable bracket pair highlighting

.+? # one or more characters lazily (correct syntax highlighting within here should be provided by semantic tokens)

Image

Activity

  1. RedCMD commented on Sep 25, 2025

    @RedCMD
    Author
  2. transferred this issue fromapple/pkl-vscodeon Sep 25, 2025
  3. bioball commented on Sep 25, 2025

    @bioball
    Member

    Transferred!

  4. bioball commented on Sep 25, 2025

    @bioball
    Member

    Yeah, it should be source.pkl within interpolation.

    A begin/end pattern sounds like a better way to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions