| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
In concept I like this change, but it is a lot. There's several merges here, can you rebase your branch to get a clean set of commits in this PR? |
Sorry, something went wrong.
|
Much nicer, thanks. |
Sorry, something went wrong.
There was a problem hiding this comment.
I'm concerned about handling of CancellationException, but I haven't looked deeply enough into this PR yet, will do so when I get the time.
Sorry, something went wrong.
|
|
||
| class AdventurePresentationProvider : LibraryPresentationProvider<DummyLibraryProperties>(ADVENTURE_LIBRARY_KIND) { | ||
| override fun getIcon(properties: DummyLibraryProperties?) = PlatformAssets.ADVENTURE_ICON | ||
| class AdventureLibraryDetector : MinecraftLibraryDetector { |
There was a problem hiding this comment.
All of these classes were renamed to *LibraryDetector, but the file name is still *PresentationProvider. The file name should match in this case.
Sorry, something went wrong.
| import com.intellij.psi.JavaPsiFacade | ||
| import com.intellij.psi.search.FilenameIndex | ||
| import com.intellij.psi.search.GlobalSearchScope | ||
| import java.util.* |
There was a problem hiding this comment.
No wildcard imports please.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
A performance improvement.
Use cases of LibraryPresentationProvider by the IDE itself only matches the jar name by regex, proving that they are not intended for file iterations.
Framework kind are useless when the index is not ready.
All tests passed.
closes #2475