(This was reported by an external user during offline communication in verifying the fix for 130218).
indexing for code completion, we want to skip the minimized version, since for example all parameter names are squished
down to single-letter names like "A", "B" etc. We also don't want to index both files since you then end up with
duplicate classes and functions in code completion.
For YUI, there are three pairs of files: foo-min.js, foo-debug.js and foo.js. foo-debug.js is almost the same as
foo.js except it has some additional logging - so my code would basically skip both "foo-min.js" and "foo-debug.js" and
However, I was just made aware that the Ext library doesn't have a -min.js; they only ship
ext-all.js and ext-all-debug.js
(and ditto for ext-core.js, ext-core-debug.js etc). In this scenario, "ext-all.js" is an optimized library.
Thus, it's best for us to always prefer "*-debug.js" when it exists.
This was fixed in changeset http://hg.netbeans.org/main/rev/d5c6dcf1a2ca this weekend.
I have just added a bunch of unit tests to verify that the behavior is correct in the various scenarios:
Martin A, can you review this fix?
Martin S, do you agree with this integration?
To verify the fix, go to http://extjs.com/download and copy both ext-all-debug.js and ext-all.js to your project
directory, and after restarting the IDE confirm that code completion on Ext.| works.
This should be fixed in 6.1 as well now with changesets
482de2b04191, 75ef9f55a99d and d6388bb273e9.
The fix has been ported into the release61_fixes repository.
See Issue 135059 for more details.
move back to consistent state RESOLVED/FIXED