Fork me on GitHub
#cursive
<
2018-12-20
>
ro602:12:11

I'm still having trouble with Cursive not recognizing the tools.deps project (eg the 3rd party libraries aren't listed in the Project view). Is there a more detailed log file where I can dig into this?

cfleming03:12:34

@alexpashkov123 You can fix that using “Resolve as…” on defclone and choosing to resolve it as def: see https://cursive-ide.com/userguide/macros.html

👍 4
cfleming03:12:39

@todo Window-&gt;Editor Tabs-&gt;Close Others

cfleming03:12:45

@ingesol Settings-&gt;Editor-&gt;Code Style-&gt;Clojure-&gt;General-&gt;One space list indent

ingesol07:12:05

@cfleming I do have that one checked. Still seeing 2 spaces inserted, like this:

cfleming20:12:57

Do you also have “Default to Only Indent” selected?

ingesol20:12:01

Yes, I did. That fixed it, thanks 🙂

cfleming03:12:32

@hlship Sorry, I’m planning to fix that for the next build. Users have reported that previous Cursive versions didn’t have that problem - I can’t think of anything that would cause that to happen, and suspect that it was in fact an earlier version of clj-pdf, particularly since that issue has only come up recently.

cfleming03:12:08

@christopher.paul That should work, but Cursive needs one example to work from. Once you’ve added one, then that namespace should work from then on.

cfleming03:12:56

@robert.mather.rmm So not yet, for boring internal IntelliJ reasons logging is difficult from the deps.edn sync process. I’m going to fix that for the next build. In the meantime, have you confirmed that the path to the clojure command is correct under Settings-&gt;Build, Execution, Deployment-&gt;Build Tools-&gt;Clojure Deps? The validation for that is currently bad and that has caused a lot of confusion.

ro603:12:47

Ok. I went through all the steps people recommended, but ultimately it wasn't solved until we blew away the .idea directory and started over. We have some of the .idea files checked into Git, so I'm assuming something in there prevented the sync from working. It may be we just need to improve our .gitignore...

ro603:12:47

Ok. I went through all the steps people recommended, but ultimately it wasn't solved until we blew away the .idea directory and started over. We have some of the .idea files checked into Git, so I'm assuming something in there prevented the sync from working. It may be we just need to improve our .gitignore...

cfleming03:12:41

@robert.mather.rmm Thanks for the report, that is really weird. I can’t think of anything that would cause that.

ro603:12:27

Once I merge in this new dev's changes maybe it will become apparent what differed.

cfleming03:12:40

I’d love to know more if you do figure it out.

👍 4
cfleming20:12:49

@todo re: your question in #clojurescript, I’m not sure - I’d check the source code of Window-&gt;Editor Tabs-&gt;Close Others

koala punch22:12:02

@cfleming it doesn’t every let me autoimport my own namespaces

koala punch22:12:05

just external ones

koala punch22:12:24

it’s not a deal breaker, but it is a little frustrating

cfleming22:12:35

@christopher.paul Can you describe in more detail what you’re doing that isn’t working, so I can check that what you think should happen is what should actually happen? If not, I can indicate how it should work.

koala punch23:12:49

so i created some namespaces in my project

koala punch23:12:25

he’s fixed it for me 🙂