Changing numpad comma for dot

I'm using macOS 10.15.5 with a spanish keyboard in which the numpad has a comma instead of a dot. I was able to replace the behaviour in the while system, including Rider.

However, earlier today the behaviour was reversed only in Rider. When I press the numpad comma key (which should remap into a dot because of my system settings), Rider prints a comma instead of a dot.

This behaviour starting happening out of the blue. Any ideas on why this might be happening or how to reverse the behaviour?

JetBrains Rider 2020.1.4
Build #RD-201.8538.1, built on July 3, 2020

1
6 comments

Hello,

Could you please clarify how you did redefine "," with "." in your environment? I tried to reproduce this with "System Preferences > Language & Region > Advanced" but "." is not inserted nor in Rider nor in any other application.

Thank you in advance.

Sofia

0

I modified the file DefaultKeyBindings.dict file under Library/KeyBindings and added this line:
"#," = ("insertText:", ".");

For last couple days, however, Rider has been ignoring this setting

0

Hello Antonio,

Do I understand it right that all other applications use "." instead of "," on the Spanish keyboard?

Could you please share the entire content of the file DefaultKeyBindings.dict?

0
Avatar
Permanently deleted user

Hi

I'm having the exact same problem.
Below is my DefaultKeyBindings.dict file

{
/* Remap Home / End keys */
/* Home Button*/
"\UF729" = "moveToBeginningOfLine:";
/* End Button */
"\UF72B" = "moveToEndOfLine:";
/* Shift + Home Button */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* Shift + End Button */
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* Ctrl + Home Button */
"^\UF729" = "moveToBeginningOfDocument:";
/* Ctrl + End Button */
"^\UF72B" = "moveToEndOfDocument:";
/* Shift + Ctrl + Home Button */
"$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:";
/* Shift + Ctrl + End Button*/
"$^\UF72B" = "moveToEndOfDocumentAndModifySelection:";
/* Dot instead of comma in Numeric KeyPad */
"#," = ("insertText:", ".");
}
0

Sofia Byzova Wow, my apologies for the delay.

To answer your question, yes, all other applications use "." instead of "," when pressing the numpad comma on the Spanish Keyboard. Even Finder or the Terminal, all except for Rider.

Here's my DefaultKeyBindings.dict file.

{
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfLine:; // end
"$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end
"#," = ("insertText:", "."); //replace numpad coma for dot
}
0

Hi everyone,

Thank you for sharing the information.

This issue appeared to be a known one: https://youtrack.jetbrains.com/issue/IDEA-127470.

Please upvote it to subscribe for updates and increase its priority.

 

K.R. 

Sofia

0

Please sign in to leave a comment.