diff --git a/src/VisualStudio/Core/Def/Implementation/Experimentation/KeybindingResetDetector.cs b/src/VisualStudio/Core/Def/Implementation/Experimentation/KeybindingResetDetector.cs index 072ad70f2b84127829b299844b026c5bc2eca1cf..771f515b9f48d2c81fdf95062c8f8c96bbce5295 100644 --- a/src/VisualStudio/Core/Def/Implementation/Experimentation/KeybindingResetDetector.cs +++ b/src/VisualStudio/Core/Def/Implementation/Experimentation/KeybindingResetDetector.cs @@ -2,7 +2,6 @@ using System; using System.ComponentModel.Composition; -using System.Diagnostics; using System.Runtime.InteropServices; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.ErrorReporting; @@ -18,7 +17,6 @@ using Microsoft.VisualStudio.Shell.Interop; using Roslyn.Utilities; using Task = System.Threading.Tasks.Task; -using IOleServiceProvider = Microsoft.VisualStudio.OLE.Interop.IServiceProvider; namespace Microsoft.VisualStudio.LanguageServices.Implementation.Experimentation { @@ -48,7 +46,7 @@ internal sealed class KeybindingResetDetector : ForegroundThreadAffinitizedObjec private static readonly Guid ReSharperCommandGroup = new Guid("{47F03277-5055-4922-899C-0F7F30D26BF1}"); private readonly VisualStudioWorkspace _workspace; - private readonly SVsServiceProvider _serviceProvider; + private readonly System.IServiceProvider _serviceProvider; // All mutable fields are UI-thread affinitized @@ -190,7 +188,7 @@ private void ShowGoldBar() } else if (_experimentationService.IsExperimentEnabled(ExternalFlightName)) { - message = ServicesVSResources.We_noticed_your_keybindings_are_broken; + message = ServicesVSResources.Your_keybindings_are_no_longer_mapped_to_Visual_Studio_commands; } else { @@ -227,8 +225,7 @@ private ReSharperStatus IsReSharperEnabled() if (_oleCommandTarget == null) { - var oleServiceProvider = _serviceProvider.GetService(); - _oleCommandTarget = (IOleCommandTarget)oleServiceProvider.QueryService(VSConstants.SID_SUIHostCommandDispatcher); + _oleCommandTarget = _serviceProvider.GetService(); } var cmds = new OLECMD[1]; diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs b/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs index fa4ba08063286e710b7c1aa394a475f206209e36..600607105a87397b8f89f7b5777c10469acc7bd4 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs +++ b/src/VisualStudio/Core/Def/ServicesVSResources.Designer.cs @@ -2597,15 +2597,6 @@ internal class ServicesVSResources { } } - /// - /// Looks up a localized string similar to We noticed your keybindings are broken.. - /// - internal static string We_noticed_your_keybindings_are_broken { - get { - return ResourceManager.GetString("We_noticed_your_keybindings_are_broken", resourceCulture); - } - } - /// /// Looks up a localized string similar to When generating properties:. /// @@ -2659,5 +2650,14 @@ internal class ServicesVSResources { return ResourceManager.GetString("You_must_select_at_least_one_member", resourceCulture); } } + + /// + /// Looks up a localized string similar to Your keybindings are no longer mapped to Visual Studio commands.. + /// + internal static string Your_keybindings_are_no_longer_mapped_to_Visual_Studio_commands { + get { + return ResourceManager.GetString("Your_keybindings_are_no_longer_mapped_to_Visual_Studio_commands", resourceCulture); + } + } } } diff --git a/src/VisualStudio/Core/Def/ServicesVSResources.resx b/src/VisualStudio/Core/Def/ServicesVSResources.resx index cebc6177d59218ef3b2bfca6ec8601d15cb63006..8167d77d68b229696b4bfe50119e6d9817def9bc 100644 --- a/src/VisualStudio/Core/Def/ServicesVSResources.resx +++ b/src/VisualStudio/Core/Def/ServicesVSResources.resx @@ -992,8 +992,8 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. - - We noticed your keybindings are broken. + + Your keybindings are no longer mapped to Visual Studio commands. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf index 6b8f0f71c369eb1b6243a9912acb7e8012af5aea..ea56ba20f045e3244f7302a3c6b6462221a2ac08 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.cs.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf index 439f4064295516beb39c4ca5ff489a313918fcef..ff4188b358729a72931178e838e24997e8b9388c 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.de.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf index 0973dd640fe83be9e8d5adbd9d2f8a08094701f2..ddaa0fe662e9a99bcf0866da3457c4cfec998f48 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.es.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf index 409ff19e701085789e125c52349c7f23c8506a2a..d6138f09ecf27eea41e549f1bd709faf6ee3273a 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.fr.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf index c20c9e4bb5bf0cb3910e567db0db79517294b3f4..32bd6c5f2d2575cafda65a695fa20f457eb60ced 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.it.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf index cb50f88ec69ffee56e147622d1c82980ee8d82b6..795ff997b07f2481af55fc0f60b38b9588d226f5 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ja.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf index 98388cfcecc48ce25983f7ec43f83a5ee561492b..e7d767e68465d02a61550fe126dc27fa7c1504c6 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ko.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf index 2e683975f428f7eeed75384097107be324d7042b..0f6cb0fdba491062dea3f5fe845795b184b4b630 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pl.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf index ab1d5f63fabef6de2459b9f09ff4e9a1af81bbc3..3b56b3eaecccb745cce5f3ab1e10c042f1463740 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.pt-BR.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf index 645efe193dfc4896804fbda6bdaf2a48c1a33e72..36568d5b7f8a2c75e1d1164fdf3fd48d4779b7ed 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.ru.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf index c77bd0424ba898668ec6bb24ca6fe5c061d28ce4..190addf2eb5feb7212fc58625ec2b7a324c066f0 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.tr.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf index 44e48814003906eb404a52b1fabf4e210660361c..5cd6ef74d2eaba89241a9f766fc884e4b379cc5e 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hans.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file diff --git a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf index 4768f68c448d53dd9d1ed1268954709dcdd70c18..eb1a146d18a3bc6065708511620f66919fa3cb23 100644 --- a/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf +++ b/src/VisualStudio/Core/Def/xlf/ServicesVSResources.zh-Hant.xlf @@ -1452,11 +1452,6 @@ Additional information: {1} Restore Visual Studio keybindings - - We noticed your keybindings are broken. - We noticed your keybindings are broken. - - We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. We noticed you suspended ‘ReSharper Ultimate’. Restore Visual Studio keybindings to continue to navigate and refactor. @@ -1467,6 +1462,11 @@ Additional information: {1} Use keybindings for ReSharper/IntelliJ/Vim/etc. + + Your keybindings are no longer mapped to Visual Studio commands. + Your keybindings are no longer mapped to Visual Studio commands. + + \ No newline at end of file