Variable Lists

Is there any way to get a list of all variables used in my code and possibly their types?