Repository navigation
Improve Open in Terminal in Mac - #6136
Conversation
Add Open in Terminal test case for Mac Remove unused files
|
By analyzing the blame information on this pull request, we identified Andre Weinand (@weinand) and Erich Gamma (@egamma) to be potential reviewers |
|
Hi Sajjad Hashemian (@sijad), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
Going to adding to João Moreno (@joaomoreno) as I don't have access to a mac/vm right now. |
|
Getting an OS X VM setup so I can do it as João Moreno (@joaomoreno) is out. |
|
Sajjad Hashemian (@sijad) thanks for the PR. Could you please provide some details about your improvements to 'Open in Terminal' on OS X. I quickly reviewed the code and noticed that you have removed the AppleScripts that try to reuse the same terminal if it is not already running a command. Without that functionality, every 'Open in Terminal' creates a new Terminal window which quickly clutter the desktop. |
|
Andre Weinand (@weinand) that's true but applescript uses |
|
Sajjad Hashemian (@sijad) here is a first analysis of your PR. Please correct me if I'm wrong and add anything that is missing. The PR:
The PR removes the following features:
Verdict: |
|
Andre Weinand (@weinand) as I understand it the main part of it is #5462 (OS X support for custom terminal launch settings #3495 ) |
|
Andre Weinand (@weinand) you're right. As told applescript run |
|
Sajjad Hashemian (@sijad) I'm not suggesting to revert the PR to use the AppleScript because that will complicate the launch settings: What do you specify in the setting instead of |
|
Andre Weinand (@weinand) it's still possible to use AppleScript to lunch Terminal application |
|
Sajjad Hashemian (@sijad) sure, instead of specifying |
|
Andre Weinand (@weinand) do you want to take this PR? I wouldn't have identified any issues with the AppleScript stuff. |
|
Sajjad Hashemian (@sijad) today I've merged your PR into VS Code. Thanks a lot! |
This also fixes #391
Tested in
Mac OS X 10.11.4 (15E65)With
Terminal Version 2.6.1 (361.1)andiTerm2 Build 2.1.4DEFAULT_TERMINAL_MACalso can be set asterminal.appor eventerminalbut I can't test if that works with older version ofopencommand in previous Mac OS