yaml: How to tab out to higher level?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Thu Jun 26, 2025 2:19 pm
yaml: How to tab out to higher level?
I'm trying to write a OpenAPI yaml file and have a hard time adding new lines that are on a higher level (less indented) than the previous one.
Example:
I've indicated the cursor position with "|". When I press enter/return, I'm on the next line at the same indentation level.
Now I want to add a new property on the same level as "key", so I use shift+tab to go a level back. Unfortunately, this selects the whole line from the beginning to the cursor position (all spaces). Now when typing something, I'm overwriting all the indentation spaces and have no indentation at all.
Screenshot:

What's the correct way to quickly tab out to some higher level?
Example:
Code: Select all
components:
schemas:
Process:
description: Information about a process type
type: object
properties:
key:
type: string|
Now I want to add a new property on the same level as "key", so I use shift+tab to go a level back. Unfortunately, this selects the whole line from the beginning to the cursor position (all spaces). Now when typing something, I'm overwriting all the indentation spaces and have no indentation at all.
Screenshot:

What's the correct way to quickly tab out to some higher level?
-
- Posts: 40
- Joined: Wed Sep 09, 2020 3:17 pm
Re: yaml: How to tab out to higher level?
Post by florin_nica »
Hello,
Thank you for the feedback and for the example.
Unfortunately, there isn't a quicker solution for this at the moment — partly because YAML doesn't support tab characters for indentation. You'll either need to manually remove the extra spaces from the upper-level line or use Shift + Tab to decrease the indentation, then press the Right arrow to adjust the cursor position. I am not sure if we can offer a more convenient option for this.
Regards,
Florin
Thank you for the feedback and for the example.
Unfortunately, there isn't a quicker solution for this at the moment — partly because YAML doesn't support tab characters for indentation. You'll either need to manually remove the extra spaces from the upper-level line or use Shift + Tab to decrease the indentation, then press the Right arrow to adjust the cursor position. I am not sure if we can offer a more convenient option for this.
Regards,
Florin
-
- Posts: 4
- Joined: Thu Jun 26, 2025 2:19 pm
Re: yaml: How to tab out to higher level?
Why are all the spaces up to the beginning of the line selected when using shift-tab? All would be fine if this wasn't the case.I am not sure if we can offer a more convenient option for this.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service