andylamax
08/05/2022, 5:25 AMNorbi
08/07/2022, 2:03 PMKlitos Kyriacou
08/10/2022, 10:44 AMDateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ")
an IntelliJ inspection tells me I have a typo in "dd'T'" and in "SSSZ". Is there a way to turn this off? Ideally, IntelliJ ought to be intelligent enough to detect that this string is not written in English, but instead should check that it's a valid pattern for DateTimeFormatter.Kuba Petržílka
08/10/2022, 4:18 PM@FunctionalInterface
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {
void onApplicationEvent(E event);
static <T> ApplicationListener<PayloadApplicationEvent<T>> forPayload(Consumer<T> consumer) {
return event -> consumer.accept(event.getPayload());
}
}
Claude Brisson
08/12/2022, 9:35 AMrrva
08/15/2022, 10:07 AMsteamstreet
08/15/2022, 5:17 PMEllen Spertus
08/17/2022, 7:34 PMsreich
08/18/2022, 6:23 PMGillian Buijs
08/19/2022, 8:03 AMExecution failed for task ':lib:klutter-jetbrains:buildSearchableOptions'.
> Process 'command '/Users/thisidiot/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/jbr_jcef-11_0_14_1-osx-x64-b2043.45/extracted/jbr/Contents/Home/bin/java'' finished with non-zero exit value 3
stacktrace:
SEVERE - #c.i.i.p.PluginManager - Current thread: Thread[AWT-EventQueue-1,6,main]; expected: Thread[AWT-EventQueue-0,6,]
java.lang.IllegalStateException: Current thread: Thread[AWT-EventQueue-1,6,main]; expected: Thread[AWT-EventQueue-0,6,]
at com.intellij.openapi.application.impl.ReadMostlyRWLock.checkWriteThreadAccess(ReadMostlyRWLock.java:287)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.writeIntentLock(ReadMostlyRWLock.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.acquireWriteIntentLock(ApplicationImpl.java:944)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$new$2(ApplicationImpl.java:181)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:393)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)Alexey Belkov [JB]
08/19/2022, 10:44 AMRoland Ringgenberg
08/19/2022, 7:40 PMMahmoud Ahmed
08/20/2022, 4:41 AMPedro Henrique
08/20/2022, 10:06 PMPedro Henrique
08/20/2022, 10:07 PMPedro Henrique
08/21/2022, 12:05 AMXiang Rong LIn
08/25/2022, 12:03 PMKlitos Kyriacou
08/25/2022, 3:56 PMKlitos Kyriacou
08/26/2022, 2:49 PMelse
case. Put a case 4 ->
before the else
and you'll see the suggestion for a blank line before 4 ->
.
See the guideline in https://kotlinlang.org/docs/coding-conventions.html#control-flow-statements: "In a when
statement, if a branch is more than a single line, consider separating it from adjacent case blocks with a blank line"andylamax
08/27/2022, 10:20 PMthana
08/30/2022, 3:29 PMGavin Ray
08/31/2022, 7:08 PMRearrange code
integration for Kotlin by default in IDEA Ultimate?
(The setting doesn't seem to work for me)
Does anyone know if the Detekt/Ktlint plugins can do this, if not?mbonnin
09/01/2022, 8:32 AMEllen Spertus
09/03/2022, 12:33 AMJames Richardson
09/07/2022, 10:53 AMSam
09/08/2022, 9:06 AM@Throws
, which is an actual typealias
and ends up with the same weird highlighting as a resultAdam Brown
09/12/2022, 1:44 AMModule: 'android' platform 'android-32' not found.
And that platform is definitely installed.Lukellmann
09/13/2022, 12:37 AM[DEPRECATION_ERROR]
in this case). How can I enable this?
https://media.discordapp.net/attachments/705391960785158164/999092837771640962/unknown.png?width=1440&height=153
I only get something like this:
https://media.discordapp.net/attachments/705391960785158164/999093301338718208/unknown.png▾
@Suppress
seems to work for some errors too, but I would need to know the name for them to suppress them.Grouvie
09/13/2022, 3:23 PMDmitriy Malayev
09/15/2022, 7:50 AMDmitriy Malayev
09/15/2022, 7:50 AM