Lint Schematic Cosmetic
lint_schematic_cosmeticHide redundant pin names and reorient net labels in KiCad schematics for cleaner reading, using netlist-safe raw-text edits that preserve all connectivity.
Instructions
Netlist-safe cosmetic cleanup of a .kicad_sch, applied as raw-text edits that never move a symbol, pin, wire, junction, or label anchor. Pass hide_pin_names gives every top-level embedded lib_symbol a (pin_names ... (hide yes)) directive — in label-driven schematics the internal pin names duplicate the net label on the same pin. Pass orient_labels sets each net/global/hierarchical label's text angle and justify from the sheet-space outward side of the pin it sits on (rotation/mirror aware), so text reads away from the symbol body; labels not on a pin are left untouched. Complements autoplace_schematic_fields (which handles Reference/Value fields).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Report change counts without writing (default false) | |
| passes | No | Passes to run, in order (default: both) | |
| schematicPath | Yes | Path to the .kicad_sch file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |