apache-flexflash-builderflash-builder4.5

Retrieve the amount of lines in a Flex project


This might sound useless, but just for the sake of information (and for fun to be honest :) )

Is there a way to find in Flash Builder the amount of lines written in a Flex project?


Solution

  • There is a good answer here on how to do the same with IntelliJ and Java: How to count lines of Java code using IntelliJ IDEA?

    where the 'Find In Project' feature is used. For IntelliJ this is:

    Ctrl+Shift+F -> Text to find = '\n+' -> Find
    

    The search must be set to find based on a regular expression. '\n+' indicates to look for lines that are not empty

    So you can adopt this method to FlashBuilder / Eclipse - I am sure it will have a similar feature. Try Ctrl+H.

    Alternatively, load your Flex project into IntelliJ.