feat(scripteditor): tag-path completion for absolute RawPaths #490
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deferred from v3 Batch 3, re-recorded in the Batch 4 PR doc.
Monaco tag-path completion inside
ctx.GetTag("…")/ctx.SetVirtualTag("…")works for the equipment-relative{{equip}}/form, but not for absolute RawPaths (Plant/Modbus/dev1/Speed).Since v3 the raw tree is the authoring surface for device I/O and absolute RawPaths are a normal thing to write in a script, so the completion gap pushes authors to type them by hand — and a typo'd RawPath is only caught at deploy (
Bad 0x80000000at runtime for the literal).Worth pairing with the existing tag-path hover so an absolute path resolves and displays like a relative one. Editor-accepts ⇔ publish-accepts is the invariant to preserve.