modified for Brackets 0.42