A template tier between index names and keywords: if / if-else / else-if
(gated on the line head, so it appears after end but not after an
identifier), case and casez with default, loops, always_ff (plain and
reset variants), always_comb, always @(...), initial, and declaration
templates - logic/localparam/parameter in .sv, wire/reg/integer twins in
.v; pathless buffers get the conservative Verilog set. One renderer
spells each body as snippet and plain text so the two cannot drift, and a
registry-wide test parses every untouched expansion. Nine overlapping
static VS Code snippets moved server-side; file-level ones stay static.
Co-Authored-By: Claude Fable 5 <[email protected]>
30 snippets across both language ids: module, always/always_ff/always_comb
with reset, case-with-default, FSM skeleton, interface with modports,
package, class, assert property, testbench, include guard, and more.
All 30 rendered bodies parse with vfmt itself; $-escaping verified by
round-tripping through the VS Code snippet grammar.
Co-Authored-By: Claude Fable 5 <[email protected]>