pascalre / vscode-yaml-sort

This VS Code extension exposes the possibility to sort, format and validate yaml files.
https://marketplace.visualstudio.com/items?itemName=PascalReitermann93.vscode-yaml-sort
MIT License
41 stars 3 forks source link

Entire spec is deleted #148

Closed devhl-labs closed 12 months ago

devhl-labs commented 1 year ago

Sorting this yaml https://raw.githubusercontent.com/devhl-labs/Clash-of-Clans-Swagger/master/swagger-source.yml deletes all of the spec. There is a toast notification the following.

bad indentation of a mapping entry (5:555) 2 | ... 3 | ... 4 | ... 5 | ... rization header looks like this: "Authorization: Bearer API_TOKEN". -----------------------------------------^ 6 | ... 7 | ..

image

pascalre commented 12 months ago

Hello @devhl-labs I fixed a lot of bugs in the last weeks. In the latest version (6.5.9) I cannot confirm your issue. I assume it is solved in the meanwhile. If not, feel free to open this issue again.