In a small saucepan, heat your sugar, water, and vanilla extract over low heat, mixing occasionally, until the sugar melts. Remove from heat and pour the melted sugar over the shredded coconut. Mix well with a rubber spatula, until evenly combined. Set aside.