intellij-powershell
intellij-powershell copied to clipboard
Replace `createInfoAnnotation` by `newAnnotation().create()`
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