-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Comments
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. |
Is there any additional information I would need to start working on this today? |
Not really! As long as you're on the We will also need options and helptext around them to help users turn this off and on (probably start as off by default because people will be unhappy otherwise). It should also be structured as follows:
|
Oh and you might want to comment out This option basically turns on the experimental client when you work on Conjure itself from within the directory. So it might get in your way if you want to work on Conjure too! It can evaluate Fennel, it's just not finished yet. |
As requested by
rwaweber
on Discord.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.
The text was updated successfully, but these errors were encountered: