mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
[docs] update links to IntelliJ Platform SDK Docs
GitOrigin-RevId: 543b8a02e71e543f97d263a0de4df41e196ff5a0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c44138ebe8
commit
6aa203814a
@@ -11,7 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
* DO NOT STORE any state inside annotator.
|
||||
* If you absolutely must, clear the state upon exit from the {@link #annotate(PsiElement, AnnotationHolder)} method.
|
||||
* <p/>
|
||||
* See <a href="https://www.jetbrains.org/intellij/sdk/docs/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.html#annotator">Syntax Highlighting and Error Highlighting</a> for an overview.
|
||||
* See <a href="https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html#annotator">Syntax Highlighting and Error Highlighting</a> for an overview.
|
||||
* <p>
|
||||
* Please note: annotators are executed in arbitrary order.
|
||||
* <p>
|
||||
|
||||
@@ -50,7 +50,7 @@ import java.util.concurrent.Future;
|
||||
* <p>
|
||||
* If there are read actions running at this moment {@code runWriteAction} is blocked until they are completed.
|
||||
* <p>
|
||||
* See also <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/general_threading_rules.html">General Threading Rules</a>.
|
||||
* See also <a href="https://plugins.jetbrains.com/docs/intellij/general-threading-rules.html">General Threading Rules</a>.
|
||||
*/
|
||||
public interface Application extends ComponentManager {
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.module;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @deprecated do not use module services, use <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_services.html">other kinds of services</a>
|
||||
* @deprecated do not use module services, use <a href="https://plugins.jetbrains.com/docs/intellij/plugin-services.html">other kinds of services</a>
|
||||
* instead
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.psi;
|
||||
|
||||
import com.intellij.lang.Language;
|
||||
@@ -18,7 +18,7 @@ import java.util.Set;
|
||||
* <p/>
|
||||
* Custom providers are registered via {@link FileViewProviderFactory}.
|
||||
* <p/>
|
||||
* Please see <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/file_view_providers.html">File View Providers</a>
|
||||
* Please see <a href="https://plugins.jetbrains.com/docs/intellij/file-view-providers.html">File View Providers</a>
|
||||
* for high-level overview.
|
||||
*
|
||||
* @see PsiFile#getViewProvider()
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.jetbrains.annotations.ApiStatus
|
||||
import org.jetbrains.annotations.TestOnly
|
||||
import org.jetbrains.annotations.VisibleForTesting
|
||||
|
||||
// https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
|
||||
// https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html
|
||||
// If a plugin does not include any module dependency tags in its plugin.xml,
|
||||
// it's assumed to be a legacy plugin and is loaded only in IntelliJ IDEA.
|
||||
@ApiStatus.Internal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.components;
|
||||
|
||||
import com.intellij.diagnostic.ActivityCategory;
|
||||
@@ -66,7 +66,7 @@ public interface ComponentManager extends UserDataHolder, Disposable, AreaInstan
|
||||
* or is about to be disposed (e.g. the {@link com.intellij.openapi.project.impl.ProjectExImpl#dispose()} was called but not completed yet)
|
||||
* <br>
|
||||
* The result is only valid inside read action because the application/project/module can be disposed at any moment.
|
||||
* (see <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/general_threading_rules.html#readwrite-lock">more details on read actions</a>)
|
||||
* (see <a href="https://plugins.jetbrains.com/docs/intellij/general-threading-rules.html">more details on read actions</a>)
|
||||
*/
|
||||
boolean isDisposed();
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
@file:Suppress("DeprecatedCallableAddReplaceWith", "ReplaceGetOrSet")
|
||||
|
||||
package com.intellij.openapi.extensions
|
||||
@@ -30,7 +30,9 @@ import java.util.stream.Stream
|
||||
import kotlin.streams.asStream
|
||||
|
||||
/**
|
||||
* Provides access to an [extension point](https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_extension_points.html). Instances of this class can be safely stored in static final fields.
|
||||
* Provides access to an [extension point](https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html).
|
||||
*
|
||||
* Instances of this class can be safely stored in static final fields.
|
||||
*
|
||||
* For project-level and module-level extension points use [ProjectExtensionPointName] instead to make it evident that corresponding
|
||||
* [AreaInstance] must be passed.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.messages
|
||||
|
||||
import com.intellij.openapi.Disposable
|
||||
@@ -12,8 +12,8 @@ import org.jetbrains.annotations.ApiStatus.Internal
|
||||
*
|
||||
* Use [com.intellij.openapi.components.ComponentManager.getMessageBus] to obtain one.
|
||||
*
|
||||
* Please see [Messaging Infrastructure](https://www.jetbrains.org/intellij/sdk/docs/reference_guide/messaging_infrastructure.html) and
|
||||
* [Plugin Listeners](http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_listeners.html).
|
||||
* Please see [Messaging Infrastructure](https://plugins.jetbrains.com/docs/intellij/messaging-infrastructure.html) and
|
||||
* [Listeners](https://plugins.jetbrains.com/docs/intellij/plugin-listeners.html).
|
||||
*/
|
||||
interface MessageBus : Disposable {
|
||||
/**
|
||||
|
||||
@@ -13,7 +13,7 @@ import javax.swing.Icon
|
||||
*
|
||||
* For localizing the tool window stripe title, add key `toolwindow.stripe.yourToolWindowId.replace(" ", "_")` to plugin's resource bundle.
|
||||
*
|
||||
* See [Tool Windows](https://www.jetbrains.org/intellij/sdk/docs/user_interface_components/tool_windows.html) in SDK Docs.
|
||||
* See [Tool Windows](https://plugins.jetbrains.com/docs/intellij/tool-windows.html) in SDK Docs.
|
||||
*/
|
||||
interface ToolWindowFactory : PossiblyDumbAware {
|
||||
suspend fun isApplicableAsync(project: Project): Boolean {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.ide.ui;
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
@@ -14,7 +14,7 @@ import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Provides additional metadata for UI theme customization.
|
||||
* See <a href="https://www.jetbrains.org/intellij/sdk/docs/reference_guide/ui_themes/themes_metadata.html">Exposing Theme Metadata</a>.
|
||||
* See <a href="https://plugins.jetbrains.com/docs/intellij/themes-metadata.html">Exposing Theme Metadata</a>.
|
||||
*/
|
||||
public final class UIThemeMetadataProvider implements PluginAware {
|
||||
private PluginDescriptor pluginDescriptor;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
This document is a more like a draft, that will be finally moved to [IntelliJ Platform SDK](https://www.jetbrains.org/intellij/sdk/docs/welcome.html)
|
||||
This document is a more like a draft, that will be finally moved to [IntelliJ Platform SDK](https://plugins.jetbrains.com/docs/intellij)
|
||||
|
||||
## Service
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
* </p>
|
||||
*
|
||||
* @see com.intellij.openapi.progress.ProgressIndicator#checkCanceled()
|
||||
* @see <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/general_threading_rules.html">General Threading Rules</a>
|
||||
* @see <a href="https://plugins.jetbrains.com/docs/intellij/general-threading-rules.html">General Threading Rules</a>
|
||||
*/
|
||||
public class ProcessCanceledException extends RuntimeException implements ControlFlowException {
|
||||
public ProcessCanceledException() { }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi;
|
||||
|
||||
import com.intellij.openapi.util.Disposer;
|
||||
@@ -24,7 +24,7 @@ import com.intellij.openapi.util.Disposer;
|
||||
* that need to be cleaned up before your object.
|
||||
* </p>
|
||||
* @see com.intellij.openapi.util.CheckedDisposable
|
||||
* See <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/disposers.html">Disposer and Disposable</a> in SDK Docs.
|
||||
* @see <a href="https://plugins.jetbrains.com/docs/intellij/disposers.html">Disposer and Disposable</a> in SDK Docs.
|
||||
* @see Disposer
|
||||
*/
|
||||
@SuppressWarnings("InterfaceMayBeAnnotatedFunctional") // do not use lambda as a Disposable implementation, because each Disposable instance needs identity to be stored in Disposer hierarchy correctly
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.util;
|
||||
|
||||
import com.intellij.openapi.Disposable;
|
||||
@@ -13,7 +13,7 @@ import java.util.function.Predicate;
|
||||
* <p>A root node can be created via {@link #newDisposable()}, to which children are attached via subsequent calls to {@link #register(Disposable, Disposable)}.
|
||||
* Invoking {@link #dispose(Disposable)} will process all its registered children's {@link Disposable#dispose()} method.</p>
|
||||
* <p>
|
||||
* See <a href="https://www.jetbrains.org/intellij/sdk/docs/basics/disposers.html">Disposer and Disposable</a> in SDK Docs.
|
||||
* @see <a href="https://plugins.jetbrains.com/docs/intellij/disposers.html">Disposer and Disposable</a> in SDK Docs.
|
||||
* @see Disposable
|
||||
*/
|
||||
public final class Disposer {
|
||||
|
||||
@@ -70,7 +70,7 @@ You can find necessary information about how to write inspections, intentions an
|
||||
in the [Code Inspections](https://jetbrains.org/intellij/sdk/docs/tutorials/code_inspections.html) tutorial.
|
||||
|
||||
It's essential to know
|
||||
about [PSI](https://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/psi.html), the source code model used in IntelliJ IDEA.
|
||||
about [PSI](https://plugins.jetbrains.com/docs/intellij/psi.html), the source code model used in IntelliJ IDEA.
|
||||
To inspect PSI, you can use either the built-in [Psi Viewer](https://www.jetbrains.com/help/idea/psi-viewer.html) available
|
||||
in the "internal" mode, or an external plugin called [PsiViewer](https://plugins.jetbrains.com/plugin/227-psiviewer).
|
||||
For debugging purposes consider using `PsiTreeUtilsKt.printTree` function.
|
||||
|
||||
Reference in New Issue
Block a user