-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin folder name should match plugin id in manifest.json #153
Comments
Should I create a PR to update the docs? |
It would be helpful if you could at least get the foundations started. Joethei just go back from vacation and is catching up on plugin reviews, and my focus is on the main help docs for this week at least. :) |
I created a PR that addresses "Build a plugin" and "Manifest" pages. I think it would be good to also add this info to |
To confirm, this is roughly the part that you think should be added to Note For local development, the |
Yes. When it didn’t work for me, the first page I opened was the Maybe something like this: For local development, the |
Got it, I'll add it to my batch of changes this evening as your PR was already merged. :) Edit: Joethei will handle this actually and get something added. <3 |
For Obsidian to work correctly, the folder name in
.obsidian/plugins
must match theid
inmanifest.json
. Without this, methods such asonExternalSettingsChange
won't be called. However, this requirement isn't mentioned anywhere in the Obsidian documentation (neither on the Manifest page nor the onExternalSettingsChange page).Why this is a problem:
id
. So, if such a repository is cloned,onExternalSettingsChange
won't work.onExternalSettingsChange
don't work (Discord question).Solutions:
onExternalSettingsChange
pages.The text was updated successfully, but these errors were encountered: