Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we open terminal in subfolder? #183

Closed
shivapoudel opened this issue Dec 9, 2017 · 3 comments
Closed

How can we open terminal in subfolder? #183

shivapoudel opened this issue Dec 9, 2017 · 3 comments

Comments

@shivapoudel
Copy link

Since I have to use goto definition in sublime I have to include all the files required in WordPress cms but my specific projects will be inside wp-content/plugins/<plugin-project> directory.

Now in the <plugin-project> there can be many directory and sub-directory and if I stick with that directory root files and use ctrl+shift+t I can open terminal in that project directory but sometimes I have to edit files located like this too wp-content/plugins/<plugin-project>/<sub-folder>/<some-file> then how can I open ` but not the sublime project folder.

@twolfson
Copy link
Collaborator

twolfson commented Dec 9, 2017

We provided 2 shortcuts:

  • ctrl+shift+t which opens in the folder of the current file
  • ctrl+shift+alt+t which opens in the Sublime Project folder of the current file

https://github.com/wbond/sublime_terminal/blob/1.18.0/Default%20(Windows).sublime-keymap

Based on your description, it sounds like there's an override being introduced somewhere. Can you recall if you added anything like that?

@shivapoudel
Copy link
Author

If sublime goto definition would have support the directory to search for then it wouldn't have been the problem.

I know that this package support two above shortcuts but my need is different. I need a solution and wont prefer to goto project directory means I need additional shortcut. Look the sub project of my need and I wanted to open terminal in a directory where the composer.json file exists.

https://cldup.com/RsbpDU7qxA.jpg

@twolfson
Copy link
Collaborator

twolfson commented Dec 9, 2017

Ah, I see. I can think of a few ways to build that and I'm sure there are plenty of others:

I'm going to mark this issue as an enhancement and leave it open for discussion. Unless @wbond has strong opinions otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants