apple / pkl-intellij

JetBrains editor plugins providing Pkl language support
https://pkl-lang.org/intellij/current/index.html
Apache License 2.0
49 stars 10 forks source link

Don't check for missing package sources in banner provider #46

Closed bioball closed 1 month ago

bioball commented 1 month ago

The getLibraryRoots() call can be expensive, and can be a cause of slowdown when viewing a file.

Currently, we use this method call within PklSyncProjectNotificationProvider, which is queried for every Pkl module.

This has resulted in warnings from IntelliJ about a slow operation that is being run in the UI thread.

Solution: