holgerbrandl
12/03/2021, 7:38 AMedwinRNDR
12/09/2021, 12:46 PMRob Elliot
12/09/2021, 3:01 PMMichael Böiers
12/09/2021, 7:09 PMRichard Gomez
12/10/2021, 4:53 AMhfhbd
12/13/2021, 12:11 PMnapperley
12/15/2021, 12:10 AMholgerbrandl
12/15/2021, 7:47 AMfun myIf(condition: Boolean, block: () -> Any) {
block()
}
fun main() {
if (true) {
println("foo")
}
myIf(true) {
println("bar")
}
}
And yes, I know how to change the default. But I'd rather like to see consistency in the formatting, and would love to upvote some kepp/tickeet to change the default.Miguel Vargas
12/15/2021, 5:51 PMCanBeParameter
inspection annoying. That’s the one that warns when you can remove val
from a constructor param. As I move code around in a class I’m having to arbitrarily change wether I need val
or not. But as far as I can tell there is no benefit for private vals. Before I disable the inspection i’m wondering what am I missing?jwass
12/17/2021, 12:47 PMColton Idle
12/19/2021, 5:12 PMVitali Plagov
12/21/2021, 7:19 PMMrNiamh
12/27/2021, 9:24 AMVitali Plagov
12/28/2021, 3:49 PMfun foo(a: Int, b: String, c: Boolean) = /*...*/
fun bar(a: Int, b: String, c: Boolean) {
/* some work */
foo( // I press the ctrl+space here to show the code completion. Ideally would be to give an option to pass it to foo() all arguments of the bar()
}
Ayfri
12/30/2021, 12:53 AMAyfri
01/03/2022, 7:58 AMmbonnin
01/03/2022, 5:47 PMColton Idle
01/04/2022, 10:04 PM/**
*
*/
I want it to auto fill the param namesAyfri
01/05/2022, 11:14 AMscarf
01/13/2022, 7:59 AMColton Idle
01/14/2022, 12:52 PMrrva
01/17/2022, 6:01 PMleandro
01/18/2022, 3:56 PMianbrandt
01/19/2022, 1:21 AMSourabh Rawat
01/23/2022, 2:02 PMwasyl
01/23/2022, 3:45 PMBuildMain
is started with JDK 11, the rest with JDK 17) and I wonder what might be affected
(It’s on Android Studio so I need to check where to report this mismatch)Draget
01/24/2022, 9:24 PMKlitos Kyriacou
01/25/2022, 10:14 AMprintln('a');println('b')
outputs ab
instead of separate lines. Is this a known issue?kevin.cianfarini
01/25/2022, 3:11 PMColton Idle
01/25/2022, 7:44 PM