⚔️
Divide & Conquer
An Obsidian plugin that provides commands for bulk enabling/disabling of plugins and CSS Snippets. Useful for debugging when you have many plugins or CSS snippets.
Table of Contents
- How this helps with Debugging
- Commands Added
- Conquer CSS Snippets
- Installation
- Contribute
- About the Developer
How this helps with Debugging
You have a problem with Obsidian and have confirmed that the issue goes away when enabling safe mode. Now, you have to narrow down which plugin misbehaves. The most efficient method for doing so is called "bisecting", meaning that you disable half of the plugins, and depending on whether the issue still occurs or not, you can rule out one half of plugins.
Even though that process is the quickest method of finding the culprit-plugin, it is still quite cumbersome for power users who have 40, 50 or more plugins. Divide & Conquer provides some useful commands for bulk disabling/enabling of plugins, to make the power user's life easier.
Commands Added
- Disable half of the enabled plugins
- Enable half of the disabled plugins
- Disable all plugins
- Enable all plugins
- Toggle all plugins (Disable enabled plugins & enable disabled ones)
- Count enabled and disabled plugins
(Note that to be able to fulfill its duty, this plugin will never disable itself. The Hot Reload Plugin will also never be disabled, to avoid interference for developers.)
Conquer CSS Snippets
You can also divide and conquer your CSS snippets, the commands and the mechanics are exactly the same.
Installation
The plugin is available via Obsidian's Community Plugin Browser: Settings
→ Community Plugins
→ Browse
→ Search for "Divide & Conquer"
Contribute
Please use the .eslintrc
configuration located in the repository and run eslint before doing a pull request, and please do not use prettier
.
# Run eslint fixing most common mistakes
eslint --fix *.ts
About the Developer
In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch!