-
Notifications
You must be signed in to change notification settings - Fork 216
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
.yml files are ignored #87
Comments
|
The highlight is not working on folders: This video show the behaviour: https://1drv.ms/v/s!AoHvV-Rb6N9QgoJ4ulk8Z7RUq2kCUg |
Ah, thats such weird behaviour. I'll look into it and fix it for the next release. |
Looks like i can force this in |
Upon examination again I think that this isn't vscode-yaml, it looks like for some reason the .yml file is not getting registered as the yaml file type when opened. Though I'm not entirely why it isn't registering shrugs |
had the same issue with *.yml files not being recognized as "Yaml" filetype, Check your settings (user, directory and workspace) for "files.associations" settings. |
@nomoresecrets In your case did one of your plugins associate yml files with some other type? It looks like the vscode-ansible extension for example associates *.yml files with ansible (https://github.com/VSChina/vscode-ansible#usage) and i'm guessing that overrides the default association with yaml |
yeah, I had manually set the association to "ansible" in all three settings files which drove me crazy b/c I didn't know you can have three different files^^ |
Can we please get a fix for this simple problem? |
Re-examining the problem, it looks like the filetype wasn't set to YAML it was set to plaintext (you can see it in the bottom right of the video when you open up one of the files that weren't highlighted) and that was the cause of this issue. Both .yml and .yaml files should automatically associate to the YAML filetype and if they aren't it ends up as an issue with vscode itself, not with this extension so I'm going to close this. |
support generate snippets for object and array according to schema
Using it with ansible, all .yml files has no syntax highlight
Renaming file to .yaml enables but is not compeling to rename all my files.
The text was updated successfully, but these errors were encountered: