mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
7.5 KiB
7.5 KiB
Incompatible Changes in IntelliJ Platform and Plugins API 2023.*
List of known Breaking API Changes in 2023.*
2023.1
IntelliJ Platform 2023.1
com.intellij.grazie.text.RuleGroup.Companion.getLITERALS() method removed
- Replaced by constant field
LITERALS
. com.intellij.ui.treeStructure.SimpleNode.doUpdate()
method removed- It was replaced by
doUpdate(PresentationData)
which should now only modify the state of its parameter. com.intellij.ide.ui.laf.darcula.ui.DarculaProgressBarUI.getFinishedColor()
method removed- Use
getFinishedColor(JComponent c)
overload instead. com.intellij.openapi.externalSystem.view.ExternalSystemNode.setNameAndTooltip(String, String)
method removed- Use
setNameAndTooltip(PresentationData, String, String)
overload instead. com.intellij.openapi.externalSystem.view.ExternalSystemNode.setNameAndTooltip(String, String, String)
method removed- Use
setNameAndTooltip(PresentationData, String, String, String)
overload instead. com.intellij.openapi.externalSystem.view.ExternalSystemNode.setNameAndTooltip(String, String, SimpleTextAttributes)
method removed- Use
setNameAndTooltip(PresentationData, String, String, SimpleTextAttributes)
overload instead. com.intellij.ssh.config.unified.SshConfigManager.register(boolean, String, String, String, String, AuthType, String, String, boolean, boolean, String, String)
method parameterString
removed- Local port is the part of the tunnel configuration, not SSH settings.
com.intellij.openapi.fileEditor.impl.HTMLEditorProvider.Companion.getAFFINITY_KEY()
method removed- It was an accidentally exposed internal API. Please use
HTMLEditorProvider.openEditor()
methods, or implement your own file editor provider.
Database Plugin 2023.1
com.intellij.database.dataSource.url.TypeDescriptor.ParamEditor
class moved to packagecom.intellij.database.dataSource.url
- The inner interface was moved to upper level.
com.intellij.database.dataSource.url.TypesRegistry.BaseTypeDescriptor
class moved to packagecom.intellij.database.dataSource.url.ui
- UI extracted from
TypesRegistry
toTypesRegistryUi
. Usecom.intellij.database.urlParamEditorProvider
extension point to register parameter descriptor, usecom.intellij.database.urlParamEditorUiProvider
extension point to register parameter editor descriptor.
JavaScript Debugger Plugin 2023.1
org.jetbrains.wip.WipVm.initDomains()
method return type changed fromvoid
toorg.jetbrains.concurrency.Promise<*>
initDomains()
is now awaitable to make WIP/CDP domains-dependent initialization logic possible.org.jetbrains.wip.WipVm.ready()
method return type changed fromvoid
toorg.jetbrains.concurrency.Promise<*>
ready()
is now awaitable to make WIP/CDP connection-dependent initialization logic possible.
JetBrains Gateway Plugin 2023.1
com.jetbrains.gateway.ssh.HighLevelHostAccessor.isPathPresentOnRemote(string, FileSystemItem)
method parameter type changed fromString
tocom.jetbrains.gateway.ssh.deploy.RemotePath
- Using strings instead of paths breaks a lot of things when doing cross-platform development, and is generally not a good idea. Use
com.jetbrains.gateway.ssh.HighLevelHostAccessor.makeRemotePath
to prepare a path to pass into any of the methods requiring it.