Eclipse Error - An internal error occurred during: "Requesting JavaScript AST

Eclipse Error - An internal error occurred during: "Requesting JavaScript AST from selection"解决方案

用 Eclipse Helios或者Eclipse indigo 编写Javascript函数中出现 return 时。
错误提示:
An internal error occurred during: "Requesting JavaScript AST from selection".

java.lang.NullPointerException.

解决方法:
修改 Mark Occurrences。快捷键:Alt+Shift+O。
(Window-->Preferences->Javascript-->Editor-->Mark Occurrences)

你可能感兴趣的:(JavaScript)