Windows 11 -Asscopitiate .YAML文件与默认应用程序打开

发布于 2025-01-28 04:58:36 字数 698 浏览 4 评论 0原文

我正在尝试配置Windows 11以将.yaml文件与默认应用程序(VSCODE)打开。我尝试右键单击我的yaml文件,使用 - > 选择另一个应用,但是没有始终使用此应用程序打开...复选框选择默认应用程序。

我已经看到其他解决方案建议设置 - > apps - > 默认应用,但是.yaml扩展名似乎在我导航时似乎未识别(仅.yml)。

如何将Windows 11配置为始终打开.yaml用默认应用程序以外的其他应用程序?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦冥 2025-02-04 04:58:36

在vscode中

转到文件:首选项:设置

”“在此处输入映像”

在搜索栏类型file.associations

输入

映像
此处

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

ItemValue
*.yamlyaml
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文