Fix Tab Size

pending

by mnaoumov

Fixes tab size according to the settings.

5 starsUpdated 29d agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

Fix Tab Size

Buy Me a Coffee GitHub release GitHub downloads

This is a plugin for Obsidian that fixes tab size according to the settings.

As reported on the forum:

Obsidian has setting for tab size:

Tab size

But Obsidian partially ignores this setting and always inserts 4 spaces when you press Tab button in the editor, if you have setting Indent using tabs disabled.

This plugin fixes the editor tab size making it to match Indent visual width setting.

Installation

The plugin is not available in the official Community Plugins repository yet.

Beta versions

To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin are hidden.

To show them, run the following command in the DevTools Console:

window.DEBUG.enable('fix-tab-size');

For more details, refer to the documentation.

Support

Buy Me A Coffee

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.