I don't have any food in the coop, which is elevated about 3' from the ground. I do put a quart sized watering jar in the coop at night. The 2 quart sized feeders I bring into the garage at night because the chicken pasture is next to the woods and I don't want critters getting used to finding food left out.
I may change my mind in the winter and leave food in the coop overnight. Haven't had any rodent problems in the coop that I've noticed yet. There's lots of squirrels and chipmunks around, but they're usually around the wild bird feeder by the house.