Skip to content

Double-click should select #ff0000 #174154

@BobPritchett

Description

@BobPritchett

Type: Feature Request

[ "black", "white", "#CC3733", "#FCA103" ]

I want to double-click in "CC3733", Ctrl+X, and then double-click on "black" and Ctrl+V, and have it work. If you do that now, you get:

[ "CC3733", "white", "#", "#FCA103" ]

Which creates two manual clean-up steps.

Please use code-aware logic for double-click, Ctrl+Right and Ctrl+Left, not English prose logic. # is part of the 'word' I'm double-clicking on in JavaScript or HTML or CSS.

In a URL # might make sense as a word separator, but not in "#ff0000". Changing 'Editor: Word Separators" isn't enough -- there should be language/context-aware logic.

VS Code version: Code 1.75.1 (441438a, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions