![Image](https://i.stack.imgur.com/gPfSw.png)
This also shows that my syntax like the import pyb is not being recognised. However I have went into the editor inspections to double check that Micropython is ticked.
Only thing that seems to run fine is the REPL terminal.
I am running PyCharm 2018.3.2 (Community Edition) Build #PC-183.4886.43, built on December 18, 2018 JRE: 1.8.0_152-release-1343-b26 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.2