Is there a way of running lines of code from the Theia editor? Like the python interactive window in VS Code?
No, Theia is stripped down to just be an editor, to fill a void with JupyterLab. My hope is that eventually JupyterLab will have a good editor and everything can be done there. Also, Theia is harder to extend than JupyterLab due to a lack of documentation.