Dmitriy Malayev
09/15/2022, 7:50 AMLaurent Laborde
09/15/2022, 9:20 AMPeter
09/15/2022, 1:56 PMDmitry Kandalov
09/26/2022, 12:03 PMmbonnin
09/27/2022, 9:58 AMMichael de Kaste
09/29/2022, 1:10 PMinternal val myvariable: MyType
this breaks my code because internal visibility modifier wasn't initially there. I can't change this either I believe, or is there a setting I missed?mbonnin
10/04/2022, 2:38 PMbuild
folders from search results? I've browsed a bunch of stack overflow answers and the easiest way seems to be to add build
to the list of ignored folders. But this has a number of drawbacks like the fact that it seems to be a global and also more importantly removes build
from the project explorer completely so it's not possible to go in generated files for an example. How do you do this?Jan
10/05/2022, 10:35 AMPaul Griffith
10/06/2022, 4:54 PMmbonnin
10/07/2022, 12:44 PM.idea
binary format forward compatible? 😅wasyl
10/07/2022, 1:52 PMhfhbd
10/08/2022, 1:31 PMtrimIndent()
to trimMargin()
?Javier
10/13/2022, 2:56 PMCannot open Local Terminal
Failed to start [C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe]
Error starting winpty: agent executable does not exist: ...\winpty-agent.exe
wasyl
10/17/2022, 3:03 PMCamelHumps
words but fall back to default, non-camel-humps behavior as needed? My use case is that I often use multi-cursor to select stuff, and would like to be able to select e.g. all fields here:
class Foo(
val <|>id: String,
val <|>someComplexProp: Int,
val <|>otherProp: Unit,
)
with cursors at <|>
I can’t find an easy way to select all the properties. Sometimes extend selection
works as it’ll select single word first and whole identifier second, but that doesn’t work with identifiers that are just one word (like id
here).David Hu
10/19/2022, 5:42 PM..<
operator in IntelliJ and I have already added the opt in via @OptIn(ExperimentalStdlibApi::class)
but IntelliJ still produces this error:
The feature "range until operator" is only available since language version 1.8
how do I resolve it?Peter
10/21/2022, 8:02 AMhfhbd
10/21/2022, 7:17 PMandylamax
10/22/2022, 1:03 AMritesh
10/23/2022, 9:50 AMJan
10/24/2022, 6:09 PMzero_coding
10/27/2022, 11:40 AMAnouar di Kali
11/01/2022, 10:49 PMAlex Styl
11/03/2022, 7:52 AMKristian Nedrevold
11/06/2022, 6:35 PMKlitos Kyriacou
11/08/2022, 6:46 PMval x = ""
, it's underlined and on hovering it says "Ctrl+click to navigate in remote FS view". What is remote FS view?If I don't use it, how can I get rid of this distracting underline?Adam Brown
11/15/2022, 9:30 PMmzgreen
11/22/2022, 7:40 PMclass Foo
fun Foo.test() {
println("hello")
}
val x = Foo::test
x(Foo())
doesn’t work in an IntelliJ/AndroidStudio Kotlin scratch file? It shows: “‘test’ is a member and an extension at the same time. References to such elements are not allowed” error. But it works in Kotlin playground: https://pl.kotl.in/ubsrNwrCx ? Is this a bug?Davio
11/23/2022, 9:31 AMclass Test {
suspend fun test1() = test3<String>(::test2)
suspend fun test2() = withContext(<http://Dispatchers.IO|Dispatchers.IO>) { }
private suspend inline fun <reified T> test3(block: suspend () -> Unit): List<T> {
block.invoke()
return listOf()
}
}
IntelliJ suggests that I can remove the suspend keyword from the lambda parameter of test3, but if I remove it, it no longer compiles.
The reason IntelliJ gives is Redundant 'suspend' modifier: lambda parameters of suspend function type uses existing continuation.
Is this an error in IntelliJ or the compiler?nerses
11/23/2022, 12:12 PMwasyl
11/28/2022, 11:11 AMgo to class
dialog.
Is it possible to have a structural search inspection also apply this behavior in the go to class
dialog? Essentially I’d like a @MyDeprecated
class with structural search-based inspection, and I’d like classes annotated with it to be shown with strikethrough in the go to class
window as well