haskell / haskell/vscode-haskell

Shortcut to evaluate code lenses

Open
#1,074 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
597
Forks
98
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

This feature request is not related to a problem.

**Describe the solution you'd like**

The eval plugin allows users to test code quickly directly in the same source file in which they're working. Unfortunately, evaluating the code requires clicking with the mouse on the "Evaluate" or "Refresh" code lenses, which is annoying if you're committed to a keyboard-only workflow.

Ideally, you could set up a keyboard shortcut that triggers the evaluation of the code lens directly, without requiring the usage of the mouse.

**Describe alternatives you've considered**

Continue using the mouse to trigger code lens evaluations :disappointed:

**Additional context**

![image](https://github.com/haskell/vscode-haskell/assets/31224949/eba7527e-7201-447c-8e27-a5f62ec8528f)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.