I had the same problem. For some reason the font chossen, makes it impossible to distinguish between the letter l (l like in liter) and the number 1 (one). So typing the "stm32f0xx_hal.h" did no good. Only copypaste worked. Suspect it is a number one...