---
title: "Eclipse如何设定文件的打开方式？"
author: "zhouyrt"
date: "2008-10-23T19:41:31Z"
tags: []
slug: "eclipse"
draft: false
lastmod: "2008-10-23T19:41:31Z"
id: 257145
url: "https://snandy.iteye.com/blog/257145"
---

刚刚安装了apnata的eclipse插件，但打开.js文件仍然是默认的myeclipse js editor。

 

这样设置

 

 

 

菜单：Window   -&gt;   Preferences   -&gt;   General   -&gt;   Editors   -&gt;   File   Associations

File   types:   \*.js

Associated   editors:   Text   Editor   -&gt;   Default

 

选择apnata js editor，并且作为默认编辑器。下次再双击js文件的时候就ok了。