monaco-editor npm version: 0.7.0
Browser: Chrome
OS: macOS 10.11
I found sometimes the tab size is 2, sometimes the tab size is 4, even is one file, the tab size is different. Is there a API to set tab size for different files?
I think you might be looking for updateOptions where you can pass in options for tabSize.
Additionally, there is also
@philcchen Thanks, I'll check it.
@philcchen I'm still a little confused. It seems there is no direct option for updateOptions to set tabSize.