Friday, March 2, 2012

Quick way to find the number of lines in your project using Eclipse.

  1. 1.     Select Search -> File from eclipse menu or press ALT+A+F to open the file search dialog box.
  2. 2.     Enter \n in containing text
  3. 3.     Select Regular expressions checkbox or select ALT+X
  4. 4.     In File name patterns: Enter *.* for all files or *.java, *.jsp [For java & jsp files]
  5. 5.     Scope: Select workspace to search all open workspace or select Working Set to select one or more selected projects.
  6. 6.     Click Search and it will give you the number of lines. 

No comments:

Post a Comment