intellij-powershell icon indicating copy to clipboard operation
intellij-powershell copied to clipboard

Replace `createInfoAnnotation` by `newAnnotation().create()`

Open Vampire opened this issue 3 years ago • 0 comments

I just installed your plugin and now the IntelliJ log is flooded with warning messages like

2022-06-15 18:30:58,157 [5828953] WARN - emon.impl.AnnotationHolderImpl - Exception 'com.intellij.diagnostic.PluginException: 'AnnotationHolder.createInfoAnnotation()' method (the call to which was found in class com.intellij.plugin.powershell.lang.PowerShellAnnotator) is slow, non-incremental and thus can cause unexpected behaviour (e.g. annoying blinking), is deprecated and will be removed soon. Please use newAnnotation().create() instead [Plugin: com.intellij.plugin.adernov.powershell]' was reported 320 times

Vampire avatar Jun 15 '22 16:06 Vampire