Generally, users supply the project path/name as the second argument of the editor command-line, but in some cases (like for the -diff command), we can infer the project from elements elsewhere in the command-line...