Right-click on a column heading in the shopping list and select Customize Columns. Add the Notes field and, on my computer, each shopping list entry says what recipe the ingredient is for. Unfortunately, if you add multiple recipes that use the same ingredient and and the amounts get combined, the Notes field only shows the first recipe that called for the ingredient.
To export to a CSV, display the shopping list and select File -> Save Report as CSV.
--GF