Yann Cébron f2d534fa09 2023.3 release: update pages, extension point lists (#1155)
* 2023.3 release: update pages, extension point lists

* extension_point_list.md: restore deleted heading

* 2023.3 release: code samples

* 23.3 release: final
2023-12-06 17:10:38 +01:00
..
2023-11-29 16:41:15 +01:00
2023-10-05 08:44:45 +02:00
2022-11-28 17:31:11 +01:00
2023-07-26 14:44:10 +02:00

Maximum Open Projects Sample JetBrains IntelliJ Platform SDK Docs

Reference: Plugin Services in IntelliJ SDK Docs

Quickstart

Maximum Open Projects Sample implements a StartupActivity extension point to run on project open as well as a ProjectManagerListener for tracking projects being closed. Both use ProjectCountingService application-level light service. It provides methods to increase and decrease the counter of currently opened projects in the IDE. When opening more projects than the maximum allowed (3), a message dialog is shown.

Extension Points

Name Implementation Extension Point Class
com.intellij.postStartupActivity ProjectOpenStartupActivity StartupActivity

Application Listeners

Name Implementation Listener Class
listener ProjectOpenCloseListener ProjectManagerListener

Reference: Plugin Listeners in IntelliJ SDK Docs