3

Eclipse has a built in functionality to find unused variables (and methods too I guess). Flash Builder 4 is built on top of Eclipse but it doesn't have that functionality. Do you know any plugin to achieve that functionality? Also, if you know any other kind of plugin besides SourceMate to improve Flash Builder let me know.

1 Answers1

7

Try to use FlexPMD which has corresponding Eclipse plugin.

Constantiner
  • 14,231
  • 4
  • 27
  • 34
  • Try to use it from command line first and then return to the plugin :) – Constantiner May 23 '11 at 17:35
  • It works on the command line but on the FlexPMD View it doesn't. Thanks for your help. I have another problem now :P –  May 23 '11 at 17:45
  • I got it. I can't have white spaces on my workspace location. Thanks =) –  May 23 '11 at 17:52
  • How can you highlight the unused variables with this? I've installed it for Flash Builder but even when I create an unused variable and run FlexPMD afterwards, it gives me a bunch of other warnings and errors, but none of them points out the unused variable. – chamberlainpi Dec 09 '11 at 14:33
  • I got it to work to find unused *Local Variables*, but can't seem to identify unused member variables (private, protected, public, etc.) – chamberlainpi Dec 09 '11 at 14:58