api_notable_list_2020.md: 2020.1 "Changes in Project Open/Import"

This commit is contained in:
Yann Cébron 2020-05-06 16:30:07 +02:00
parent 1b440a7eb6
commit 2be29f9aba

View File

@ -32,6 +32,13 @@ JCEF Support (_Experimental Feature_)
Override text presentation for actions depending on menu context.
: Set the [`<override-text>`](/basics/action_system.md#setting-the-override-text-element-for-an-action) element within the `<action>` declaration in `plugin.xml`.
Changes in Project Open/Import
: **Import from Existing Sources** has been removed from the Welcome Screen, leaving only **Open or Import**, which calls a different extension than the one previously used to contribute a wizard step to **Import from Existing Sources** (which is still available in the **File** menu).
To support **Open or Import**, a plugin must provide [`ProjectOpenProcessor`](upsource:///platform/platform-api/src/com/intellij/projectImport/ProjectOpenProcessor.java).
`ProjectOpenProcessor.canOpenProject()` should return `true` for the folder selected by the user only if it guarantees `doOpenProject()` can handle it.
If there are several matching processors, a simple choice dialog is shown.
If additional manual configuration is necessary, a modal dialog can be shown in `doOpenProject()` - however, it is highly recommended performing all setup automatically (like Maven and Gradle plugins do).
## Notable Changes in IntelliJ IDEA
EOL for JetBrains TFS Plugin