Fork me on GitHub
#cursive
<
2016-06-08
>
henryw37409:06:31

I have el capitan, latest 1.3 eap and intellij 2016.1.3. the earlier eap 1.3 seemed ok but I intellij is now freezing and on startup i get no panels (ie just blank windows). i can use keys to open settings, but that’s about all. no error msgs i can see

henryw37409:06:55

but… this didnt happen straight away… was using it for some while before it froze

stijn11:06:38

@cfleming: is there somewhere a list of (IntelliJ) refactorings that Cursive supports?

cfleming11:06:20

@stijn: Not that I know of. The list is pretty short, sadly - introduce binding, inline binding, and rename. That’s all the classical refactorings, but some of the paredit stuff might count too (thread/unthread etc), and some of the intention stuff to (create function from use)

stijn11:06:47

rename on package/namespace?

cfleming11:06:26

Yes, but only on the last segment, because anything else is actually a move.

cfleming11:06:25

Which is next on my list to implement.

stijn11:06:34

I was doing a rename package and then search/replace namespaced identifiers/keywords

stijn11:06:45

maybe I was doing it wrong 🙂

cfleming11:06:11

@wasser: I can’t think of anything that should cause that. I’m not sure what the plugin issue is, unfortunately I no longer control the repo since I’m now using JetBrains’ one.

cfleming11:06:44

@wasser: Does this REPL issue happen on all projects?

rodeorockstar12:06:55

has anyone else experienced indentation problems when using cursive + clojure pretty symbols?

rodeorockstar12:06:26

active-networks stays indented as though "let" isn't a symbol

sashton15:06:22

@cfleming @hlship: With regards to indentation differences between Emacs and Cursive (https://clojurians.slack.com/archives/cursive/p1465252874000027), here is one case that I can't figure out how to handle right now. According to this style guide (https://github.com/bbatsov/clojure-style-guide), macros with body params should be indented with 2 spaces, while other macros/functions should use 1 space. https://github.com/bbatsov/clojure-style-guide#body-indentation https://github.com/bbatsov/clojure-style-guide#one-space-indent

sashton15:06:57

I can only seem to get Cursive to either do 2 everywhere or 1 everywhere, using One space list indent

sashton15:06:49

Here is an example formatted with Emacs:

(defmacro with-body [body]
  body)

(with-body
  (str         ; should be indented 2
   "hello"     ; should be indented 1
   "world"))

wasser15:06:57

@cfleming yes. Even in projects that were working properly. New projects are the same. I can set the host and port, click apply/ok and it looks good. But as soon at I either try the repl or reopen the Config for it those fields are blank.

wasser15:06:04

@cfleming I uninstalled cursive and tried installing again. Same thing. Next it to reinstall intelli-j (goodbye customizations) and see what happens.