Files
openide/plugins/filePrediction/resources/META-INF/plugin.xml
Andrey Cherkasov 1a62d88764 Cleanup: use light services
^IDEA-254577

GitOrigin-RevId: 01afb3f2166f8713cd4599f37d43ecf7f4d2944c
2024-01-23 06:03:51 +00:00

56 lines
4.3 KiB
XML

<idea-plugin>
<id>com.jetbrains.filePrediction</id>
<name>Next File Prediction</name>
<vendor>JetBrains</vendor>
<resource-bundle>messages.FilePredictionBundle</resource-bundle>
<description><![CDATA[Predicts next file which will be open in IDE to start long running analysis and pre-load caches.]]></description>
<depends optional="true" config-file="file-prediction-java.xml">com.intellij.java</depends>
<depends optional="true" config-file="file-prediction-vcs.xml">Git4Idea</depends>
<extensionPoints>
<extensionPoint qualifiedName="com.intellij.filePrediction.candidateProvider" interface="com.intellij.filePrediction.candidates.FilePredictionCandidateProvider" dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.filePrediction.featureProvider" interface="com.intellij.filePrediction.features.FilePredictionFeatureProvider" dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.filePrediction.referencesProvider" interface="com.intellij.filePrediction.references.FileExternalReferencesProvider" dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.filePrediction.ml.model" interface="com.intellij.filePrediction.predictor.model.FilePredictionModelProvider" dynamic="true"/>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<notificationGroup id="NextFilePrediction" displayType="BALLOON" bundle="messages.FilePredictionBundle" key="file.prediction.notification.group"/>
<registryKey key="filePrediction.calculate.features" defaultValue="true" description="Record opened files features to predict which file will be opened next and pre-load caches."/>
<registryKey key="filePrediction.calculate.candidates.percent" defaultValue="1.0" description="Defines percentage of opened files for which next candidates will be calculated."/>
<registryKey key="filePrediction.action.calculate.candidates" defaultValue="50" description="Number of candidates used to predict next file in 'Show Next File Candidates' action."/>
<registryKey key="filePrediction.action.show.candidates" defaultValue="10" description="Number of next file candidates to show in 'Show Next File Candidates' action."/>
<registryKey key="filePrediction.highlighting.cache.enabled" defaultValue="true" description="Enables highlighting cache for predicted next open files."/>
<statistics.counterUsagesCollector implementationClass="com.intellij.filePrediction.logger.FileNavigationLogger"/>
<statistics.validation.customValidationRule implementation="com.intellij.filePrediction.logger.FilePredictionFeaturesValidator"/>
<filePrediction.candidateProvider implementation="com.intellij.filePrediction.candidates.FilePredictionReferenceProvider"/>
<filePrediction.candidateProvider implementation="com.intellij.filePrediction.candidates.FilePredictionNeighborFilesProvider"/>
<filePrediction.candidateProvider implementation="com.intellij.filePrediction.candidates.FilePredictionRecentFilesProvider"/>
<filePrediction.candidateProvider implementation="com.intellij.filePrediction.candidates.FilePredictionRecentSessionsProvider"/>
<filePrediction.featureProvider implementation="com.intellij.filePrediction.features.FilePredictionGeneralFeatures"/>
<filePrediction.featureProvider implementation="com.intellij.filePrediction.features.FilePredictionSimilarityFeatures"/>
<filePrediction.featureProvider implementation="com.intellij.filePrediction.features.history.FilePredictionHistoryFeatures"/>
<filePrediction.featureProvider implementation="com.intellij.filePrediction.features.history.context.FilePredictionContextFeatures"/>
<filePrediction.ml.model implementation="com.intellij.filePrediction.predictor.model.FilePredictionMLModelProvider"/>
</extensions>
<projectListeners>
<listener class="com.intellij.filePrediction.FilePredictionEditorManagerListener" topic="com.intellij.openapi.fileEditor.FileEditorManagerListener"/>
</projectListeners>
<applicationListeners>
<listener class="com.intellij.filePrediction.features.history.FilePredictionProjectListener" topic="com.intellij.openapi.project.ProjectCloseListener"/>
</applicationListeners>
<actions>
<action internal="true" id="PredictNextFileCandidates"
class="com.intellij.filePrediction.actions.FilePredictionNextCandidatesAction"/>
</actions>
</idea-plugin>