如何修改Visual Studio 2017与Whack Whack Terminal默认用IE11打开链接的设置?
Fix IE11 as Default Browser for Whack Whack Terminal & Visual Studio 2017 Links
Hey there, I’ve run into exactly this issue before, and since the Whack Whack Terminal author has addressed it on the product page, I’ll walk you through the fixes for both scenarios:
Fix for Whack Whack Terminal
The core issue here is how the plugin handles link clicks in the PowerShell terminal. Here’s what the author recommends and what works in practice:
- Open Visual Studio, go to Tools > Options > Whack Whack Terminal (navigate to the plugin’s dedicated settings page).
- Look for terminal launch configuration or link handler settings. If there’s an option labeled "Use System Default Browser", select it directly.
- If that option isn’t available, you can add a custom PowerShell function to override link opening. In the plugin’s "Startup Script" field, paste this snippet:
This forces the terminal to use your system’s default browser whenever you click a link, instead of falling back to IE11.function Open-ExternalLink { param([string]$Url) Start-Process $Url }
Fix for Visual Studio 2017
VS2017 sometimes hardcodes IE11 for internal link handling, even if your system default is set elsewhere. Try these steps:
- Adjust VS Built-in Settings
- Go to Tools > Options > Environment > Web Browser.
- In the "Default browser" dropdown, select "System default browser" instead of "Internet Explorer". Click OK and restart VS to apply changes.
- Fix System-Level Protocol Associations
Since you noticed IE11 is launched viasvchost.exe, this points to a system-wide protocol association issue. Open Registry Editor (regedit):- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command - Ensure the default value points to your default browser’s executable (e.g., Chrome would be
"C:\Program Files\Google\Chrome\Application\chrome.exe" -- "%1"). - Repeat the same check for
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command.
- Navigate to
- Reset VS Settings (Last Resort)
If the above steps don’t work, reset your VS settings: go to Tools > Import and Export Settings > Reset All Settings, choose to reset without saving current settings, and pick the default configuration. This often clears hidden browser-related overrides.
内容的提问来源于stack exchange,提问作者AngryHacker
相关产品推荐
相关产品推荐

