In Eclipse, if you place the cursor on any variable, a small popup box will appear containing the type (class) of this variable, how can I have the same in IntelliJ? 
            Asked
            
        
        
            Active
            
        
            Viewed 8,721 times
        
    10
            
            
         
    
    
        Ali Bassam
        
- 9,691
- 23
- 67
- 117
- 
                    [like this?](http://stackoverflow.com/a/7858871/2817802) – Baby May 15 '14 at 09:03
2 Answers
28
            By placing cursor on a variable and hitting Ctrl-Q you'll find all the documentation regarding this variable, including type.
 
    
    
        nikis
        
- 11,166
- 2
- 35
- 45
- 
                    2
- 
                    I came here looking for the same thing for PyCharm and Ctrl+Q also works there :) – Dalmiro Granas Mar 26 '20 at 16:39
7
            
            
        For IntelliJ 15, the "Quick Definition" option worked for me. On Macs pressing Command-Y is exactly what I was looking for.
 
    
    
        Jeff
        
- 1,538
- 2
- 18
- 33
- 
                    2Either "Quick Definition" or "Quick Documentation" (F1) works for me. – anonymous Feb 15 '20 at 10:07