Put the gnocchi in boiling salted water, let them steep for about 2 minutes and drain. Cut tomatoes into strips. Chop walnuts roughly. Heat butter and sage in a frying pan, add gnocchi, tomatoes and walnuts and let them foam up briefly, season with salt and pepper and serve.