This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-12
Channels
- # admin-announcements (1)
- # arachne (3)
- # cider (11)
- # cljsrn (5)
- # clojure (26)
- # clojure-android (10)
- # clojure-greece (8)
- # clojure-russia (5)
- # clojure-spec (7)
- # clojure-uk (3)
- # clojurescript (16)
- # clojurex (38)
- # core-async (1)
- # css (3)
- # cursive (42)
- # dirac (2)
- # hoplon (28)
- # keechma (1)
- # lein-figwheel (2)
- # leiningen (1)
- # mount (3)
- # om (132)
- # onyx (46)
- # re-frame (53)
- # reagent (17)
- # spacemacs (7)
- # specter (50)
- # untangled (2)
- # yada (3)
I'm sure that control shift slash is always how I've uncommented code. But now it is not working. Looking at my keymap it seems to be assigned to 'Comment with Block Comment'. And I can't see Uncomment anywhere. So looking at the configuration makes sense. Probably not related, but I have a question - how do you ensure that you are not receiving the absolutely latest Cursive changes? I remember on installing I elected to go for getting the latest updates, so would now like to know how to undo this.
@cjmurphy: Actually, “Comment with Block Comment” has never worked with Clojure, there’s an issue here: https://github.com/cursive-ide/cursive/issues/1047
re: the beta builds, see here: https://cursive-ide.com/userguide/#eap
I just tried it, it definitely doesn’t work for me, and I would swear it’s never worked because I have never implemented that 🙂
You highlight something that has lots of ;
at the start of each line, and you can't just remove them with a keystrokes?
For example, in Java/JS/C etc, that would comment and uncomment all the lines with //
. Using the block comment commmand would use /* ... */
Maybe I should try to find the keyboard shortcut in IDEA. Will it be called 'Uncomment with Line Comment'?
The one edge case there is if your selection contains some commented and some uncommented lines - in that case, it will comment them all, which means re-commenting the lines that are already commented.
Hehe, no worries - that stuff gets down into the reptilian hindbrain, but gets erased from the conscious 🙂
I can never remember what the keystrokes are for things I do all day, unless I have a keyboard to actually do it on.
Yes thanks - sometimes when starting my brain just isn't there yet. Wow. Thanks. (EDIT: but never-the-less some update had trashed my existing keystroke settings, so it seems I smelt there was a problem 😛)
Is it possible to force Cursive to reindex without closing and reopening the project? This seems to be required to get Cursive to recognize new imports.
@joshg: what do you mean when you say imports? Java imports in an ns, or new deps in project.clj?
Java imports, although come to think of it, it’s probably due to adding a new dependency to project.clj. Is there a way to reindex without closing and reopening the project?
@joshg https://github.com/cursive-ide/cursive/issues/56 you can watch that issue for improvements to Lein syncing