简体   繁体   English

为什么我的Eclipse没有标记Haskell的保留字?

[英]Why my Eclipse doesn't mark the reserverd words for Haskell?

I've installed the plugin for Eclipse Luna: EclipseFP - http://eclipsefp.sf.net/updates . 我已经安装了Eclipse Luna插件:EclipseFP- http ://eclipsefp.sf.net/updates。 Its Works, but the IDE is not marking the reserved words. 它的作品,但IDE不会标记保留字。

在此处输入图片说明

That looks like you are actually using the normal text editor. 看起来您实际上正在使用普通的文本编辑器。

Close the file and then right click on the file in Project Explorer and choose 'Open With...' and select the Haskell editor. 关闭文件,然后在Project Explorer中右键单击该文件,然后选择“打开方式...”,然后选择Haskell编辑器。

Eclipse remembers the last editor you used to open a file so if you had opened this file before installing the plug-in you will get the plain text editor. Eclipse会记住您用来打开文件的最后一个编辑器,因此,如果您在安装插件之前打开了该文件,则将获得纯文本编辑器。 Once you have opened the file with the correct editor it will use that editor by default in future. 使用正确的编辑器打开文件后,以后将默认使用该编辑器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM