idea-plugin / arrow.meta.ide.plugins.quotes.system

Package arrow.meta.ide.plugins.quotes.system

Types

CacheStrategy complements the quote service with a cache strategy It aggregates the configs of caching quote transformationsinterface CacheStrategy
QuoteSystemService Whereas the QuoteCache persists quote transformations, the QuoteSystemService is responsible for transforming KtFiles under a given context.interface QuoteSystemService

Functions

cacheStrategy The default strategy resets the quote cache and uses the DumbProgressIndicatorfun cacheStrategy(resetCache: Boolean = true, indicator: ProgressIndicator = DumbProgressIndicator.INSTANCE): CacheStrategy
refreshCache transforms and updates files and repopulates the cache based on the strategy and their extensions. The transformations are executed in the background to avoid blocking the IDE.fun <P : KtElement, K : KtElement, S : Scope<K>> QuoteSystemService.refreshCache(cache: QuoteCache, project: Project, files: List<KtFile>, extensions: List<QuoteDefinition<P, K, S>>, strategy: CacheStrategy): Unit
transform transforms all files with registered extensions for a given projectfun <P : KtElement, K : KtElement, S : Scope<K>> QuoteSystemService.transform(project: Project, files: List<KtFile>, extensions: List<QuoteDefinition<P, K, S>>): List<Pair<KtFile, KtFile>>

Do you like Arrow?

Arrow Org
<