Repository navigation
fix(editor): highlight Justfile recipes and mobile HCL assignments - #35573
Conversation
335d869 to
fa2a5d2
Compare
[Low impact] The code changes appear safe to merge; no actionable defects were found. SummaryAdds Justfile highlighting through the shared filename detector and basic HCL highlighting on mobile.
OrcaWin explicitly acknowledges the limited grammar coverage and the unresolved broad affected-unit gate. Reviews (1) · Last reviewed commit: "fix(editor): highlight Justfile recipes ..." · Reviewed by Greptile |
|
No actionable comments were generated in the recent review.
|
ELI5
Justfiles now color shell recipes and comments instead of appearing as plain text. Mobile Terraform files gain basic assignment, string, and comment highlighting.
What Changed
justfile,Justfile,.justfile, and*.just, using the existing shell grammar on desktop and Bash on mobile..tfvarson its existing HCL support from fix(editor): recognize all bundled Monaco language associations #23371.Why
Both clients already share language detection. These associations and the existing mobile grammar fallback fix the remaining cases without adding dependencies or parallel maps. Shell covers Just recipes; Just-specific interpolation and attributes remain outside its grammar.
Adapted from the remaining proposal in closed, unmerged #11256, which invited a fresh current-main PR after backlog cleanup.
Linked Issue
Fixes #11215
Visual Proof
Same Justfile in a folder workspace, Linux hidden Electron/CDP, light theme:
Before:
(screenshot removed: contained real product data)
After:
(screenshot removed: contained real product data)
Testing
justfile,Justfile,.justfile,.just,dev.tfvars,main.tf,control.sh) render highlighted in light and dark themes. Baseline Justfile renders plain in both themes; screenshots inspected.git diff --checkand independent code review./tmpwas at99% inode usage. An isolated temporary-directory rerun hit30 minutes; the final--timeout=60run also timed out at60 minutes and loggedECONNREFUSEDfor::1:3000and127.0.0.1:3000. Neither timeout produced a completed test summary. Focused and rendered evidence above passes; the broad affected-unit gate remains unresolved.Native macOS/Windows, native mobile apps, and a live SSH host were not run. Existing path/case handling is unchanged; both clients share the same detector and no transport, filesystem, process, or platform APIs change.
Review
Independent review found no blockers. No new dependencies, IPC, background work, or model ownership changes. Mobile grammar approximation and Just-specific grammar limits are deliberate.
Agent skill upstream boundary
Checklist