Setup Notepad++ to remotely edit GoPiGo2 files

The Dexter website has instructions on how to do this but I want to summarize it again here with some small changes. https://www.dexterindustries.com/BrickPi/brickpi-tutorials-documentation/program-it/hints-and-tricks/

1) Open Notepad++ and add NppFTP plugin if you don’t already have it.

  1. Plugins -> Plugin Manager -> Show Plugin Manager
  2. Find NppFTP and install it.

2) “Show NppFTP Window” in the Plugins dropdown.

3) Click the gear symbol and then “Profile settings”

4) Add a new profile. Call it “GoPiGo” or any other name and edit the following fields:

Hostname: dex.local
Connection type: SFTP
Port: 22
Username: pi
Password: robots1234  (or your new password)
Initial remote directory: /home/pi  (or your preferred directory)

5) Authorize remote editing on Raspberry Pi.

On Raspberry Pi, open a terminal and enter this:

sudo find /home/pi -type d -exec chmod 777 {} \;

This will make everything editable. If you only want to set specific files then replace “/home/pi” with another file or folder.