code icon indicating copy to clipboard operation
code copied to clipboard

Make terminal start in the project root

Open overlisted opened this issue 5 years ago • 3 comments

Problem

Every time I open Code and its terminal (with Terminal plugin), I need to type cd Projects/theproject to be able to use ninja and meson CLI. That's quite annoying.

Proposal

Make the terminal start in the project root automatically.

Prior Art

Run $ cd {projectroot} when the terminal starts

overlisted avatar Jan 09 '21 12:01 overlisted

Related to #836 and #58

jeremypw avatar Jan 09 '21 13:01 jeremypw

Note also that (in elementary 6.0 at least) the terminal plugin remembers its current directory so you should not have to keep changing it to the project folder. Also the project folder in the sidebar has a "Open in ... Terminal" option in the context menu.

jeremypw avatar Jan 09 '21 13:01 jeremypw

Also the project folder in the sidebar has a "Open in ... Terminal" option in the context menu.

Thanks, I will use it for now.

overlisted avatar Jan 09 '21 13:01 overlisted