macOS and spaces in text editor path gives error

While this doesn’t solve the spaces in paths issue, there is a way to get Visual Studio Code working as the text editor in KiCad on macOS.

  1. In VS Code, open the Command Palette (Shift+Command+P) and type shell command

  2. There should be an option Shell Command: Install 'code' command in PATH, select this

  3. VS Code will do its thing and install it – for me the default path was /usr/local/bin/code, you can check in Terminal by typing which code and it will print out the correct path

  4. In KiCad Text editor preferences, type: /usr/local/bin/code (or whatever your path is)

  5. Now KiCad will use VS Code as its text editor!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.