bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73452: Code lens support in eglot


From: Federico Beffa
Subject: bug#73452: Code lens support in eglot
Date: Tue, 24 Sep 2024 16:02:47 +0200
User-agent: Mozilla Thunderbird

Hi,

This is not a bug report, but rather an inquiry or feature request. I'm wondering if there are any plans for eglot to support code lens.

These provide quite useful functionality. For example, the Haskell language server allows putting expressions (typically for test or documentation) in comments with a special syntax. The server then offers to execute the code (in VSCode appearing as a small button above the _expression_). When pressed, it inserts the result in a comment just below. Here's an example after execution:

```haskell
addOne :: (Num a) => a -> a
addOne x = x + 1

-- >>> addOne 2
-- 3
```

Thanks for the great work!
Fede

reply via email to

[Prev in Thread] Current Thread [Next in Thread]

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy