Tips for editing YAML with Notepad++

(Looks like I can’t edit my original post - moderators: is that something that can be fixed?)

Making N++ use spaces instead of tabs
As of version 7.1 of Notepad++, the interface has changed a bit. To set N++ to use spaces instead of tabs, open Preferences and choose Language. On the right side of the screen, there’s options to adjust tabs. When you first open that setting, you’ll likely be editing the default tab settings. Scroll down that list and choose yaml and then you can check “Replace by space” and set “Tab size” to 2.

3 Likes