Pierrad / obsidian-github-copilot

A bridge between Obsidian and Github Copilot
Apache License 2.0
55 stars 5 forks source link

Exclude the path from Obsidian Sync #25

Open Michaelpalacce opened 2 weeks ago

Michaelpalacce commented 2 weeks ago

Currently, if you are using obsidian sync on multiple devices, syncing the path will result in issues, as the path will be different on each device.

Proposition is to store the path in a separate json file that will not be picked up by sync

LuCa-0 commented 2 weeks ago

I'm not using obsidian sync but google drive and i'm running into the same problem when switching between windows and macos. This would help a lot!

Pierrad commented 1 week ago

Hi @Michaelpalacce & @LuCa-0,

Thanks for using the plugin!

In v1.0.8, I added a settings to enable saving the nodePath to a device_data.json. The nodePath will be saved in both data json files but if the setting is enabled, it takes the nodePath from the device_data.json file. If this file is not sync between device it should allow you to have different configuration between devices.

Capture d’écran 2024-06-23 à 10 37 22

Can you tell me if it works on your side?