@John-Slegers ,
I recommend two things to help with this:
View > Show Symbols > Show Space and Tab – this will use special glyphs for the space and tab symbols, to make indentation obvious
01612359-6a01-4f48-b9bb-55ec1970c056-image.png
Install the ColumnTools plugin and enable Plugins > ColumnTools > Column Highlight
cc3569eb-fca8-4f6a-980b-508c7be2581a-image.png
This puts the “edge column marker” at the current column (the cyan vertical line in the screenshot below)
The results of these two together:
c7114b0d-1920-43eb-ace2-bb728212c968-image.png
You can assign keyboard shortcut to either, to be able to easily toggle them on and off.
-----
update: three things, actually. View > Show Symbol > Show Indent Guide
3bbb3b8d-09c9-4820-8d0e-4d7a4068d697-image.png
This puts a separate vertical line at every tabstop level; Settings > Preferences > Language > yaml > Tab Size: ____ determines how far apart the Indent Guide lines are.
2f7ec0ff-4f47-4a16-9ae3-694f9e1ef697-image.png
And Settings > Style Configurator > Language: Global Styles > Style: Indent guideline style and … > Style: Edge colour will allow you to change the colors for the Indent Guide and the Edge Column Marker, if you don’t like the default gray and cyan for those two.