https://kotlinlang.org logo
#kontributors
Title
# kontributors
g

Grzegorz Gołda

02/18/2018, 11:31 PM
and in constructor,
myWritingAllowed = SwingUtilities.isEventDispatchThread()
Debugging it as IDEA plugin shows me it is indeed the case -
TransactionGuardImpl
is created with
myWritingAllowed == true
, while running it from command line has
myWritingAllowed == false
.
Is there any way I can write a plugin (non-invasively, i.e. without modifying any part of the compiler) that won't fail in such a case?