projectRoot is nil when project is not open