-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support new VSCode extension type #35
Comments
Hi @allaboutmikey , sorry about the delayed reply! I have been busy with other things these past few weeks. I think (and I may be wrong) that if Cercis keeps up with Black's updates (which I intend to do), Cercis will get Black's integration with VSCode out of the box. Have you tried using Cercis with VScode before? (I have never done so before.) |
No problem @jsh9. I have been using cercis with VScode, by changing the path to "the black executable" to point at cercis instead. This is the part that I understood to be changing, though I admit I'm not fully across the details of the implementation. |
This triggered me to do some more reading. All is not lost.
The warning suggests, though, that it might hurt performance accessing the formatter in this way. It might still be better to package up an extension with cercis embedded from the start. When VScode updates force me down this path soon, I'll try the custom path option. Hopefully your time permits a look into the package approach at some point. |
As per this on the vscode-python github, it seems python tools extensions are going to change how they are packaged in vscode.
Black, amongst others, has already been migrated to this new style.
It would be great if cercis was also available in this way, so I can keep using it instead of black when vscode deprecates the old way of setting the code formatter.
I am assuming of course that being based on black, there wouldn't be an enormous amount of work involved?
The text was updated successfully, but these errors were encountered: