-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Changing Pythagora's installation directory
If you need to change the directory where Pythagora's Core files are installed, follow the steps below to seamlessly move your Pythagora setup to a new location without losing your current configurations and projects:
-
Create a new empty, directory on your computer.
-
Go to Pythagora's settings page and find the
Pythagora Core pathsection. ClickChangeand select the new directory created in step #1:
-
This action will trigger the installation of the Pythagora core files to the new directory.
-
After finishing the installation, the directory you selected in step #2 will contain a new directory called
pythagora-corewith all of the Pythagora core files. -
To ensure continuity of your existing projects, inside the old
pythagora-coredirectory where you previously had Pythagora core installed, manually copy thepythagora.dbfile. Paste the oldpythagora.dbfile inside the newpythagora-coredirectory, replacing the existingpythagora.dbfile in the newpythagora-coredirectory. -
A new
config.jsonfile will be created in the newpythagora-coredirectory with the default settings.
Note: The steps in this article refer to the Pythagora core files, which is separate from the location where VS Code installs the underlying extension files. These files are usually in a directory called .vscode, inside an extensions directory. We don't recommend modifying this directory's location or the files inside this directory.