Fork me on GitHub
#cursive
<
2019-01-25
>
danm14:01:20

Boo, doesn't seem to work. No idea why. Oh well

cfleming20:01:16

@carr0t Which are the env vars you need to set?

danm20:01:09

@cfleming Part of the problem is I’m not actually sure ;) With boot, outside IntelliJ, I have to set MAVEN_OPTS and BOOT_JVM_OPTS to configure my PCKS12 certificate as the keystone, the cert type, and my cert/keystone password

danm20:01:26

I think to get lein working I need to set LEIN_JVM_OPTS with the same params

danm20:01:33

Probably I should verify that works with lein in a bash terminal instead of jumping straight into IntelliJ

danm20:01:44

The reason I need to set it is the artifactory repo that we use for internal libs uses client certificate authentication for access, and it is mandated that our certs are password protected

cfleming21:01:02

@carr0t Right, I ask because I may be able to set those directly in lein when I invoke it. The issue is that env vars like that are sometimes setup so that you can’t easily see them and the idea is they’re passed in - if I give you a couple of text fields to fill in I’m just wondering if you have the values you’d need to fill them in.

youvere21:01:31

is there a way to list all unused global declaration in a project ?

youvere21:01:50

in other words, unused functions

Lennart Buit22:01:59

Analyse > Inspect code?

Lennart Buit22:01:15

not sure whether that works for functions tho

cfleming23:01:10

@youvere Unfortunately, no - the idea would be to use the general inspection, but it doesn’t work for Clojure for some reason and I haven’t got around to investigating why.

👍 5
cfleming23:01:24

Some will be shown in the editor, but not all.