There is something missing for the eval form and that's eval current word and store comment
So, if I have something like this (def x-token (authenticate app-config))
then I would normally do ,ew
over x-token
to get it's value. It would be nice if I could do ,ewc
to store that like a comment too
even if I put x-token
on a separate line and do ,ew
it works (shows as virtual text), but then doing ,ec
only shows nil
, as ,ec
only works with forms atm 🙂
Happy to raise this is as issue 🙂
Hmm
If I add this it's only a matter of time before someone asks for "eval root form and comment" too. So I went down the simple option of "only current form" for this implementation so far, but I've done the hard part (adding comments in the correct way).
Yeah, I thought it might be considered a slipperly slope
To do this style, I think I need to rewrite / redeisgn the comment result thing system. So it'll be a prefix to any mapping :thinking_face:
Like ,ece
to do current form
A little more buttons, but more general
,ecr
and ,ecw
would work then
that makes sense
Also practicalli mentioned wanting ;;
over ;
, but I think that'll be a setting with ;
being the default for internal implementation reasons in Conjure.
Just FYI, thought you might be interested in that idea too maybe
I personally prefer single commented code and double commented prose etc but yeah
I normally use ;;
🙂
but <shrug> not a biggie for me
maybe it could be a configuration parameter
Good plan