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

VS Code plugin #91

Open
Immortalin opened this issue Oct 25, 2020 · 3 comments
Open

VS Code plugin #91

Immortalin opened this issue Oct 25, 2020 · 3 comments

Comments

@Immortalin
Copy link

Hi, can you add an extension for visual studio code?

@eraserhd
Copy link
Owner

I'm already too backlogged with the core stuff, Vim, and Kakoune, so I can't do it. I posted it on #parinfer on the Clojurians slack in case someone else is interested. And, of course, I'd be willing to answer questions on Slack or here if you want to take this on.

@oakmac
Copy link
Contributor

oakmac commented Dec 4, 2021

FYI - as of earlier this week, Calva has decent Parinfer support for VS Code.

It is not exactly Parinfer's Smart Mode, but a neat combination of Indent Mode + the Calva autoformatter. For most use cases, it feels like Smart Mode.

More information in this PR and twitter thread.

@gdw2
Copy link

gdw2 commented Jan 3, 2023

VS Code also has a neovim extension which allows you to leverage parinfer-rust through neovim. After every keystroke it calls nvim_buf_set_text which doesn't play well with parinfer's 'smart' mode as every keystroke causes parinfer to reformat the text. This means you can't add spaces to the end of form. (E.g. can't change (foo) -> (foo ) in anticipation of eventually typing (foo bar).)

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

No branches or pull requests

4 participants