From 6aa203814a20cc497f6ac20c5643691e4457cf1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yann=20C=C3=A9bron?=
* Please note: annotators are executed in arbitrary order.
*
diff --git a/platform/core-api/src/com/intellij/openapi/application/Application.java b/platform/core-api/src/com/intellij/openapi/application/Application.java
index a66d27c081c7..bd00ea6e7381 100644
--- a/platform/core-api/src/com/intellij/openapi/application/Application.java
+++ b/platform/core-api/src/com/intellij/openapi/application/Application.java
@@ -50,7 +50,7 @@ import java.util.concurrent.Future;
*
* If there are read actions running at this moment {@code runWriteAction} is blocked until they are completed.
*
- * See also General Threading Rules.
+ * See also General Threading Rules.
*/
public interface Application extends ComponentManager {
diff --git a/platform/core-api/src/com/intellij/openapi/module/ModuleServiceManager.java b/platform/core-api/src/com/intellij/openapi/module/ModuleServiceManager.java
index f2a962103815..73a179f03c6f 100644
--- a/platform/core-api/src/com/intellij/openapi/module/ModuleServiceManager.java
+++ b/platform/core-api/src/com/intellij/openapi/module/ModuleServiceManager.java
@@ -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 other kinds of services
+ * @deprecated do not use module services, use other kinds of services
* instead
*/
@Deprecated
diff --git a/platform/core-api/src/com/intellij/psi/FileViewProvider.java b/platform/core-api/src/com/intellij/psi/FileViewProvider.java
index 75ddd0a1e5d6..916bf6da1d0d 100644
--- a/platform/core-api/src/com/intellij/psi/FileViewProvider.java
+++ b/platform/core-api/src/com/intellij/psi/FileViewProvider.java
@@ -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;
*
* The result is only valid inside read action because the application/project/module can be disposed at any moment.
- * (see more details on read actions)
+ * (see more details on read actions)
*/
boolean isDisposed();
diff --git a/platform/extensions/src/com/intellij/openapi/extensions/ExtensionPointName.kt b/platform/extensions/src/com/intellij/openapi/extensions/ExtensionPointName.kt
index 9dda0c3ded70..ee9e0e22a752 100644
--- a/platform/extensions/src/com/intellij/openapi/extensions/ExtensionPointName.kt
+++ b/platform/extensions/src/com/intellij/openapi/extensions/ExtensionPointName.kt
@@ -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.
diff --git a/platform/extensions/src/com/intellij/util/messages/MessageBus.kt b/platform/extensions/src/com/intellij/util/messages/MessageBus.kt
index 21050fd3a3f3..3b7f1fe6c819 100644
--- a/platform/extensions/src/com/intellij/util/messages/MessageBus.kt
+++ b/platform/extensions/src/com/intellij/util/messages/MessageBus.kt
@@ -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 {
/**
diff --git a/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowFactory.kt b/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowFactory.kt
index 4c5f610f7b55..451102caa7bb 100644
--- a/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowFactory.kt
+++ b/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowFactory.kt
@@ -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 {
diff --git a/platform/platform-impl/src/com/intellij/ide/ui/UIThemeMetadataProvider.java b/platform/platform-impl/src/com/intellij/ide/ui/UIThemeMetadataProvider.java
index 9d543c2455ff..8f600cd7bcfb 100644
--- a/platform/platform-impl/src/com/intellij/ide/ui/UIThemeMetadataProvider.java
+++ b/platform/platform-impl/src/com/intellij/ide/ui/UIThemeMetadataProvider.java
@@ -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 Exposing Theme Metadata.
+ * See Exposing Theme Metadata.
*/
public final class UIThemeMetadataProvider implements PluginAware {
private PluginDescriptor pluginDescriptor;
diff --git a/platform/service-container/overview.md b/platform/service-container/overview.md
index 36d53496f90c..44994b207bb7 100644
--- a/platform/service-container/overview.md
+++ b/platform/service-container/overview.md
@@ -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
diff --git a/platform/util/base/src/com/intellij/openapi/progress/ProcessCanceledException.java b/platform/util/base/src/com/intellij/openapi/progress/ProcessCanceledException.java
index e96e8f4c0526..070760806cfb 100644
--- a/platform/util/base/src/com/intellij/openapi/progress/ProcessCanceledException.java
+++ b/platform/util/base/src/com/intellij/openapi/progress/ProcessCanceledException.java
@@ -18,7 +18,7 @@ import org.jetbrains.annotations.Nullable;
*
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.
*- * See Disposer and Disposable in SDK Docs. + * @see Disposer and Disposable in SDK Docs. * @see Disposable */ public final class Disposer { diff --git a/plugins/kotlin/CONTRIBUTING.md b/plugins/kotlin/CONTRIBUTING.md index c870308aa0d0..591b0d7fabc2 100644 --- a/plugins/kotlin/CONTRIBUTING.md +++ b/plugins/kotlin/CONTRIBUTING.md @@ -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.