[
https://issues.jboss.org/browse/JBIDE-15837?page=com.atlassian.jira.plugi...
]
Gorkem Ercan commented on JBIDE-15837:
--------------------------------------
1. Correct empty cordova is not very useful.
2. Sounds right. I actually see them as globals which is definitely incorrect
3. Actually I have not event looked at the outline so consider the current behaviour as a
side effect.
4. Yes, cordova.js and friends ( plugin files) but the module definition use on all of
them are same.
5. Not a priority but if we can that would be awesome
6. Not a priority.
I agree that this solution can work because it is not trying to achieve a general solution
to JSDT problems and just concentrating on Cordova. I think it is enough if the infer
engine only deals with the Cordova JS library ( cordova.js and plugin js files) since this
is a library all other user files will automatically get the code assist so that we do not
need to track the references to cordova.js
Improve the CordovaJS library provider
--------------------------------------
Key: JBIDE-15837
URL:
https://issues.jboss.org/browse/JBIDE-15837
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: aerogear-hybrid
Affects Versions: 4.1.1.Beta1
Reporter: Gorkem Ercan
Assignee: Denis Golovin
The default inference engine fails to infer cordova types properly therefore most of them
are not available for code assist.
JS library provider is not scanning for changes to runtime or the added/removed plugins.
It should adjust to those changes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira