Bug 507782 - javascript content assist don't work in eclipse neon
Summary: javascript content assist don't work in eclipse neon
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.8.0   Edit
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Victor Rubezhny CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 13:06 EST by Thiago Worker CLA
Modified: 2019-01-18 11:03 EST (History)
6 users (show)

See Also:


Attachments
demo video (3.40 MB, video/ogg)
2016-11-18 13:06 EST, Thiago Worker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Worker CLA 2016-11-18 13:06:18 EST
Created attachment 265440 [details]
demo video

I'm trying to add sources at libraries in my web project, but the javascript editor does not reconize them in eclipse neon.

Create two projects ("a" and "b"), create a js file in project "a" and insert a random function (like "anything = function(var1) {};").

In project "b" properties, go JavaScript > Include Path. At libraries, add a library folder and select project "a".

Create a js file in project "b", type "anyth" and try press CTRL+SPACE. No proposals :(

The same procedure works fine in luna. In mars 2 works fine too.


See the video attached.
Comment 1 Patrik Suzzi CLA 2016-11-18 18:35:25 EST
Thanks for reporting and providing this very clear video.

we are aware the content assist is partially working in JSDT 2.0

The reason is: in Neon we switched compiler, from Rhino to Esprima. 
Now we support EcmaScript6, but we lost part of the code completion features.

We're currently working on switching compiler again, passing from Esprima to ClosureCompiler. After this further change, we're going to see how the code completion works and start adding needed improvements. 

Please, stay tuned and check out for JSDT news. 

Note: moving this bug to JSDT.
Comment 2 Peter Most CLA 2017-04-21 10:08:01 EDT
Is there an estimation when this will be fixed?
Comment 3 Leon Li CLA 2018-03-12 08:01:10 EDT
In Oxygen (4.7.2) it's still not fixed.
Is it in any bugfix schedule yet?