"Cannot set keyboard shortcuts" problem still there

"Cannot set keyboard shortcuts" problem with German Visual-Studio is still
there.

this problem makes ReSharper nearly unusable, because on every start of
Visual-Studio my own Keyboard shortcuts are missing.


Can anyone send me his *.vsk file with a copy of his default keyboard
settings from an english Visual-Studio for testing?



Catszen Jendro


3 comments
Comment actions Permalink

a workaround is addlin the line

1.0.91.122 manually to usersettings.xml, so resharper dont deletes shortcuts at startup "Carsten Jendro" ]]> schrieb im Newsbeitrag
news:cc4bjg$sdt$1@is.intellij.net...

"Cannot set keyboard shortcuts" problem with German Visual-Studio is still
there.

>

this problem makes ReSharper nearly unusable, because on every start of
Visual-Studio my own Keyboard shortcuts are missing.

>
>

Can anyone send me his *.vsk file with a copy of his default keyboard
settings from an english Visual-Studio for testing?

>
>
>

Catszen Jendro

>
>


0
Comment actions Permalink

Ok, i have found your problem

Your function SetShortcuts() enumerates your hash table of Actions until the
first action with a non global shortcut like

you call

command.Bindings = "Text Editor::alt+x"

and Visual-Studio throws an InvalidAgrumentException because in german VS it
means

"Text-Editor" instead of "Text Editor"


now its on you to make a new version tha works on a german visual studio ;)

if i can help you testing, you can contackt me via ICQ 1603858 or mail
ceejay(§)gmxpro.de



Carsten Jendro







"Carsten Jendro" <carsten.jendro@gmx.net> schrieb im Newsbeitrag
news:cc4l55$dd2$1@is.intellij.net...

a workaround is addlin the line

>

<setting name="ShortcutsSetVersion">1.0.91.122</setting>

>

manually to usersettings.xml, so resharper dont deletes shortcuts at
startup

>
>

"Carsten Jendro" <carsten.jendro@gmx.net> schrieb im Newsbeitrag
news:cc4bjg$sdt$1@is.intellij.net...

"Cannot set keyboard shortcuts" problem with German Visual-Studio is

still

there.

>

this problem makes ReSharper nearly unusable, because on every start of
Visual-Studio my own Keyboard shortcuts are missing.

>
>

Can anyone send me his *.vsk file with a copy of his default keyboard
settings from an english Visual-Studio for testing?

>
>
>

Catszen Jendro

>
>

>
>


0
Comment actions Permalink

Carsten,

thank you for so deep investigation. We have just discovered that in
localized versions
of VS.NET some shortucts-related identifiers are localized - e.g. it looks
like 'Space' should be replaced
by 'Blank' in the German version. May be this also depends on the local
version of the operating system in use,
though I'm not sure about this.

Currently ReSharper assigns its default shortcuts once after the first
startup of the given ReSharper build (the rationale is that some new actions
may appear in a new build). The line in UserSettings.xml you mentioned is
intended for recording the fact that shortcuts have already been assigned
for the given build. It's really a bug in SetShortcuts that it does not
record this fact in case if some shortctus failed. Of course, we'll fix this
bug, so ReSharper will attempt to assign shortcuts only once for each new
build. However, the first startup will still give you the error message box
since some shortcut names are incorrect on your system. During
uninstallation,
ReSharper removes all its actions from VS.NET along with their shortcuts.

In order to do shortcuts localization we need at least to learn how the
shortcuts are named in localized versions of VS.NET (beside German there is
also an Italian version for which users reported the same problem, and who
knows how shortcuts are named in other versions). Could you please send me
(dsha(at)jetbrains.com) your *.vsk file where all the shortcuts have already
been assigned, so that I can estimate how big the difference is with the
English version?

Thanks in advance,
Dmitry


"Carsten Jendro" <carsten.jendro@gmx.net> wrote in message
news:cc52tf$la6$1@is.intellij.net...

Ok, i have found your problem

>

Your function SetShortcuts() enumerates your hash table of Actions until

the

first action with a non global shortcut like

>

you call

>

command.Bindings = "Text Editor::alt+x"

>

and Visual-Studio throws an InvalidAgrumentException because in german VS

it

means

>

"Text-Editor" instead of "Text Editor"

>
>

now its on you to make a new version tha works on a german visual studio

;)
>

if i can help you testing, you can contackt me via ICQ 1603858 or mail
ceejay(§)gmxpro.de

>
>
>

Carsten Jendro

>
>
>
>
>
>
>

"Carsten Jendro" <carsten.jendro@gmx.net> schrieb im Newsbeitrag
news:cc4l55$dd2$1@is.intellij.net...

a workaround is addlin the line

>

<setting name="ShortcutsSetVersion">1.0.91.122</setting>

>

manually to usersettings.xml, so resharper dont deletes shortcuts at
startup

>
>

"Carsten Jendro" <carsten.jendro@gmx.net> schrieb im Newsbeitrag
news:cc4bjg$sdt$1@is.intellij.net...

"Cannot set keyboard shortcuts" problem with German Visual-Studio is

still

there.

>

this problem makes ReSharper nearly unusable, because on every start

of

Visual-Studio my own Keyboard shortcuts are missing.

>
>

Can anyone send me his *.vsk file with a copy of his default keyboard
settings from an english Visual-Studio for testing?

>
>
>

Catszen Jendro

>
>

>
>

>
>


0

Please sign in to leave a comment.