Thinking of doing with 〜ようと思う
Grammar: Intention » 〜ようと思う
A volitional verb (〜おう or 〜よう) followed by 〜と思う expresses the speaker’s intention or decision to do something. It often conveys a relatively casual or soft plan, rather than a firm commitment.
Usage
This is often used when the decision is made just now, or when announcing what you intend to do. It sounds a bit softer and less absolute than 〜た+つもり. When a plan is held over time (not decided just now), 〜ようと思っている is used.
It is usually only used to express the speaker’s own intentions.
Takeru and Ayumu talk about now being in high school. Kenji thinks Kyouko is upset because he and Hikari don’t get along well. Seeing Rindou asleep, Sazanka reaches for her mask. Rindou wakens and backs away. Tsubaki asks what they’re doing so early in the morning.Further Reading
Examples
Thinking of delivering milk with 〜ようと思う

Thinking of revealing the truth with 〜ようと思う

Thought I would see her face with 〜ようと思う
