At first, we should prepare a script to open the Terminal.
In Xcode, do ‘Cmd + Comma’ to open the Preference window. Then select the Behaviors tab.
At the left list’s bottom, add a new Custom Behavior called ‘open Terminal(e.g.)’. Then click the right Command button, set a command ‘Ctrl + Cmd + T (e.g.)’ as the short cut .
Check Run at the bottom of right area, then select script.sh and close Preference window.
Now, when you do ‘Ctrl + Cmd + T’ in Xcode, a Terminal with current project’s path will show.
Done with Xcode 9
近期评论