mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 08:47:50 +08:00
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
This commit is contained in:
parent
5501d1b092
commit
5e30bef504
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package org.intellij.sdk.action;
|
||||
|
||||
@ -17,8 +17,9 @@ import javax.swing.*;
|
||||
/**
|
||||
* Action class to demonstrate how to interact with the IntelliJ Platform.
|
||||
* The only action this class performs is to provide the user with a popup dialog as feedback.
|
||||
* Typically this class is instantiated by the IntelliJ Platform framework based on declarations
|
||||
* in the plugin.xml file. But when added at runtime this class is instantiated by an action group.
|
||||
* Typically, this class is instantiated by the IntelliJ Platform framework based on declarations
|
||||
* in the plugin.xml file.
|
||||
* But when added at runtime, this class is instantiated by an action group.
|
||||
*/
|
||||
public class PopupDialogAction extends AnAction {
|
||||
|
||||
@ -44,6 +45,7 @@ public class PopupDialogAction extends AnAction {
|
||||
* @param description The description of the menu item.
|
||||
* @param icon The icon to be used with the menu item.
|
||||
*/
|
||||
@SuppressWarnings("ActionPresentationInstantiatedInCtor") // via DynamicActionGroup
|
||||
public PopupDialogAction(@Nullable String text, @Nullable String description, @Nullable Icon icon) {
|
||||
super(text, description, icon);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -22,7 +22,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
plugins.set(listOf("com.intellij.java"))
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -22,7 +22,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
plugins.set(listOf("com.intellij.java"))
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
plugins.set(listOf("com.intellij.java"))
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -19,7 +19,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -29,7 +29,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.6")
|
||||
version.set("2024.1.7")
|
||||
type.set("PY")
|
||||
plugins.set(listOf("Pythonid"))
|
||||
downloadSources.set(false)
|
||||
@ -31,7 +31,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
plugins.set(listOf("com.intellij.java"))
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
plugins.set(listOf("com.intellij.java"))
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -31,7 +31,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
plugins.set(listOf("com.intellij.java"))
|
||||
}
|
||||
|
||||
@ -42,7 +42,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
@ -18,7 +18,7 @@ java {
|
||||
|
||||
// See https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
||||
intellij {
|
||||
version.set("2023.3.7")
|
||||
version.set("2024.1.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
@ -28,7 +28,7 @@ tasks {
|
||||
|
||||
patchPluginXml {
|
||||
version.set("${project.version}")
|
||||
sinceBuild.set("233")
|
||||
untilBuild.set("242.*")
|
||||
sinceBuild.set("241")
|
||||
untilBuild.set("243.*")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user