Closed clintwood closed 9 years ago
I don't get the problem. Can you make an example of project structure and actions.
@pohmelie, its actually easy to see the 'problem'. First I'm on Windows but I don't think this makes a difference.
To produce the issue
D:\ITNodeJS\_gitsub\kaps-stack\kaps-logger
).run-in-terminal
settings as per the readme here for windows.F9
or right click anywhere and select Start terminal here
.Without the PR the terminal (cmd prompt in my case) opens at
C:\Users\user-name\AppData\Local\atom\app-1.0.3>
With the PR the terminal will default to the first project directory like this (in my case):
D:\ITNodeJS\_gitsub\kaps-stack\kaps-logger>
I have just check this issue and it definetly should be merged. But I will do some style corrections after and maybe some refactoring. Thanks for pull! :clap:
Cool! Thanks!
When there is no file open the terminal opens with a cwd of the tool/cmd being used. It may make more sense to default to the first project dir.
I guess ideally there should be an option for this and when not checked show an error.
Please feel free to close if this functionality is not wanted/needed ;)