IntelliJ IDEA 选择 Open matching files in associated application后更改打开方式

IDEA About 582 words

解决办法

  1. 打开C:\Users\{username}\.IntelliJIdea2019.1\config\options\filetypes.xml
  2. 不同操作系统的.IntelliJIdea配置文件夹不同,需找到对应存放位置;
  3. 找到之前设置的文件的打开方式,如下方的abc,打开方式为Native
  4. 删除<mapping pattern="abc" type="Native" />
  5. 重启``IDEA即可;
<application>
  <component name="FileTypeManager" version="17">
    <extensionMap>
      <mapping pattern="abc" type="Native" />
      <removed_mapping ext="proto" approved="true" type="PLAIN_TEXT" />
    </extensionMap>
  </component>
</application>

参考

Wrong file association for one file in IntelliJ / Android Studio

Views: 5,332 · Posted: 2019-08-29

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh