mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[Java] IDEA-379615 Create empty bundled JShell plugin
Merge-request: IJ-MR-176107 Merged-by: Georgii Ustinov <georgii.ustinov@jetbrains.com> GitOrigin-RevId: da88956f47e5a402637a2f2514f4b3f99ff1fc11
This commit is contained in:
committed by
intellij-monorepo-bot
parent
57072eb4f7
commit
500e238b16
1
.idea/modules.xml
generated
1
.idea/modules.xml
generated
@@ -533,6 +533,7 @@
|
||||
<module fileurl="file://$PROJECT_DIR$/java/java-impl-refactorings/intellij.java.impl.refactorings.iml" filepath="$PROJECT_DIR$/java/java-impl-refactorings/intellij.java.impl.refactorings.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/java/java-indexing-api/intellij.java.indexing.iml" filepath="$PROJECT_DIR$/java/java-indexing-api/intellij.java.indexing.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/java/java-indexing-impl/intellij.java.indexing.impl.iml" filepath="$PROJECT_DIR$/java/java-indexing-impl/intellij.java.indexing.impl.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/jshell/intellij.java.jshell.iml" filepath="$PROJECT_DIR$/plugins/jshell/intellij.java.jshell.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/java/execution/jshell-frontend/intellij.java.jshell.frontend.iml" filepath="$PROJECT_DIR$/java/execution/jshell-frontend/intellij.java.jshell.frontend.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/java/execution/jshell-protocol/intellij.java.jshell.protocol.iml" filepath="$PROJECT_DIR$/java/execution/jshell-protocol/intellij.java.jshell.protocol.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/java/langInjection/intellij.java.langInjection.iml" filepath="$PROJECT_DIR$/java/langInjection/intellij.java.langInjection.iml" />
|
||||
|
||||
@@ -286,6 +286,7 @@ jvm_library(
|
||||
"//plugins/maven/maven36-server-impl:server-m36-impl",
|
||||
"//plugins/maven/maven40-server-impl:server-m40",
|
||||
"//plugins/mcp-server:mcpserver",
|
||||
"//plugins/jshell",
|
||||
]
|
||||
)
|
||||
|
||||
@@ -564,6 +565,7 @@ jvm_library(
|
||||
"//plugins/maven/maven36-server-impl:server-m36-impl",
|
||||
"//plugins/maven/maven40-server-impl:server-m40",
|
||||
"//plugins/mcp-server:mcpserver",
|
||||
"//plugins/jshell",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.idea.community.main` end
|
||||
|
||||
@@ -873,6 +873,7 @@ plugins/javaFX/common
|
||||
plugins/javaFX/community
|
||||
plugins/javaFX/jps
|
||||
plugins/javaFX/sceneBuilder
|
||||
plugins/jshell
|
||||
plugins/jsonpath
|
||||
plugins/junit
|
||||
plugins/junit/groovy-tests
|
||||
|
||||
@@ -257,5 +257,6 @@
|
||||
<orderEntry type="module" module-name="intellij.maven.server.m40" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.mcpserver" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.textmate.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.java.jshell" scope="RUNTIME" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -62,6 +62,7 @@ val IDEA_BUNDLED_PLUGINS: PersistentList<String> = DEFAULT_BUNDLED_PLUGINS + seq
|
||||
"intellij.performanceTesting",
|
||||
"intellij.compose.ide.plugin",
|
||||
"intellij.findUsagesMl",
|
||||
"intellij.java.jshell"
|
||||
)
|
||||
|
||||
val CE_CLASS_VERSIONS: Map<String, String> = mapOf(
|
||||
|
||||
18
plugins/jshell/BUILD.bazel
Normal file
18
plugins/jshell/BUILD.bazel
Normal file
@@ -0,0 +1,18 @@
|
||||
### auto-generated section `build intellij.java.jshell` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "jshell_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "jshell",
|
||||
module_name = "intellij.java.jshell",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
||||
deps = ["@lib//:kotlin-stdlib"],
|
||||
runtime_deps = [":jshell_resources"]
|
||||
)
|
||||
### auto-generated section `build intellij.java.jshell` end
|
||||
13
plugins/jshell/intellij.java.jshell.iml
Normal file
13
plugins/jshell/intellij.java.jshell.iml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
3
plugins/jshell/plugin-content.yaml
Normal file
3
plugins/jshell/plugin-content.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
- name: lib/java-jshell.jar
|
||||
modules:
|
||||
- name: intellij.java.jshell
|
||||
18
plugins/jshell/resources/META-INF/plugin.xml
Normal file
18
plugins/jshell/resources/META-INF/plugin.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<idea-plugin>
|
||||
<id>intellij.java.jshell</id>
|
||||
<name>JShell</name>
|
||||
<category>JVM Tools</category>
|
||||
<vendor url="https://www.jetbrains.com/">JetBrains</vendor>
|
||||
|
||||
<dependencies>
|
||||
<plugin id="com.intellij.modules.lang"/>
|
||||
<plugin id="com.intellij.java"/>
|
||||
</dependencies>
|
||||
|
||||
<description>
|
||||
Provides an interactive Java Shell (JShell) console for quick prototyping and testing of Java code directly within the IDE.
|
||||
</description>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
9
plugins/jshell/resources/META-INF/pluginIcon.svg
Normal file
9
plugins/jshell/resources/META-INF/pluginIcon.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<!-- Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<polygon fill="#40B6E0" fill-opacity=".7" points="1 16 16 16 16 9 1 9"/>
|
||||
<polygon fill="#9AA7B0" fill-opacity=".8" points="7 1 3 5 7 5"/>
|
||||
<polygon fill="#9AA7B0" fill-opacity=".8" points="8 1 8 6 3 6 3 8 13 8 13 1"/>
|
||||
<path fill="#231F20" fill-opacity=".7" d="M1.39509277,3.58770752 C1.62440186,3.83789062 1.83782861,4 2.28682861,4 C2.81318359,4 3,3.58770752 3,3.29760742 L3,0 L4,0 L4,3.58770752 C4,4.31964111 3.32670898,5 2.45,5 C1.629,5 1.15,4.76264111 0.8,4.31964111 L1.39509277,3.58770752 Z" transform="translate(2 10)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 804 B |
@@ -0,0 +1,6 @@
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.jshell;
|
||||
|
||||
// TODO Delete after full migration of modules
|
||||
public class EmptyClass {
|
||||
}
|
||||
Reference in New Issue
Block a user