Fork me on GitHub
#cursive
<
2015-11-07
>
stijn08:11:08

hi @cfleming: is it intended that when you type the name of a protocol e.g. TestProtocol and let cursive do an auto-fix on the unresolved symbol that it generates

(:import (some.namespace TestProtocol))
instead of
(:require [some.namespace TestProtocol])

stijn08:11:23

the former will import the interface instead

colin.yates19:11:30

@snowell: it’s called “talking to the duck” http://www.rubberduckdebugging.com simple_smile

cfleming21:11:40

@stijn: No, there’s an issue about that I believe.

stijn21:11:47

@cfleming: ok, I searched for it, but couldn't find it

colin.yates21:11:34

@cfleming: ha - when I worked for SpringSource (actually before they became SpringSource and were still called interface21) we discussed building a ‘consultant in a box’ which eventually turned into the Eclipse Tooling. Thanks for bringing back that nightmare simple_smile.

colin.yates21:11:10

actually - that does remind me pleasantly of the inbuilt code inspections that IntelliJ offers - they do know how to do tooling, at least on the surface. Maybe Colin could talk about what it’s like behind the scenes….