to intend to do sth
have it in mind to do sth
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition