microsoft / microsoft/PowerToys

Keyboard Manager: Add support for auto-closing brackets and cursor positioning

Open
#48,629 0 comments 1 reaction 0 assignees View on GitHub
Needs-Triage Product-Keyboard Manager
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Description of the new feature / enhancement

Please add an enhancement to the Keyboard Manager that allows for auto-closing pairs and cursor positioning. For example, when typing (, it should automatically output () and move the cursor to the middle of the brackets.

### Scenario when this would be used?

This feature would be incredibly useful when writing Markdown, code, or any text where brackets are frequently used. Manually typing the closing bracket and navigating back with arrow keys disrupts typing flow. Having an auto-closing feature with smart cursor placement within PowerToys would significantly improve productivity across all text editors and applications.

### Supporting information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the Keyboard Manager implementation and any existing tests or entry points for keyboard input. Define the supported bracket pairs and verify that typing an opening bracket closes the pair and places the cursor between them across the intended text editors and applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.