mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
4.8 KiB
4.8 KiB
title |
---|
Incompatible Changes in IntelliJ Platform and Plugins API |
Changes in IntelliJ Platform 2017.3
Change | How to deal with it |
---|---|
com.intellij.internal.statistic.AbstractApplicationUsagesCollector class removed |
This class isn't supposed to be used in regular plugins. Override com.intellij.internal.statistic.AbstractProjectsUsagesCollector instead if you're developing an IDE with its own statistics services. |
com.intellij.internal.statistic.UsagesCollector.doPersistProjectUsages method removed |
This method isn't supposed to be used in regular plugins. There is no need to call this method anymore. |
org.apache.sanselan package removed |
Use classes from org.apache.commons.imaging instead |
Changes in DataGrip and Database Tools plugin 2017.3
Change | How to deal with it |
---|---|
com.intellij.database.dataSource.DataSourceManager class removed |
Use com.intellij.database.psi.DbPsiFacade instead |
com.intellij.database.dataSource.DataSourceManagerEx class removed |
Use com.intellij.database.psi.DbPsiFacade instead |
com.intellij.database.dataSource.DataSource class removed |
Use com.intellij.database.psi.DbDataSource and com.intellij.database.model.DatabaseSystem instead. |
com.intellij.database.psi.DbDataSource.getModel return value changed from DbElement -based model to DasObject -based model |
Use com.intellij.database.psi.DbPsiFacade.findElement to get the corresponding com.intellij.database.psi.DbElement wrapper when needed. |
com.intellij.database.view.DatabaseView.getTreeBuilder method removed |
Use LangDataKeys.PSI_ELEMENT_ARRAY.get(event) to get Database view selection |
Changes in PhpStorm and PHP plugin 2017.3
Change | How to deal with it |
---|---|
com.jetbrains.php.lang.psi.elements.Function.getReturnType() method return type changed from PsiElement to PhpReturnType |
Before method had been returning a com.jetbrains.php.lang.psi.elements.ClassReference . Now method returns com.jetbrains.php.lang.psi.elements.PhpReturnType . Method ReturnType.getClassReference() can be used if you need just a ClassReference . If you need to get the PhpType , use com.jetbrains.php.lang.psi.elements.Function.getReturnType.getType() method instead |
Changes in IntelliJ Platform 2016.3
Change | How to deal with it |
---|---|
ApplicationListener.afterWriteActionFinished abstract method added |
Implement this method or extend com.intellij.openapi.application.ApplicationAdapter class instead of implementing the interface |
Changes in IntelliJ Platform 2016.2
Change | How to deal with it |
---|---|
com.intellij.util.net.HttpConfigurable.PROXY_LOGIN field removed |
Use com.intellij.util.net.HttpConfigurable.getProxyLogin() instead |
com.intellij.util.net.HttpConfigurable.PROXY_PASSWORD_CRYPT field removed |
Use com.intellij.util.net.HttpConfigurable.getPlainProxyPassword() instead |
org.jetbrains.asm4 package removed |
Use classes from org.jetbrains.org.objectweb.asm package instead |