Under the View Menu > Indentation, there are a variety of commands that are used to alter the indentation of the current file. Are there API commands for these?
I’d like to create a command that converts 4 space indentation to 2 space-width tab indentation all in one click:
- Change Tab Width to 4
- Convert Indentation to Tabs
- Change Tab Width to 2
Currently I have to access the View menu 3 times to accomplish this.