Closed Immortalin closed 3 years ago
Wasn't there a Paredit VSCode extesion? I would prefer not to increase the maintain burden unnecessarily.
@Eugleo If not including the feature in Magic Racket, perhaps add a few lines in the README or the wiki, to point to an extension that plays well with Magic Racket? What would you recommend? I've tried Strict Paredit but I had to set it up to make it work well.
I don't mind adding whatever some links to other extensions into the readme, but I don't use any besides Magic Racket, so I'd outside help on this. Does strict paredit work for you? What did you have to set up?
In fact I think I made it work but partially. The problem is that Strict Paredit activates only on Scheme or Lisp files, not Racket.
By associating .rkt
files to the Scheme file type I can activate Strict Paredit but it disables most of Magic Racket, in particular the LSP and some keyboard shortcuts.
The best fix for me would be to change Strict Paredit to make it work with Racket files. I'll try that when I have the time.
In fact there is a PR already since 2020 on Strict Paredit to add Racket support, but it hasn't been merged.
For now my solution was to generate a .vsix
from that fork and install it locally. I also pinged the maintainer to merge the PR but we'll see about that. Thanks anyway.
https://github.com/BetterThanTomorrow/calva/tree/master/src/paredit