Arrange the chicken in a large roasting tin or ovenproof dish so that it lies in a single layer. Add the tomatoes and onion, then sprinkle over the garlic and rosemary. Drizzle with the wine and vinegar and add a little pepper.
Bake in a preheated oven, 220°C (425°F), Gas Mark 7, for 20 minutes or until the onions and chicken are browned and the juices run clear when the chicken is pierced with a skewer.
Halfway through cooking, bring a large saucepan of water to the boil, add the pasta and cook for 8–10 minutes until just tender.
Drain the pasta and return to the empty pan. Slice the chicken breasts and add to the pasta with the onions, tomatoes and pan juices. Toss together and spoon into bowls. Sprinkle with a little rosemary and top with grated cheese, if liked.