-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Calva uses ; for comments instead of ;;? #971
Comments
Relevant line in the default Clojure extension: https://github.com/microsoft/vscode/blob/ff915844119ce9485abfe8aa9076ec76b5300ddd/extensions/clojure/language-configuration.json#L3 |
I was indeed getting
This is on Ubuntu, following these instructions (so using their dpkg archive, not the snap install).
To have a look at this package
Then you can see that it contains
|
I submitted an upstream PR https://github.com/microsoft/vscode-clojure/pull/1 Fingers crossed 🤞 |
Sweet, thanks for that. We'll leave this open with regard to the vscode issue Peter opened, since this seems to be an override issue that could affect other things. |
I updated the description of this issue some. Pasting it here as well so that it is easier to discover by people who has already read the description:
|
At suggestion of @PEZ, I am leaving this here: after upgrade to 2.0.153, auto closing quotes no longer works on my Linux(WSL2, Ubuntu) setup. It does work on Mac, however. Setting editor.autoClosingQuote set to "language defined." |
Thanks. The fact that it behaves differently on your two machines suggests that it is the same root causea as for the comments. |
Here's a VSIX that should fix this issue, and possibly the one that @agoldhammer experiences as well: https://clojurians.slack.com/files/U0ETXRFEW/F01K7NMJW23/calva-2.0.154-language-config.vsix (CircleCI is down for maintenance, so this time a link that you need a Clojurians Slack account to reach.) |
Calva intends to use
;;
for comments, but VS Code comes with a default Clojure extension which uses;
for comments, and this seems to be somehow being used on some people's systems when they run comment commands, though I'm not sure how. I have not seen this happen myself.Please, if you are using Calva and you notice this on your system, comment here with system details like VS Code version, Calva version, and OS, so maybe we can figure this out.
Update by @PEZ: Calva can still win this race by us bundling a language configuration file. The way we do it today actually only works by luck, (I'm guessing something changed recently that makes Calva sometimes lose the race.)
The text was updated successfully, but these errors were encountered: