I noticed that when I write an object within another object in the above example, for instance like in the following screenshot, the indentation will go wrong.
Example of wrongly placed cursor and curly bracket:
But the following is expected:
This feels like a bug; I have also asked other developers here in the company to check if they could help. They are aware of this issue, but do not know about the solution. Therefore I turn to you.
Is there a way to resolve this, or is it a bug?