The past perfect continuous

English uses the past perfect continuous with the past simple to talk about an activity that was in progress before another action or event happened.

The past perfect continuous

English uses the past perfect continuous with the past simple to talk about an activity that was in progress before another action or event happened.

THE PAST PERFECT CONTINUOUS

The past simple refers to a specific completed event in the past. The past perfect continuous describes a repeated action or continuing activity that was taking place before that completed event.

HOW TO FORM:

The past perfect continuous is formed using “had been” plus a present participle.

Some more Examples:

She decided to buy a new car because her old one hadn't been working for weeks.

The band had been rehearsing every day, so they won the competition.

I went to see the doctor after I'd been feeling unwell for a few days.

I had been training to be a dancer until I broke my leg. 

THE PRESENT PERFECT CONTINUOUS AND PAST PERFECT CONTINUOUS:

1. PRESENT PERFECT CONTINUOUS

The present perfect continuous is used to talk about an action in progress or repeated activity that was taking place until the present moment.

2. PAST PERFECT CONTINUOUS

The past perfect continuous is used to talk about an ongoing action or repeated activity that was taking place until another specified moment in the past.