Fork me on GitHub
#cursive
<
2016-11-07
>
lsenta11:11:30

Hey guys, is there any way to tweak intellij “open file name” for cursive? (the Cmd + Shit + N menu to jump to a file by name)

lsenta11:11:02

I have core.clj(s) everywhere in my code, so the autocomplete is really not handy

lsenta11:11:16

is there any way to have the autocomplete use the full package name?

cfleming11:11:24

@lsenta: You can use the Go To Namespace instead

cfleming11:11:37

Navigate->Namespace...

cfleming11:11:26

I actually bind that to what Go To File used to be bound to (Cmd-Shift-O) and bind Go To File to Cmd-Ctrl-Shift-O

cfleming11:11:46

Since I don’t go to files that often

lsenta11:11:35

Thanks @cfleming that’ll do it!

sandbags16:11:05

I just created a new re-frame project and am trying to create a ‘cljc’ folder to sit next to ‘clj’ and ‘cljs’ under ‘src’. But I am not sure how. Those two folders are coloured white and do not appear to work the same way as if i use ‘create folder'

sandbags16:11:40

if i create a folder ‘cljc’ and then use create clojure namespace underneath it the namespace is created wrong (it misses the top level package)

cfleming16:11:41

@sandbags Select “src”, then “New… -> Directory"

cfleming16:11:59

Reading your previous comment, it sounds like you can create the directory, but it’s not marked as the blue source folder, is that right?

cfleming16:11:29

If so, then assuming you’re using lein you’ll need to add src/cljc to your :source-folders key in project.clj

cfleming16:11:38

And sync your project.

sandbags16:11:59

Ah, thank you … that :source-folders bit waas the part I was missing