Yann Cébron e27c8031c6
2024.3 release (#1376)
* switch to 243, update gh-ic links

* code samples: build against 2024.1

* action_basics: mute warning in PopupDialogAction

* GH build: mute invalid plugin ID on CI

* GH build: mute invalid plugin ID on CI

* final 2024.3, regen EP-lists

* code samples: 2024.3
2024-11-13 16:23:03 +01:00
..
2024-11-12 10:09:50 +01:00
2024-11-13 16:23:03 +01:00
2024-07-16 10:59:02 +02:00
2024-07-16 10:59:02 +02:00
2024-07-10 11:44:19 +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