Whisk together flour, baking powder, and salt. In a large bowl, with an electric mixer on medium, beat butter and sugar until creamy. Add egg and vanilla. Beat in flour mixture on low until combined, scraping down sides of bowl. Divide dough in half; form into disks and wrap in plastic. Chill 2 hours or overnight.