If a file is active start terminal there, if not, start at one of the currently open folders/project root.