When thoughts come up during meditation, the advice is to acknowledge and label them - and return to your breathing. Among the usual labels, I have one called "solution". The majority of thoughts coming up are easily dismissed, but I actually don't like to dismiss the solution category.
These "solutions" are often creative ideas in areas I was stuck. Some sort of minor "eureka" moments which I encounter also in the shower or during walks.
This inspired me to think a bit more about creativity and meditation - and what impact meditation might have on creativity. For me as a software developer, creativity is very important. I see two two main aspects: the drive to be creative and the creative process.