|
|
|
[
Permlink
| « Hide
]
Quincy L. Acklen - 03 Apr 08 17:24
It looks like this is marked as fixed in build 7757, but I still see the problem. I'm I just reading the change log incorrectly? All the same errors are present...
sorry i just noticed that the release notes were for 7782 not 7757
7782 reports as IDEA 7.0.3 is that correct? I ask because while the utilized functions that are nested no longer report as unused, non-nested functions that are unused are not reported at all. (non-utilized nested functions are correctly reported). towards the bottom of the example function lll (that is LLL) is not utilized and it is not reported as such.
Maybe, Help -> About reports exactly the build used.
Nonlocal symbols (top level functions / variables) are not checked for usability Wow, that is going to cause me to install and older build just to check it out. If nested functions just got fixed and top level functions never were checked, it's hard to imagine it every being a bug (as opposed to a very nice feature request).
I just can't believe that IDEA didn't used to report top level functions not used. I mean most people wouldn't want to nest anyhow (or even know that you can). Of the people that do know i think they tend towards prototyping javascript "objects". I even recall a feature request to indicate unused/ureachable/unreferenced functions in the projects (the would be really cool but seems difficult). How would that have been suggested if top level functions aren't checked. You've left me scratching my head. I'll check and report back. In fact the inspection name is 'Unused Java Script Local Symbols'
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||