Add Multiple codes in one IDE

Hello guys I’m new to using Arduino,Does anyone guide me how to add Multiple codes in one IDE.
I’m using Multiple sensor in Arduino,I don’t know how to combine multiple codes for multiple sensor.pl help me

https://forum.arduino.cc/index.php?topic=258240