load_json(), save_json() default directory for User Plugins: plugin dir or Settings
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 275
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
total noob question.
I took it from API doc on save_json() that load_json()/save_json() read and write to User/Settings plugin dir:
Saves the JSON file with the given name in the User's Settings plugin. If value is not given, then the file must have been loaded with load_json(...) first.
I don't see it specifically mentioned in load_json() doc and load_json()/save_json() are not part of the core source visible so can't actually see what they are doing.
Anyway, it appears that they both read and write to the plugin directory itself not the User/Settings plugin dir. Is this the intended behaviour, keep plugin settings in the individual plugin dirs not the user/Settings dir?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the API documentation for load_json() and save_json(), then verify which directory their current behavior uses. Done means resolving the intended location and updating the relevant documentation so both functions describe their default directory consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100