vscode-yaml-sort icon indicating copy to clipboard operation
vscode-yaml-sort copied to clipboard

This VS Code extension exposes the possibility to sort, format and validate yaml files.

Results 57 vscode-yaml-sort issues
Sort by recently updated
recently updated
newest added

Before format: ![image](https://github.com/pascalre/vscode-yaml-sort/assets/77757817/ecf6c95a-8712-43b3-b2d0-2c409684a197) After format: ![image](https://github.com/pascalre/vscode-yaml-sort/assets/77757817/cfa2c2c9-8376-4bc6-90c0-959ce46dae64) If I do one undo: ![image](https://github.com/pascalre/vscode-yaml-sort/assets/77757817/c26aeb77-757e-4825-a7c9-55b32a218b1c) I can not work out why this is happening, It seems like it is formatting the text twice....

In a file with the following yaml: ``` apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: monitor resources: - bundle.yaml patches: - target: kind: ClusterRoleBinding name: prometheus-operator patch: |- - op: replace path:...

bug

As the title mentions if I define a custom order using any of `customSortKeywords_1`, `customSortKeywords_2`, or `customSortKeywords_3` and then proceed to use `YAML Sort: Recursively sort all files` the resulting...

feature

This issue was previously discussed in https://github.com/pascalre/vscode-yaml-sort/issues/31 The problem is that the proposed workaround of using `"files.insertFinalNewline": true` only works when sorting a file using `YAML Sort: Sort YAML` or...

feature

After sorting, I get this issue due to wrong indentation. ![image](https://github.com/pascalre/vscode-yaml-sort/assets/29644329/460627a3-80bb-4b4f-abea-1f65be2f696b)

bug

Cases that we have many yaml files in a project. Use a global custom sort keys will lead to some kind of conflicts. It would be great if we can...

feature

Hello! Not sure it is easily possible. As far as I understand, currently the plugin sorts keys inside the last "leaves" of the `yaml` "tree" alphabetically or along with custom...

feature

YAML to be sorted ```yml # yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json blocks: - type: prompt alignment: left newline: true segments: - type: iterm style: plain foreground: cyan template: "{{ .PromptMark }}" - type:...

feature

Origin yaml: ``` section: label: '{{''$''}}' ``` Formatted yaml: ``` section: label: {{'''}} ```

bug

When enable both `Use Custom Sort Recursively` and `Sort Arrays`, it is supposed to apply custom sort arrays but actually not. For example: ```yaml python_version: - '3.8' - '3.9' -...

feature