mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
api_notable_list_2020.md: 2020.1 "Changes in Project Open/Import"
This commit is contained in:
parent
1b440a7eb6
commit
2be29f9aba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user