Eclipse Juno缺少localVariable颜色

时间:2013-03-01 00:33:40

标签: eclipse

我前几天安装了juno,然后是颜色主题插件,并选择了zenburn作为主题。 我注意到与靛蓝有一个令人讨厌的区别: 在Javascript中,局部变量没有应用localVariable或localVariableDeclaration颜色,这是我最喜欢的功能之一

this is indigo where local var x is colored differently than global var y

this is juno where local var x is colored white like y :(

1 个答案:

答案 0 :(得分:0)

找到一种“修复”它的方法

去了

偏好设置> JavaScript>编辑>语法着色

即使在元素局部变量声明和引用中启用了set,​​禁用然后启用它们并点击应用也会修复它。