0

I'm trying to configure Windows 11 to associate a .yaml file to open with a default application (vscode). I have tried right-clicking my yaml file, Open With -> Choose another app, but there is no Always use this app to open... checkbox to select a default application.

enter image description here

I have seen other solutions suggest going to settings -> apps -> default apps, however the .yaml extension doesn't appear to be recognized (only .yml) when I navigate there.

enter image description here

How can I configure windows 11 to always open .yaml files with a default application other than Notepad?

E. Pratt
  • 84
  • 2
  • 8
  • 1
    [\[SO\]: How do I set "default App" for a file extension to an ".exe" on Windows 10 after April 2018 update (@CristiFati's answer)](https://stackoverflow.com/a/52009412/4788546). – CristiFati Jan 07 '23 at 17:55

1 Answers1

2

In VSCODE

Go to File: Preferences: Settings

enter image description here

In the searchbar type file.associations

enter image description here

Add the following associaton

Item Value
*.yaml yaml
Kaleb Fenley
  • 216
  • 1
  • 5