ROKIKOKI
ROKIKOKI

Reputation: 621

WebStorm is showing YAML files as text documents

After my baby run through all of my keyboard, WebStorm is showing all my .yml files as text documents and I can't find a way to return it back how it was.

enter image description here

enter image description here

How do I solve this?

Upvotes: 0

Views: 296

Answers (1)

LazyOne
LazyOne

Reputation: 165481

  1. Ensure that YAML plugin is enabled (at Settings/Preferences | Plugins)
  2. If it's there, then check Settings/Preferences | Editor | File Types -- make sure that file type for YAML files has *.yml pattern assigned.

enter image description here

(screenshot is from PhpStorm 2020.3 ... but it is the same in WebStorm)

In case if you are still using 2020.2 or older version, it looks like this:

enter image description here

Upvotes: 1

Related Questions