How to show Item IDs in Minecraft Inventory

I was just watching some information about some advanced topics on Minecraft command blocks.  I saw a Youtube video where the item IDs where showing up as additional information in inventory tooltip.

I did some searching and all you have to do is press F3 and H at the same time.