apple / apple/pkl.tmbundle

Interpolated string?

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Pkl
Stars
11
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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

https://github.com/apple/pkl.tmbundle/blob/3a2e98457537ae1e37644ffb05ea786659c4095f/Syntaxes/pkl.tmLanguage#L1387

Image

Contributor guide

Open the contributing guide

Research direction

Start at Syntaxes/pkl.tmLanguage around line 1387 and inspect what the escaped brackets currently match. Determine whether the interpolation can support nested code and whether the embedded region should use the meta.embedded scope; done means the grammar handles nested interpolation correctly and enables bracket-pair highlighting.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.