A VS Code viewer for KiCad schematic and PCB files. Supports both viewing single files, as well as diffing two files against each other.
Single files
The extension registers itself as the default viewer for .kicad_sch and .kicad_pcb files. You can manually switch back to the text editor/to the viewer again using the View: Reopen Editor With... action.
Viewing a single schematic:
Viewing a single PCB:
Diffing two files
The extension registers itself as the default diff viewer for .kicad_sch and .kicad_pcb files. This means that any time a file comparison is triggered (e.g. via Compare against previous revision), the visual diff view is used instead. As for the single file viewer, switching back to the text editor can be done using the View: Reopen Editor With... action.
Comparing two schematic revisions:
Comparing two PCB revisions:
Requirements
KiCad 9.0 installed. Default CLI path is
C:\Program Files\KiCad\9.0\bin\kicad-cli.exe; override via the
kicadViewer.kicadCliPath setting.