-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported language for grammar 'YAML' with extension '.yml'. #312
Comments
YAML simply is not a supported language that can be beautified by Atom Beautify. I will be making this notification less aggressive with #317. Closing this as it is expected behaviour and not an error. |
I'll look into YAML beautification support. |
Thanks in advance for YAML beautification support! |
This may work: https://www.npmjs.com/package/align-yaml YAML users please try and let me know if it works for you. If so, this beautifier could be added! 👍 |
i am using app engine and the yml files need to be like "blahblah.yaml" SO this does not work for me. |
I agree the proposed alternative does not work. An addition for beautify to add in YAML would be much appreciated! |
+1 let me know if I can help in any way. I'd love a yaml beautifier in atom. |
Also pretty keen to see YAML supported here. Thanks for the great package BTW :) |
👍 |
Just came here looking for YAML support too. |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
align-yaml works great for me so far. Hope to see this functionality in atom-beautify, in the mean time we can added it to atom save commands or what not. |
@tomdavidson doesn't look like it sorts and/or preserves comment locations |
If I can make some time soon I am going to try and fork this project and add in the align-yaml from @Glavin001 recommendation. It might not be until after the holidays but I would really like to do this. I use YAML daily in Atom for AWS stuff, being able to beautify it so I don't get dumb formatting errors in CloudFormation. |
+1 |
2 similar comments
+1 |
+1 |
This would be great and I am definitely interested in reviewing and merging a Pull Request implementing YAML support. Please let me know if you have any questions about adding languages and beautifiers to Atom-Beautify! |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Please stop with the +1. Give the original post a thumps up instead. |
Has there been any progress on this feature? Really looking forward to it. |
I just tried align-yaml and it works fine with the example. I don't have any more extensive yaml examples to test with. I could probably follow the atom-beautify docs to add support for it but with the efforts to transition towards Unibeautify, I'm not sure if there is any point? For now it might be better to use one of the many online ones that you can copy/paste to. I don't presently have the motivation to work on this as I haven't worked with yaml in a while, nor does it seem worth the effort. If someone is interested in working on it or would contribute support for Unibeautify instead, perhaps you can help by providing a decent yaml sample for tests(required part of the process for submission). |
@polarathene since you have confirmed align-yaml works well enough then we can add it to Atom-Beautify. I am still accepting Pull Requests for Atom-Beautify pre-Unibeautify and I will likely personally migrate them all over to Unibeautify when I am ready. Thank you all for your patience! |
@Glavin001 I didn't have any other yaml source to try with beyond the example given on the repo that handles alignment. That worked fine however :) |
Awesome! Pull Requests welcome: https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md |
See #312. Add align-yaml as YAML beautifier
Since I received no Pull Request, I implemented it on my own: #1600 Will be in the next release. |
Published to v0.29.22 |
[Enter steps to reproduce below:]
Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: atom-beautify package, v0.26.4
Stack Trace
Unsupported language for grammar 'YAML' with extension '.yml'.
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: