[docs] update/cleanup URLs to IntelliJ Platform SDK docs

GitOrigin-RevId: 0c8f39ed84ff1375617613c5a7b68d4073efbc4c
This commit is contained in:
Yann Cébron
2024-04-18 18:17:58 +02:00
committed by intellij-monorepo-bot
parent 9a776b0a87
commit 2338c10c80
39 changed files with 70 additions and 84 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2018 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. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.compiler;
import com.intellij.openapi.extensions.ProjectExtensionPointName;
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Base interface for a custom compiler which participates in the build process and should be executed inside the IDE process.
* @deprecated since IDEA 15 compilers need to be executed inside a separate (external) build process, see
* <a href="http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html">this guide</a>
* <a href="https://plugins.jetbrains.com/docs/intellij/external-builder-api.html">this guide</a>
* for details. If you need to run some code inside the IDE process before the external build process starts or after it finishes, use
* {@link CompileTask} extension point instead. Implementations of this class aren't used by the IDE (except those which implement
* {@link Validator} or {@link SourceInstrumentingCompiler}).

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2024 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package com.intellij.openapi.compiler;
/**
* @deprecated this interface is a part of the obsolete build system which runs as part of the IDE process. Since IDEA 12 plugins need to
* integrate into 'external build system' instead (http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html).
* integrate into 'external build system' instead (<a href="https://plugins.jetbrains.com/docs/intellij/external-builder-api.html">guide</a>).
* Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
*/
@Deprecated(forRemoval = true)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2024 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.jetbrains.annotations.Nullable;
* and should be executed inside the IDE process.
*
* @deprecated starting from IDEA 15 compilers need to be executed inside a separate (external) build process, see
* <a href="http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html">this guide</a>
* <a href="https://plugins.jetbrains.com/docs/intellij/external-builder-api.html">this guide</a>
* for details. Implementations of this class aren't used by the IDE (except those which implement {@link Validator} or {@link SourceInstrumentingCompiler}).
*/
@Deprecated

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2024 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@ package com.intellij.openapi.compiler;
/**
* An interface for compilers which instrument some sources before the compilation starts. Note that it's better to perform compilation-related
* tasks inside inside a separate (external) build process, see
* <a href="http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html">this guide</a>
* <a href="https://plugins.jetbrains.com/docs/intellij/external-builder-api.html">this guide</a>
* for details. If you really need to perform the instrumentation inside the IDE process (e.g. because it operates on PSI structures),
* implement this interface and register the implementation in plugin.xml:
* <pre>

View File

@@ -1,7 +1,7 @@
// Copyright 2000-2018 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. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
/**
* API and implementation of the external build process.
* @see <a href="http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html">High-level overview of external build process API</a>
* @see <a href="https://plugins.jetbrains.com/docs/intellij/external-builder-api.html">High-level overview of external build process API</a>
*/
package org.jetbrains.jps.builders;

View File

@@ -1,5 +1,5 @@
<!--
~ Copyright 2000-2007 JetBrains s.r.o.
~ Copyright 2000-2024 JetBrains s.r.o.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
@@ -17,5 +17,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><body bgcolor="white">
Provides interfaces for registering and implementing code inspections.
See <a href="http://www.jetbrains.org/intellij/sdk/docs/tutorials/code_inspections.html">Code Inspections Tutorial</a> (SDK Docs).
See <a href="https://plugins.jetbrains.com/docs/intellij/code-inspections.html">Code Inspections Tutorial</a> (SDK Docs).
</body></html>

View File

@@ -147,7 +147,7 @@ private class BuildNumber(private val productCode: String, private val component
return code.toIntOrNull() ?: throw RuntimeException("Invalid version number: $version; plugin name: $pluginName")
}
// http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html
// https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
private fun getBaseLineForHistoricBuilds(bn: Int): Int {
if (bn >= 10000) return 88 // Maia, 9x builds
if (bn >= 9500) return 85 // 8.1 builds

View File

@@ -601,7 +601,7 @@ public interface Application extends ComponentManager {
/**
* Checks if IDE is running in
* <a href="http://www.jetbrains.org/intellij/sdk/docs/reference_guide/internal_actions/enabling_internal.html">Internal Mode</a>
* <a href="https://plugins.jetbrains.com/docs/intellij/enabling-internal.html">Internal Mode</a>
* to enable additional features for plugin development.
*/
boolean isInternal();

View File

@@ -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.application;
import com.intellij.openapi.progress.ProcessCanceledException;
@@ -17,7 +17,7 @@ import org.jetbrains.annotations.NotNull;
import java.util.concurrent.Callable;
/**
* See <a href="http://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>
*
* @param <T> Result type.
* @see WriteAction

View File

@@ -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.application;
import com.intellij.openapi.diagnostic.Logger;
@@ -15,7 +15,7 @@ import javax.swing.*;
import java.util.concurrent.atomic.AtomicReference;
/**
* See <a href="http://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>
*
* @param <T> Result type.
* @see ReadAction

View File

@@ -8,7 +8,7 @@ import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
/**
* See <a href="http://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>
*
* @see ReadAction, WriteAction
* @see CoroutinesKt#writeIntentAction

View File

@@ -1,11 +1,11 @@
// 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. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.components;
/**
* @deprecated components are deprecated. If you register a class as an application component it will be loaded, its instance will be created and
* @deprecated components are deprecated. If you register a class as an application component, it will be loaded, its instance will be created and
* {@link #initComponent()} methods will be called each time IDE is started even if user doesn't use any feature of your
* plugin. Also plugins which declare application components don't support dynamic loading. Please see
* <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_components.html">guidelines</a> on migrating to other APIs.
* plugin. Also, plugins which declare application components don't support dynamic loading. Please see
* <a href="https://plugins.jetbrains.com/docs/intellij/plugin-components.html">guidelines</a> on migrating to other APIs.
*/
@Deprecated
public interface ApplicationComponent extends BaseComponent {

View File

@@ -10,7 +10,7 @@ import java.lang.annotation.RetentionPolicy;
* Marks final class as "Light Service".
* <p>
*
* @see <a href="https://jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_services.html#light-services">Light Services</a>.
* @see <a href="https://plugins.jetbrains.com/docs/intellij/plugin-services.html#light-services">Light Services</a>.
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface Service {

View File

@@ -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.openapi.application.ApplicationManager;
@@ -13,7 +13,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Describes a service which is loaded on demand.
*
* @see <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_services.html">Plugin Services</a>
* @see <a href="https://plugins.jetbrains.com/docs/intellij/plugin-services.html">Plugin Services</a>
*/
public final class ServiceDescriptor {
public ServiceDescriptor(String serviceInterface,

View File

@@ -237,7 +237,7 @@ public final class BuildNumber implements Comparable<BuildNumber> {
return asString();
}
// http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html
// https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
private static int getBaseLineForHistoricBuilds(int bn) {
if (bn >= 10000) return 88; // Maia, 9x builds
if (bn >= 9500) return 85; // 8.1 builds

View File

@@ -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.vfs;
import com.intellij.core.CoreBundle;
@@ -41,7 +41,7 @@ import java.util.function.Supplier;
*
* <p>If an in-memory implementation of VirtualFile is required, {@link LightVirtualFile} can be used.</p>
*
* <p>Please see <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/virtual_file_system.html">Virtual File System</a>
* <p>Please see <a href="https://plugins.jetbrains.com/docs/intellij/virtual-file-system.html">Virtual File System</a>
* for a high-level overview.</p>
*
* @see VirtualFileSystem

View File

@@ -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.vfs;
import com.intellij.openapi.Disposable;
@@ -18,7 +18,7 @@ import java.nio.file.Path;
/**
* Represents a Virtual File System (VFS).
* <p>
* See <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/virtual_file_system.html">Virtual File System</a> (SDK docs).
* See <a href="https://plugins.jetbrains.com/docs/intellij/virtual-file-system.html">Virtual File System</a> (SDK docs).
*
* @see VirtualFile
* @see VirtualFileManager

View File

@@ -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.concurrency.annotations;
import com.intellij.openapi.application.Application;
@@ -20,7 +20,7 @@ import java.lang.annotation.*;
* <b>Important:</b> the instrumentation has limitations. Please read the docs
* of the {@link org.jetbrains.jps.devkit.threadingModelHelper} to learn about them.
*
* @see <a href="http://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>
* @see Application#assertIsNonDispatchThread()
* @see Application#executeOnPooledThread(Runnable)
* @see Task.Backgroundable

View File

@@ -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.concurrency.annotations;
import com.intellij.openapi.application.Application;
@@ -18,7 +18,7 @@ import java.lang.annotation.*;
* <b>Important:</b> the instrumentation has limitations. Please read the docs
* of the {@link org.jetbrains.jps.devkit.threadingModelHelper} to learn about them.
*
* @see <a href="http://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>
* @see Application#assertIsDispatchThread()
* @see Application#invokeLater(Runnable, ModalityState)
* @see Application#invokeAndWait(Runnable, ModalityState)

View File

@@ -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.concurrency.annotations;
import com.intellij.openapi.application.ReadAction;
@@ -19,7 +19,7 @@ import java.lang.annotation.*;
* <b>Important:</b> the instrumentation has limitations. Please read the docs
* of the {@link org.jetbrains.jps.devkit.threadingModelHelper} to learn about them.
*
* @see <a href="http://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>
* @see ThreadingAssertions#assertReadAccess()
* @see ReadAction#run(ThrowableRunnable)
*/

View File

@@ -20,7 +20,7 @@ import java.lang.annotation.*;
* <b>Important:</b> the instrumentation has limitations. Please read the docs
* of the {@link org.jetbrains.jps.devkit.threadingModelHelper} to learn about them.
*
* @see <a href="http://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>
* @see Application#assertReadAccessNotAllowed()
* @see ReadAction#run(ThrowableRunnable)
*/

View File

@@ -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.concurrency.annotations;
import com.intellij.openapi.application.Application;
@@ -19,7 +19,7 @@ import java.lang.annotation.*;
* <b>Important:</b> the instrumentation has limitations. Please read the docs
* of the {@link org.jetbrains.jps.devkit.threadingModelHelper} to learn about them.
*
* @see <a href="http://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>
* @see Application#assertWriteAccessAllowed()
* @see WriteAction#run(ThrowableRunnable)
*/

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2022 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.notification.impl;
import com.intellij.BundleBase;
@@ -27,7 +27,7 @@ import java.util.ResourceBundle;
* <p>
* Use {@link com.intellij.notification.NotificationGroupManager#getNotificationGroup(String)} to obtain instance via {@link #id}.
* <p>
* See <a href="https://jetbrains.org/intellij/sdk/docs/user_interface_components/notifications.html#top-level-notifications">Top-Level Notifications</a>.
* See <a href="https://plugins.jetbrains.com/docs/intellij/notifications.html#balloons">Top-Level Notifications (Balloons)</a>.
*/
public final class NotificationGroupEP implements PluginAware {
static final ExtensionPointName<NotificationGroupEP> EP_NAME = new ExtensionPointName<>("com.intellij.notificationGroup");

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2022 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.indexing;
import com.intellij.openapi.extensions.ExtensionPointName;
@@ -16,7 +16,7 @@ import java.util.Collections;
/**
* Extension point to implement a file-based inverted index.
* <p>
* See <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/indexing_and_psi_stubs/file_based_indexes.html">SDK Docs</a> for reference.
* See <a href="https://plugins.jetbrains.com/docs/intellij/file-based-indexes.html">SDK Docs</a> for reference.
* <p>
* <ul>
* <li>

View File

@@ -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.codeInsight.daemon;
import org.jetbrains.annotations.NonNls;
@@ -23,7 +23,7 @@ public abstract class GutterIconDescriptor {
/**
* Icon in size 12x12.
* See <a href="https://jetbrains.org/intellij/sdk/docs/reference_guide/work_with_icons_and_images.html">Icons and Images</a>.
* See <a href="https://plugins.jetbrains.com/docs/intellij/icons.html">Icons</a>.
*/
public @Nullable Icon getIcon() {
return null;

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2021 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. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.template.impl
import com.intellij.openapi.extensions.RequiredElement
@@ -6,7 +6,7 @@ import com.intellij.util.xmlb.annotations.Attribute
/**
* Provides bundled live templates.
* See [Live Templates Tutorial](http://www.jetbrains.org/intellij/sdk/docs/tutorials/live_templates.html).
* See [Live Templates Tutorial](https://plugins.jetbrains.com/docs/intellij/live-templates.html).
*/
internal class DefaultLiveTemplateEP {
/**

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2021 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. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.template.impl;
import com.intellij.codeInsight.template.TemplateContextType;
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Provides bundled live templates.
* <p/>
* See <a href="http://www.jetbrains.org/intellij/sdk/docs/tutorials/live_templates.html">Live Templates Tutorial</a>.
* See <a href="https://plugins.jetbrains.com/docs/intellij/live-templates.html">Live Templates Tutorial</a>.
*
* @see TemplateContextType
* @deprecated Use {@link DefaultLiveTemplateEP} instead

View File

@@ -1,5 +1,5 @@
<!--
~ Copyright 2000-2007 JetBrains s.r.o.
~ Copyright 2000-2024 JetBrains s.r.o.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
@@ -20,5 +20,5 @@ Provides interfaces for adding menu items and toolbar buttons to the IDE's user
and for working with menus and toolbars.
<p>A detailed overview of the action system can be found in
the <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/action_system.html">Action System</a> (SDK Docs).</p>
the <a href="https://plugins.jetbrains.com/docs/intellij/basic-action-system.html">Action System</a> (SDK Docs).</p>
</body></html>

View File

@@ -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.ui;
import com.intellij.CommonBundle;
@@ -65,7 +65,7 @@ import static javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW;
* In case the dialog must be created from another thread use
* {@link EventQueue#invokeLater(Runnable)} or {@link EventQueue#invokeAndWait(Runnable)}.
*
* @see <a href="http://www.jetbrains.org/intellij/sdk/docs/user_interface_components/dialog_wrapper.html">DialogWrapper on SDK DevGuide</a>
* @see <a href="https://plugins.jetbrains.com/docs/intellij/dialog-wrapper.html">DialogWrapper IntelliJ Platform SDK Docs</a>
*/
public abstract class DialogWrapper {
private static final Logger LOG = Logger.getInstance(DialogWrapper.class);

View File

@@ -161,7 +161,7 @@ private fun setTitledBorder(@BorderTitle title: String, panel: JPanel, hasSepara
}
/**
* Consider using [UI DSL](http://www.jetbrains.org/intellij/sdk/docs/user_interface_components/kotlin_ui_dsl.html).
* Consider using [UI DSL](https://plugins.jetbrains.com/docs/intellij/kotlin-ui-dsl-version-2.html).
*/
@JvmOverloads
fun dialog(@DialogTitle title: String,

View File

@@ -1,4 +1,4 @@
// 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. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui.layout
import com.intellij.openapi.ui.DialogPanel
@@ -8,7 +8,7 @@ import com.intellij.util.ui.UIUtil
import org.jetbrains.annotations.ApiStatus
/**
* See [docs](http://www.jetbrains.org/intellij/sdk/docs/user_interface_components/kotlin_ui_dsl.html).
* See [docs](https://plugins.jetbrains.com/docs/intellij/kotlin-ui-dsl.html).
*
* Claims all available space in the container for the columns ([LCFlags.fillX], if `constraints` is passed, `fillX` will be not applied - add it explicitly if need).
* At least one component need to have a [Row.grow] constraint for it to fill the container.

View File

@@ -11,7 +11,7 @@ import org.jetbrains.annotations.Nullable;
* for detailed description.
* <p>
* <strong>DO NOT</strong> use for sensitive data
* (see <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/persisting_sensitive_data.html">Persisting Sensitive Data</a>).
* (see <a href="https://plugins.jetbrains.com/docs/intellij/persisting-sensitive-data.html">Persisting Sensitive Data</a>).
* <p>
* In general, an implementation should be thread-safe, because "loadState" is called from the same thread where component is initialized.
* If a component is used only from one thread (e.g. EDT), thread-safe implementation is not required.

View File

@@ -1,25 +1,11 @@
/*
* Copyright 2000-2019 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the 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.credentialStore;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Please see <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/persisting_sensitive_data.html">Storing Sensitive Data</a>.
* Please see <a href="https://plugins.jetbrains.com/docs/intellij/persisting-sensitive-data.html">Storing Sensitive Data</a>.
*/
public interface CredentialStore {
@Nullable

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2021 JetBrains s.r.o. and contributors. 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 that can be found in the LICENSE file.
package com.intellij.ide.passwordSafe
import com.intellij.credentialStore.CredentialAttributes
@@ -8,7 +8,7 @@ import com.intellij.openapi.application.ApplicationManager
import org.jetbrains.concurrency.Promise
/**
* [See documentation](http://www.jetbrains.org/intellij/sdk/docs/basics/persisting_sensitive_data.html)
* [See documentation](https://plugins.jetbrains.com/docs/intellij/persisting-sensitive-data.html)
*/
abstract class PasswordSafe : PasswordStorage, CredentialStore {
companion object {

View File

@@ -57,7 +57,7 @@ import java.util.function.Function;
import java.util.function.Predicate;
/**
* @see <a href="https://jetbrains.org/intellij/sdk/docs/basics/testing_plugins/testing_plugins.html">Testing Plugins</a>.
* @see <a href="https://plugins.jetbrains.com/docs/intellij/testing-plugins.html">Testing Plugins</a>.
* @see IdeaTestFixtureFactory#createCodeInsightFixture(IdeaProjectTestFixture)
*/
public interface CodeInsightTestFixture extends IdeaProjectTestFixture {

View File

@@ -39,8 +39,8 @@ final class ObjectNode {
"Memory leak detected: '" + object + "' (" + object.getClass() + ") was registered in Disposer" +
" as a child of '"+getObject()+"' (" + getObject().getClass() + ")"+
" but wasn't disposed.\n" +
"Register it with a proper parentDisposable or ensure that it's always disposed by direct Disposer.dispose call.\n" +
"See https://jetbrains.org/intellij/sdk/docs/basics/disposers.html for more details.\n" +
"Register it with a proper 'parentDisposable' or ensure that it's always disposed by direct Disposer.dispose() call.\n" +
"See https://plugins.jetbrains.com/docs/intellij/disposers.html for more details.\n" +
"The corresponding Disposer.register() stacktrace is shown as the cause:\n";
RuntimeException exception = new RuntimeException(message, trace);
if (throwError) {

View File

@@ -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("ReplaceGetOrSet", "ReplacePutWithAssignment", "DeprecatedCallableAddReplaceWith", "LiftReturnOrAssignment")
package com.intellij.openapi.util
@@ -50,7 +50,7 @@ internal val fakeComponent: JComponent by lazy { object : JComponent() {} }
/**
* Provides access to icons used in the UI.
* Please see [Working with Icons and Images](http://www.jetbrains.org/intellij/sdk/docs/reference_guide/work_with_icons_and_images.html)
* Please see [Icons](https://plugins.jetbrains.com/docs/intellij/icons.html)
* about supported formats, organization, and accessing icons in plugins.
*
* @see com.intellij.util.IconUtil

View File

@@ -28,7 +28,7 @@ import static com.intellij.util.concurrency.ThreadingAssertions.*;
* Note that if this happens, you need to update the instrumenter and install the updated version of the devkit to IDEA.
* <p/>
*
* @see <a href="http://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 TMHIntegrationTest extends LightPlatformTestCase {
private ExecutorService mySingleThreadExecutor;

View File

@@ -27,7 +27,7 @@ You will likely need to set up a project locally to modify its code.
The detailed setup instructions are available in the [README](README.md).
To learn how to write plugins for IntelliJ IDEA, please refer to the
[IntelliJ Platform SDK DevGuide](https://jetbrains.org/intellij/sdk/docs/intro/welcome.html).
[IntelliJ Platform SDK DevGuide](https://plugins.jetbrains.com/docs/intellij/).
The portal contains a lot of useful information and explains how the IDE works under the hood.
There's also a [#kontributors](https://kotlinlang.slack.com/archives/C0BUHC9HD) channel in the [public Slack](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up).
@@ -67,7 +67,7 @@ We have several requirements for the Pull Requests:
### 4.1. IntelliJ IDEA
You can find necessary information about how to write inspections, intentions and quick fixes
in the [Code Inspections](https://jetbrains.org/intellij/sdk/docs/tutorials/code_inspections.html) tutorial.
in the [Code Inspections](https://plugins.jetbrains.com/docs/intellij/code-inspections.html) tutorial.
It's essential to know
about [PSI](https://plugins.jetbrains.com/docs/intellij/psi.html), the source code model used in IntelliJ IDEA.