Sublime Forum

Sublime deactivate format on save on yaml files

#1

Hi,

unfortunately, Sublime 4 autoformats yaml files here with indents that are not correct. I can’t figure out how to disable that behavior. I tried to disable all packages that might interfere, but had no luck with that. I would generally enable autoformat on save, but not for YAML files if that’s possible.

Does anyone have a hint on how to fix that?

Regards,
Ben

0 Likes

#2

I would suggest you post a list of your install packages.

Main menu > Preferences > Package Settings > Package Control > Settings > installed_packages

0 Likes

#3

Hi,

thanks for your quick response. My installed packages are:

“installed_packages”:
[
“Agila Theme”,
“AutoFileName”,
“Bootstrap 3 Autocomplete”,
“BracketHighlighter”,
“CodeFormatter”,
“Color Highlighter”,
“ColorPicker”,
“Colorsublime”,
“CSScomb”,
“DashDoc”,
“DocBlockr”,
“Emmet”,
“FileIcons”,
“FireCode Color Scheme”,
“Formatter”,
“Git”,
“GitGutter”,
“HTML5”,
“jQuery”,
“JsPrettier”,
“MapleMBSE MSE Configuration”,
“Monokai - Spacegray”,
“Package Control”,
“PhpDoc”,
“Reindent on save”,
“Sass”,
“Seti_UI”,
“SideBarEnhancements”,
“SublimeCodeIntel”,
“SublimeLinter”,
“Terminus”,
“Themes Menu Switcher”

I tried to uninstall “Formatter” but it did not change anything.

Regards,

Ben

0 Likes

#4

I found I! I somehow overlooked the “reindent on save” package. Sorry! It was dumb of me. Even the name was obvious!
We can close this issue!

But nevertheless, the reindent for yaml is broken…

Regards,
Ben

0 Likes