Eclipse Autocomplete JavaScript - Stack Overflow

I am using Eclipse IDE for PHP and now that I started using also JS I am missing the autoplete options.

I am using Eclipse IDE for PHP and now that I started using also JS I am missing the autoplete options. I do not know if they're missing because I did something wrong or because the variables are not defined yet (similiar to MATLAB). Autoplete works great with PHP, HTML and CSS but not with JS. I tried the classic

> Window > Preferences > JavaScript > Editor > Content Assist > Advanced

and

Installing extensions

but it did not help. I also tried to reference to some external files, but I am pretty sure that's not what is wrong.

I've been searching the whole day and I did not find an actual answer. As Eclipse has so many multiple options to adjust everything, I am getting a bit overwhelmed with that...

I would appreciate someone explaining to me how the autopletion works. Where and whwn does it look for the suggestions (definitions in the js file or in the whole script) and why does it not show the DOM methods like window.onload or document.getElementById for example. Is this normal because there is no window/document yet or do I have to check some checkboxes in order to make eclipse do that?

I am using Eclipse IDE for PHP and now that I started using also JS I am missing the autoplete options. I do not know if they're missing because I did something wrong or because the variables are not defined yet (similiar to MATLAB). Autoplete works great with PHP, HTML and CSS but not with JS. I tried the classic

> Window > Preferences > JavaScript > Editor > Content Assist > Advanced

and

Installing extensions

but it did not help. I also tried to reference to some external files, but I am pretty sure that's not what is wrong.

I've been searching the whole day and I did not find an actual answer. As Eclipse has so many multiple options to adjust everything, I am getting a bit overwhelmed with that...

I would appreciate someone explaining to me how the autopletion works. Where and whwn does it look for the suggestions (definitions in the js file or in the whole script) and why does it not show the DOM methods like window.onload or document.getElementById for example. Is this normal because there is no window/document yet or do I have to check some checkboxes in order to make eclipse do that?

Share Improve this question asked Jul 1, 2018 at 6:40 CharlioCharlio 3864 silver badges14 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 5

The best content assist (and validation and more) for JavaScript and all dynamic web languages is available in the CodeMix plugin for Eclipse.

Here's a specific parison between Eclipse JSDT and CodeMix.

You can install CodeMix from the Eclipse Marketplace here.

Hope that helps!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742346496a4426650.html

相关推荐

  • Eclipse Autocomplete JavaScript - Stack Overflow

    I am using Eclipse IDE for PHP and now that I started using also JS I am missing the autoplete options.

    3小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信