This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-03
Channels
- # announcements (4)
- # aws (19)
- # babashka (55)
- # beginners (40)
- # biff (4)
- # calva (9)
- # cherry (3)
- # cider (8)
- # clj-kondo (26)
- # clj-yaml (3)
- # clojure (92)
- # clojure-austin (14)
- # clojure-europe (21)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-portugal (3)
- # clojure-uk (2)
- # clojurescript (48)
- # conjure (19)
- # datalevin (14)
- # docker (13)
- # emacs (3)
- # fulcro (21)
- # gratitude (14)
- # improve-getting-started (1)
- # introduce-yourself (2)
- # joker (4)
- # juxt (2)
- # lsp (12)
- # malli (5)
- # meander (17)
- # off-topic (13)
- # re-frame (7)
- # scittle (2)
- # test-check (2)
I just accidently pressed some unknown button combination and it prefixed a symbol with a colon. Is this a Calva command?
Cursor was at right end after the symbol, and stayed at right end when a colon appeared in front of symbol and highlighting changed to indicate keyword. Ctrl-Z removed the colon, still without moving the cursor.
Calva seems to auto-insert :require
clauses for namespaces I reference in comment
forms. I remember it asking me about a refactoring a while back and I said "yes, always do this" but now I can't find that setting to turn it back off (what I really wanted was "no, and don't ask me again" I suppose). Where do I find/reset such settings?
I wonder if it is stored in the local DB file? Maybe the only way to reset it is to blow away that file...
I ran into this a while back. If it’s one of those vscode-native popups confirming that you want to take an action offered by the LSP, e.g. “you moved this file, would you like to update all the references to it”, then the only way to reset it is to either blow away VSCode’s local state or figure out how to alter the setting in that state. I spent a bunch of time figuring out how to do option 2 a while back but I don’t remember all of the details. I think I posted about it some in this channel? Here’s a vscode ticket requesting a less awful way to reset these: https://github.com/microsoft/vscode/issues/24815
@U01EB0V3H39 Thanks! Good to know that this is VS Code, not Calva/LSP, but also terrible to hear they're just JSON blobs in a SQLite DB with no other way to modify them 😞