https://kotlinlang.org logo
#ktor
Title
a

Albert

12/18/2018, 1:38 PM
I try to use ktor-client from https://ktor.io/clients/http-client.html The weird thing with ktor
1.0.1
val client = HttpClient(Apache)
the
HttpClient
lights up red in IntelliJ, without a description what is going on. Anyone else experienced this? It compiles fine and I can execute it.
j

jimschubert

12/18/2018, 5:12 PM
When this kind of thing happens to me in IntelliJ, it can sometimes help to invalidate caches and restart.
r

rocketraman

12/18/2018, 6:21 PM
Same issue here... I've found IJ to have become a lot buggier over the last few versions. I still love it but what can you do. Yes, usually invalidate cache fixes this kind of problem.
But, interestingly, invalidate caches did not fix this issue for me...
z

zpearce

12/18/2018, 6:30 PM
Also happens to me... and invalidate/restart also did not help
a

Albert

12/19/2018, 9:23 AM
The only thing I see changed are the
@HttpClientDsl
on the
HttpClient
functions. Probably IJ can not handle that properly.
6 Views