Skip to content

ENH: Double click on function parameter selects parameter type as well #388

@rok

Description

@rok

When I want to copy a name of a function parameter I typically double-click it to select. Normally that would select the entire parameter and I can now copy and paste it elsewhere.
Here however there seems to be a css or js setting that causes the double click to select the parameter type as well. When I copy it the name of parameter is concatenated to type string without space in between. E.g. double clicking and copy-pasting parameter data from here will result in a string datastructured. Ideally it would result only in data.

Tested on Chrome 89 and Firefox 87, Ubuntu 20.04.

After re-reading this I realize it sounds horribly nitpicky and I apologize. I only bring it up because it might be a common ergonomic issue. Disregard if this makes no sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions