Indentation is off when I press enter to go to new line in custom JSON like DSL

Hi all, my group and I have a custom DSL, it's essentially JSON but with a tad bit more. We followed the tutorial for Custom Language Support and we were trying to add in some custom formatting. We are seeing this weird behavior, after we click enter the following line is tabbed/spaced over a lot more than it should be, it doesn't follow normal json formatting. Expected behavior is when I click enter the cursor lines up with the key from the above json attribute. Does anyone know where I should start looking to debug this issue?

0
1 comment
Avatar
Permanently deleted user

Ok, I think it is because I have set up the DSL to think this is a continuation indent versus a normal indent, not sure why it thinks that. 

0

Please sign in to leave a comment.