eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Cursor multi-select doesn't work with Ctrl+Shift when JDT "smart caret" feature is enabled

Open
#1,323 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

The Eclipse multi-select feature breaks and drops back to single-cursor mode when using Ctrl+Shift with the "smart caret" feature enabled. This makes it largely useless, because I want to select either the whole variables or camel case portions at a time, not just a single character.

See here for an example video:

https://www.youtube.com/watch?v=lq-8kfnj8Ic

I am using the key bind "Multi selection down relative to anchor selection" to make my selection, placing the cursor on the right side of the variable, and then Ctrl+Shift+Left Arrow to try and select a larger portion of the variable. This drops back to single-cursor, instead of selecting across all cursors, as expected.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Eclipse JDT UI with the JDT "smart caret" feature enabled, using the "Multi selection down relative to anchor selection" key binding followed by Ctrl+Shift+Left Arrow. The fix is done when selecting larger variable or camel-case portions preserves multi-cursor mode instead of returning to a single cursor.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.