Extract single line resource decs and expand them

Can be used from within your editor