They will become a nuisance when you stop. If you do wear shorts be sure to have long pants close by when you stop. If you decide to wear long pants and shirts when you hike be sure to wear comfortable clothes that breathe. Cotton is an ideal fabric for that. These insects also go after exposed skin.
Insect repellents work well.
Be sure to follow the products directions carefully. And remember, a small amount goes a long way. Also be sure to have a tent that has proper netting and all the zippers work.