Terminal sessions

Do you need to check with if. I guess `return ideApp.workspaceData?.rootPath` will be enough. not sure tho.