Skip to content

Instantly share code, notes, and snippets.

@shnam7
Last active February 9, 2025 16:04
Show Gist options
  • Select an option

  • Save shnam7/953d19da155ecb32b4a2923589d6748d to your computer and use it in GitHub Desktop.

Select an option

Save shnam7/953d19da155ecb32b4a2923589d6748d to your computer and use it in GitHub Desktop.
PlatformIO - Changing default projects location in vscode
1. Open PlatformIO terminal: Press <Ctrl>+P and type "platformIO: Net Terminal"
2. In the PlatformIO terminal, execute following command
> platformio settings get projects_dir # check current default location
> platformio settings set projects_dir "New Directory"
3. short command
> pio settings get projects_dir
> pio settings set projects_dir "New Directory"
reference: https://docs.platformio.org/en/latest/core/userguide/cmd_settings.html#platformio-settings-set
@shnam7
Copy link
Author

shnam7 commented Nov 11, 2023

"Platform IO: Home" icon is shown at the bottom of VS Code, once you set up your platform IO project.

PIO-home

@KH0000001
Copy link

Thank you so much!
I could change the settings after executing this command.

pio settings set projects_dir /Users/<your user name>/Library/"Mobile Documents"/com~apple~CloudDocs/<below the path of the folder you want to save>

And I could found below.

2023-11-12 15 51のイメージ

@shnam7
Copy link
Author

shnam7 commented Nov 12, 2023

Great. Thank you for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment