File > Open folder and selecting a directory.atom-ide-terminal:new-terminal.cwd.By default, the terminal should open in the project directory, or there should be an option in package config to set it to open by default in the package directory, even when there is a file open. Ideally the current working directory would have three options:
The terminal will open in the directory of the currently opened file, which is fine, but if there is no file open it will open in your home directory ~.
Hi @richiksc , I didn't change the project directory fallback since the terminal was ported out of Nuclide. I might get around to this at some point, but if you're interested I'll link the spot you could change to use the Atom projects API as a fallback to Nuclide's. Feel free to tag me for review if you take this on!
you'd probably add an else block here:
https://github.com/facebook-atom/atom-ide-ui/blob/master/modules/atom-ide-ui/pkg/atom-ide-terminal/lib/main.js#L169-L171
the location referenced changed, here's the new position: https://github.com/facebook-atom/atom-ide-ui/blob/2acc5465514a02a6e78fe17d4d1461f7c560cf10/modules/atom-ide-ui/pkg/atom-ide-terminal/lib/main.js#L239-L241
It would be nice to have this configurable. And maybe have a modifier key stroke to open the alternate.
Most helpful comment
It would be nice to have this configurable. And maybe have a modifier key stroke to open the alternate.