import arcpy
mxd = arcpy.I will then get info about which methods are available (but it is slow). However, if I finish my code to refer to a map document and then want to use the reference to the map document it will not provide the available methods regarding the map document. But, if I run the code again after referencing a map document I can then get "intellisense" for the mxd variable.