Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for navigation (0.16 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtensionNavigationTargetsProvider.kt

        /**
         * Provides a [PsiElement] which will be opened on a navigation request for [element].
         *
         * Usually returns a single result. Might return an empty collection if there is no navigation target.
         * Also, might multiple targets in a case of ambiguity or multiple targets for a [symbol]
         *
         * Returned [PsiElement] will be used as a navigation target inside the IDE.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeUtils.kt

     *
     * A common pattern is to prefer the abbreviated type if it exists, and otherwise take the original type, for example to find the best
     * target for navigation.
     */
    public val KaType.abbreviatedTypeOrSelf: KaType
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/projectStructure/KotlinAnchorModuleProvider.kt

    import org.jetbrains.kotlin.analysis.project.structure.KtSourceModule
    
    /**
     * [KotlinAnchorModuleProvider] provides modules which contain dependencies of libraries.
     *
     * In the IJ monorepo, anchor modules are required for navigation from Kotlin compiler library sources to IJ platform sources. The Kotlin
     * compiler depends on the IJ platform, but this dependency is not represented as JARs in the monorepo, but rather by certain monorepo
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt

        type: KaType,
        isSafeNavigation: Boolean,
        override val token: KaLifetimeToken,
    ) : KaReceiverValue() {
        public val expression: KtExpression by validityAsserted(expression)
    
        /**
         * Whether safe navigation is used on this receiver. For example
         * ```
         * fun test(s1: String?, s2: String) {
         *   s1?.length // explicit receiver `s1` has `isSafeNavigation = true`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtResolveExtensionInfoProvider.kt

            get() = withValidityAssertion {
                containingKtFile.virtualFile?.isResolveExtensionFile ?: false
            }
    
        /**
         * Returns the [PsiElement]s which should be used as a navigation target in place of this [KtElement]
         * provided by a [KaResolveExtension].
         *
         * These [PsiElement]s will typically be the source item(s) that caused the given [KtElement] to be generated
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolveExtensionInfoProvider/AbstractResolveExtensionInfoProviderTest.kt

                appendLine("From resolve extension: $isResolveExtensionFile")
    
                val navTargets = ktElement.getResolveExtensionNavigationElements()
                appendLine("Resolve extension navigation targets: ${navTargets.size}")
                withIndent { navTargets.forEach { appendLine(it.toString()) } }
            }
        }.trimEnd()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/resolve/extensions/KtResolveExtensionForTest.kt

    }
    
    class KtResolveExtensionNavigationTargetPsiElementForTest(val originalElement: KtElement) : PsiElement by originalElement {
        override fun toString() = "[Resolve extension navigation target for test for ${originalElement.getDescription()}]"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. ChangeLog.md

    - [`KT-65152`](https://youtrack.jetbrains.com/issue/KT-65152) Analysis API: KDoc references to packages are not fully resolved
    - [`KT-64988`](https://youtrack.jetbrains.com/issue/KT-64988) K2 IDE: Navigation from the named argument in safe call does not work
    - [`KT-63195`](https://youtrack.jetbrains.com/issue/KT-63195) AA: incorrect results from `KtTypeProvider#getReceiverTypeForDoubleColonExpression`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
Back to top