This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-01
Channels
- # aleph (71)
- # aws (1)
- # bangalore-clj (4)
- # beginners (36)
- # boot (153)
- # cider (23)
- # clara (9)
- # cljs-dev (67)
- # cljsjs (2)
- # cljsrn (22)
- # clojure (348)
- # clojure-argentina (4)
- # clojure-austin (12)
- # clojure-berlin (9)
- # clojure-dusseldorf (6)
- # clojure-france (4)
- # clojure-italy (4)
- # clojure-russia (358)
- # clojure-spain (2)
- # clojure-spec (28)
- # clojure-uk (109)
- # clojurescript (130)
- # core-typed (1)
- # cursive (35)
- # datascript (6)
- # datomic (18)
- # emacs (12)
- # hoplon (4)
- # klipse (64)
- # lein-figwheel (13)
- # leiningen (3)
- # luminus (4)
- # lumo (51)
- # mount (22)
- # off-topic (83)
- # om (22)
- # om-next (8)
- # onyx (3)
- # pedestal (8)
- # perun (6)
- # portland-or (2)
- # re-frame (50)
- # ring (8)
- # ring-swagger (5)
- # untangled (10)
- # yada (9)
hello, is there a way to remove a keyword from cursive index? often times I typo a keyword for the first time, then I fix it, but the old still on index making it confusing on auto-complete time
it seems to happen when I type (d/d
and the repl tries to suggest requiring datomic.api
Hi, I just downloaded the intellij community ed and the installed cursive. following along with the website to setup the nrepl and the screenshots don't match and my lein nrepl options are greyed out, so I'm stuck on how to set this up
Can you share a screenshot?
@danielcompton sure, just a minute..
Open up project structure > modules
It looks like you might not have your Clojure project added as a module?
@genec I do (1) create with lein new …
(2) Use “New -> From Existing Sources…”
it should let you pick Leiningen as the project type, and then that will set up all your options correctly so you can do the REPL stuff
I remember having similar issues when I first started because I was just opening up project dirs directly instead of using New -> From existing sources.
@manutter51 bingo thank you! - the dialogs have changed a bit and you need to select the project.clj (not just the project directory). On the welcome screen you have to select import project and then select the project.clj file to import. Hope this helps some others who want to try intellij / cursive
I don’t have to select project.clj. Just File -> New -> Create project from existing sources…, and then select the directory, then Import Project from External Model and click Leiningen.
I’m using IntelliJ Ultimate, not the community edition, might be differences.
Anyway, glad you’re past the hurdle at least.
thanks for the help, is there any way to send a line or block of code from the editor to the repl? (without using the mouse/menu?) I'm used to F# and being able to alt+enter to execute lines of code.
Yeah, if you look in Preferences under Keymap -> Clojure bindings there’s a bunch of shortcuts, including sending code to the repl
plus stuff for navigating s-expressions
:thumbsup:
You have to copy it - see https://cursive-ide.com/userguide/keybindings.html
@wilkerlucio Unfortunately no, I’m going to look at that index soon since it’s a bit funky.