Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add highlighting to indicate which forms have not been changed since their last evaluation #573

Open
Olical opened this issue May 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Olical
Copy link
Owner

Olical commented May 6, 2024

As requested by rwaweber on Discord.

image

This behaviour can be found in Emacs + CIDER, we should borrow the idea.

It should not be implemented in a single client way, this is a generic feature that should work across all clients. We just need to find a way to track buffer changes to forms, a nice way to highlight those forms in the UI and then integrate our change watching with the eval commands with a kind of middleware.

This might be a great use for expanding the event / hook system.

@Olical Olical added the enhancement New feature or request label May 6, 2024
@practicalli-johnny
Copy link

The visual representation for highlighting evaluated code in Emacs is subtle (arguably so subtle that most do not notice this feature exists even though it's on by default)

Hopefully such a feature via Conjure can be configured to be less subtle if desired.

I like the visual design of https://github.com/folke/todo-comments.nvim although this maybe overkill for evaluation markers.

Ideally the evaluated highlight visuals would complement and not conflict with other visuals, especially from LSP clients & Todo comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants