function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ramesh k 29ramesh k 29 

List of the Components(Classes/triggers/vf Pages/aura componets) org

Hi All,

How do I find the List of the Components(Classes/triggers/vf Pages/aura components) those commented is there any way
ANUTEJANUTEJ (Salesforce Developers) 
Hi Ramesh,

I think you can directly go to set up to get and see all the classes pages and lightning components that are present in the org.

Additionally in case if you want to display all the apex classes you can  use Select Name from ApexClass to get all the names of apex classes.

I hope this was helpful for your implementation in case if it came in handy can you please choose this as the best answer so that it can be used by others in the future.

AnudeepAnudeep (Salesforce Developers) 
Hi Ramesh, 

There is no documented way to do this. You have to do a search in your tools for example you can use Search option in Visual Studio Code 

User-added image

You can also try running a code similar to the one below in execute anonymous window
Integer totalchar=0;  
for(ApexClass a: [Select Id, Name, Body from ApexClass]) 
if(a.body.containsIgnoreCase('/*') !!      !a.body.containsIgnoreCase(''//')){ 
system.debug(a.Id + ' ' + + ' ' + a.body.length()); 

I hope the above information is helpful, If yes, please mark this as solved so that it can others in the future. Thank You!