Std ViewFitSelection

Description
Zooms until all in the tree view selected objects are shown in the 3D view.

Use
Click on or choose  from the top menu.

Command is also available by right-clicking in the 3D view (and having nothing pre-selected).