Skip to content

Pair selecting in cond #2991

@jramosg

Description

@jramosg

Pair Selecting in cond

Overview

Calva should support smart pair selection in cond, allowing you to select entire test/expression pairs with a single selection operation.

(cond
  test1 expr1     ; entire pair selected together
  test2 expr2     ; entire pair selected together
  test3 expr3)    ; entire pair selected together

How It Works

When your cursor is positioned on either element of a pair:

  • Selecting expands to include both the test and expression
  • Grow selection considers the pair as a single logical unit
  • This pairs behavior is consistent with existing support for let bindings

Related Features

This feature complements existing pair selection

Benefits

  • Faster navigation and editing of conditional logic
  • Consistent editing across related pairs
  • Improved code refactoring workflow

Metadata

Metadata

Assignees

No one assigned

    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