I'm running Eclipse Indigo on MacOSX. If I open java source files o开发者_运维问答r xml files or .txt files, they show up in Eclipse.
But if I try to open files within Eclipse that are javascript (.js) source files, it brings up DashCode.
How can I fix Eclipse so it will open .js files in its own editor?
edit: this is opening an arbitrary .js file outside the Workspace.
Right-click the file in the Navigator or Package Explorer view, choose Open With and pick the editor you want to use.
精彩评论