mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
* [webhelp] Fixes for TXP00152, TXP00002, test build 27 Jul 22:26 * [webhelp] Fixes for Part #4 TXP00010, EXCEPT decimal numbers in section titles * [webhelp] Fixes for Part #5 TXP00017 * [webhelp] Fixes for Part #4 TXP00010 - removed numbers from page section titles in "Custom Language Support Tutorial" and "Testing a Custom Language Plugin". * [webhelp] Removed numbers from page section titles in rest of project *.md files. * [new webhelp] Build #44 changes * [new webhelp] Maintenance merge from master * [new webhelp] Add placeholder file for webhelp import. * [webhelp] Correct redirects for file name changes * [webhelp] TOC not needed in webhelp * [format] {:toc} not needed for webhelp * add {:disable-links} to ensure demo links are not interpreted as real links. * Put all badges on the same line to simplify composition. * formatter.md: fix upsource link * fix some links * api_changes_list.md: remove note * migrate to webhelp - initial * fix GH edit URL * remove sdkdocs-template setup in VCS config * remove recently_updated.md * restore COC/CONTRIBUTING.md * api_changes_list.md: remove note * useful_links.md: IPE Co-authored-by: JohnHake <john.hake@jetbrains.com> Co-authored-by: Yann Cébron <yann.cebron@jetbrains.com>
3.6 KiB
3.6 KiB
Please see Incompatible API Changes on how to verify compatibility.
Changes from API marked with
org.jetbrains.annotations.ApiStatus.@Experimental
/ScheduledForRemoval
are not listed here, as incompatible changes are to be expected.
{type="note"}
2017.3
Changes in IntelliJ Platform 2017.3
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. com.intellij.psi.MultiplePsiFilesPerDocumentFileViewProvider.getLanguages
abstract method added- An implementation of this class is supposed to have several languages, so you need to explicitly implement the method and return them all.
org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.changeCoroutineConfiguration
abstract method added- You need to implement this method and add the logic for updating the configuration in your build system.
org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.updateLanguageVersion
abstract method added- You need to implement this method and add the logic for updating the configuration in your build system.
org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.addLibraryDependency
abstract method added- You need to implement this method and add the logic for updating the configuration in your build system.
Changes in DataGrip and Database Tools Plugin 2017.3
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
andcom.intellij.database.model.DatabaseSystem
instead. com.intellij.database.psi.DbDataSource.getModel
method return type changed fromDbElement
-based model toDasObject
-based model- Use
com.intellij.database.psi.DbPsiFacade.findElement
to get the correspondingcom.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
com.jetbrains.php.lang.psi.elements.Function.getReturnType()
method return type changed fromPsiElement
toPhpReturnType
- Before method had been returning a
com.jetbrains.php.lang.psi.elements.ClassReference
. Now method returnscom.jetbrains.php.lang.psi.elements.PhpReturnType
. MethodReturnType.getClassReference()
can be used if you need just aClassReference
. If you need to get thePhpType
, usecom.jetbrains.php.lang.psi.elements.Function.getReturnType.getType()
method instead.