Comments (5)
Same error over here with the Mac VSCode:
uname -a
Darwin xxxxx 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64
Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:20.994Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Darwin x64 21.4.0
Sadly I cannot share the Yaml file due to confidential reasons ¯_(ツ)_/¯
from vscode-yaml-sort.
@johnmcfarlane @wpoch can you please provide some more information on this issue? I can not reproduce it (working on a M1 Mac).
uname -a
Darwin xxxxx 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64
I need more information about the folder where you are executing recursive sort:
- Does it contain subfolders?
- Does it contain multiple yaml files?
- What are the extensions of the yaml files?
- Please provide a sample folder which causes the error.
And btw: The yaml you posted will never be sorted, since it provides only a yaml list. List will not sorted with this extension.
from vscode-yaml-sort.
-
Does it contain subfolders?
Yes -
Does it contain multiple yaml files?
Yes, but not with a .yml/.yaml extension -
What are the extensions of the yaml files?
Filename is .clang-tidy -
Please provide a sample folder which causes the error.
.clang-tidy in this folder is what I was trying to apply this to.
from vscode-yaml-sort.
@johnmcfarlane @wpoch I just released version 6.0.2 where I updated the algorithm for recursive sorting. Can you check, if the issue is still present?
from vscode-yaml-sort.
Hard to tell as there is a different message:
from vscode-yaml-sort.
Related Issues (20)
- Wrong indentation HOT 1
- Entire spec is deleted HOT 1
- Recursive sort not adding leading dashes to file
- How to set NOT start a new line when the content is too long
- Can we NOT to add '---' at the beginning of the YAML file when i run YAML Sort
- YES NO turns into 'YES' 'NO'
- Do we have this extension for WebStorm?If not, is possible to make this online WebStorm? HOT 1
- ‘{{ TEXT }} TEXT’ turns into {{ TEXT }} TEXT after sorted HOT 2
- Sort YAML Converts `00000000-0000-0000-0000-000000000001` to octal HOT 2
- Comment processor duplicates comments inside block scalars HOT 1
- question: after format , results changed in an odd manner HOT 1
- Weird double format HOT 1
- Comment processor messes up yml indentation
- Newline at end of file
- Sort YAML files recursively with custom order
- Use block processor breaks on valid yaml
- SortOnSave not working HOT 1
- First level keys not sorted by default with `sort yaml` command
- Colon in multiline strings causes improper formatting HOT 1
- Add option to keep quotes HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-yaml-sort.