Peter Strömberg
Peter Strömberg
Hi! Thanks for reaching out. I am thinking it could be a Ux issue. If Calva is configured to send evaluation results to somewhere else than the repl window, then...
Hi! How do you change the keybinding when trying this? Editing the JSON file or using the **Keyboard Shortcuts** UI?
Hi! Thanks for reporting! Calva has a some clojure-lsp diagnostics, but I wonder if those help when the server crashes that early. You could try to click the clojure-lsp button...
I think we may be able to fix this by looking at how Calva determines wether the cursor is inside a comment form or not. I haven't checked, but _if_...
You are on track, I think. There is a when context for checking if the cursor is at the end of a comment block. That's the `!calva:cursorAfterComment` in the `when`...
Nice! With that simplification we can maybe get the correct behaviour with: ``` calva:keybindingsEnabled && config.calva.paredit.hijackVSCodeDefaults && editorTextFocus && editorLangId == 'clojure' && paredit:keyMap =~ /original|strict/ && (calva:cursorAfterComment || !calva:cursorInComment)...
I think the behaviour in your video is pretty OK. The semantics of the command is that it should select sexpressions.
That said, I'd support a context variable for `cursorHasCommentAhead`, or something like that, too.
Nice!!! Arguments could be made for both behaviors. The one you created here is very consistent, even if it may not exactly be “forward sexp“, and it can take an...
Hi! This is quite strange.... Calva integrates with clj-kondo only secondary via clojure-lsp. I would try see if running clojure-lsp in the project reports anything.