Skip to content

[Feature request] Allow shortcuts for keys specific to non-en-US keyboards #16071

@pryrt

Description

@pryrt

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

The French AZERTY keyboard has the ! § key (VK_OEM_8) which is not listed as being available for shortcuts; the Brazilian Portuguese ABNT2 keyboard has the / ? (ABNT_C1) and numeric-keypad . . (ABNT_C2) keys are not listed as being available for shortcuts (both mentioned in comments in #15966); other keyboards also have their unique keys.

Describe the solution you'd like.

When the application is loaded, determine which keyboard is active, scan through all the possible keyboard-specific VK bindings and see which are defined for the current keyboard, and append those to the list of possible keyboard-shortcut keys

Debug Information

Notepad++ v8.7.5   (64-bit)
Build time : Dec 21 2024 - 05:13:03
Path : C:\usr\local\apps\npp\npp.8.7.5.portable.x64\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
DirectWrite : ON
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 22H2
OS Build : 19045.5247
Current ANSI codepage : 1252
Plugins : 
    EnhanceAnyLexer (1.4)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions