How to change default error search in Visual Studio 2015

后端 未结 4 1868
予麋鹿
予麋鹿 2021-01-08 01:20

While I was writing my code in Visual Studio 2015CTP I got error as below in ErrorList window:

Error CS0117 \'Console\' does not co

4条回答
  •  执念已碎
    2021-01-08 01:26

    Another quick hack that I just made would be a browser script. I used Greasemonkey to generally redirect searches from Bing to Google. Because who the hell has ever chosen the former over the latter...

    If you have Greasemonkey installed or other places to use a userscript, you can use

    // @include     http://www.bing.com/search?q=*
    var rex = /\?q=(.+)/;
    window.location.href = ("http://www.google.com/#safe=off&q="+window.location.href.match(rex)[1]);
    

    to always redirect from Bing to Google.

    Not really a VS answer, but a work-around. And in my case, it seems just fine since I prefer Google.

提交回复
热议问题