For the given config:
"vscode-yaml-sort.emptyLinesUntilLevel": 2,
"vscode-yaml-sort.useLeadingDashes": false,
"vscode-yaml-sort.lineWidth": 10000,
"vscode-yaml-sort.sortOnSave": 0,
"vscode-yaml-sort.quotingType": "\"",
The following yaml snippet formats improperly, it looks like the : in url trips of the parser:
jobs:
build:
steps:
- run: |
ls -al
wget http://example.com
Expected:
jobs:
build:
steps:
- run: |
ls -al
wget http://example.com
Actual:
jobs:
build:
steps:
- run: |
ls -al wget http://example.com
While testing, I removed : in http: and it formats ok:
jobs:
build:
steps:
- run: |
ls -al
wget http//example.com
gives:
jobs:
build:
steps:
- run: |
ls -al
wget http//example.com
Reactions are currently unavailable
For the given config:
"vscode-yaml-sort.emptyLinesUntilLevel": 2, "vscode-yaml-sort.useLeadingDashes": false, "vscode-yaml-sort.lineWidth": 10000, "vscode-yaml-sort.sortOnSave": 0, "vscode-yaml-sort.quotingType": "\"",The following yaml snippet formats improperly, it looks like the : in url trips of the parser:
jobs: build: steps: - run: | ls -al wget http://example.comExpected:
jobs: build: steps: - run: | ls -al wget http://example.comActual:
jobs: build: steps: - run: | ls -al wget http://example.comWhile testing, I removed : in http: and it formats ok:
jobs: build: steps: - run: | ls -al wget http//example.comgives:
jobs: build: steps: - run: | ls -al wget http//example.com