Commit Graph
2435 Commits
Author SHA1 Message Date
Nikita Iarychenko 37b697b007 OPENIDE #97 License and Eula in OpenIDE (add copyright)
(cherry picked from commit c04ce4e31d29757b01124bef5d56341c1d5c3076)

(cherry picked from commit dd6672929b)

(cherry picked from commit c616055e7d)
(cherry picked from commit e0b79cb487)
2025-12-15 12:52:03 +04:00
Nikita Iarychenko 87f684264c OPENIDE #24 Restrict IDE access to untrusted sources
(cherry picked from commit 5bc56a6a642bb0baba1a0434c50f6b45cae64cb9)

(cherry picked from commit fdfad7b125)

(cherry picked from commit b869d83490)
(cherry picked from commit 3c336d8050)
2025-12-15 12:50:06 +04:00
Alexander Koshevoy 3da0969e4b [eel][sdk] IJPL-215427 Use project-scoped JDK table in AlternativeSdkRootsProvider
Switch `ProjectJdkTable.getInstance()` to `ProjectJdkTable.getInstance(project)` to ensure project-scoped JDK table usage. This aligns with environment-aware SDK resolution practices and prevents potential inconsistencies in multi-environment setups.


(cherry picked from commit 0f44a59494899ed4234a9a60f7466290317d5245)

IJ-CR-181063

GitOrigin-RevId: eb99fc80a1d7c0c51a39b76cb98da1a7aac78b47
2025-11-03 22:45:34 +00:00
Bart van Helvert 8e6e50626c [junit] Fix method without assertions when before/after each annotated
#IDEA-381299 Fixed


(cherry picked from commit 7362f6f00bfb4bd4804ea550da170652cd1058fd)

IJ-CR-180479

GitOrigin-RevId: 8d2dabf0732d668da66b531ed155bcd760fc0eb8
2025-10-31 03:31:39 +00:00
Bart van Helvert d73104e8fa [tests] Don't steal focus when automatically rerunning tests
Prevents the build toolwindow from stealing the focus when an automatic build is triggered by the automatic test runner when the code is uncompilable. #IDEA-335769 Fixed


(cherry picked from commit d6bd1f9fade4fab3c91b25bbe788f870aaf123bc)

IJ-CR-180263

GitOrigin-RevId: e5ff8f040d27d4a1686289af4a1158a6ee38c633
2025-10-28 14:51:35 +00:00
Aleksey Dobrynin 696fc9bce8 [jvm-debug] IDEA-376392 add registry option to clear all environments in JVM command line configurations
GitOrigin-RevId: 2ae6242dac4a26da31694713b4f5c08069ff7daa
2025-10-09 11:44:16 +00:00
Aleksey Dobrynin 36bc30b1e3 [java debug] create a new debug port when cleaning IDEA-376392
GitOrigin-RevId: 169133bbde586b6221996201d33d82619c79d2bc
2025-10-07 09:29:58 +00:00
Vladimir Krivosheev 4b619431c2 IJ-MR-175479 IJ-CR-146078 IJPL-209476 fast-util
GitOrigin-RevId: 87af2a3aad6e264a9b332c20ff572ec735f741f2
2025-10-06 16:34:02 +00:00
Vladimir Krivosheev 0272d6a0c7 IJ-MR-175479 IJ-CR-146078 IJPL-209476 miglayout-swing, mvstore, proxy-vole, rhino, winp
GitOrigin-RevId: 18f6ef6f31cc80b26bca98a7ab025e2ade284102
2025-10-06 16:34:02 +00:00
Mikhail Pyltsin 8d8cf8b65b [java-decompiler] IJ-CR-177513 IDEA-380269 doesn't call decompilers
GitOrigin-RevId: 99cee0ba772c8c91e70325333c9f5b848ceb3565
2025-10-06 16:15:19 +00:00
Aleksey Dobrynin 245712ba19 Revert "fix annoying text twitching when duration rolls from "1m 59s" to "2m 0s"" reason: IDEA-379481
This reverts commit ea0270e4414fbfb95591b607baf8f4eb1a8ac914.

GitOrigin-RevId: ec3cea418b1ef65d7f034c6e62246e26f734cf49
2025-10-06 14:08:08 +00:00
Aleksey Dobrynin 897b4f5afb [junit6] improve support for dumb mode IDEA-380275
GitOrigin-RevId: 76c20736cc7fc66f95fda5172c22a1fd044a4514
2025-10-06 10:20:11 +00:00
Vladimir Krivosheev aef6fcfb61 IJ-MR-175479 IJ-CR-146078 IJPL-209476 intellij.libraries.kotlinx.coroutines.slf4j, icu4j, jackson, ion as product module
GitOrigin-RevId: 6ec3fc109676944133e91aff3a82c51572bf4dbc
2025-10-04 19:03:47 +00:00
Vladimir Krivosheev 601a44264f IJ-MR-175479 IJ-CR-146078 IJPL-209476 gson as product module
GitOrigin-RevId: 4e0ec5a56b91ff85cef4343c34f36e18adec1e9e
2025-10-04 19:03:47 +00:00
Mikhail Pyltsin 00049405db [java-decompiler] IDEA-380269 doesn't call decompilers
GitOrigin-RevId: ce3bad6c329d97a3255b1e73709cd87e04e2e87e
2025-10-03 14:32:38 +00:00
Edem Ibraimov 31f0e201fb IDEA-209728: cleanup ProjectTaskContext after j2k
GitOrigin-RevId: 7538663ce4d4ff127475e28f2c11f153e34d253c
2025-10-02 10:21:14 +00:00
Georgii Ustinov 0890fa0081 [Java] IDEA-379682 + IDEA-379740 Move JShell UI and Jshell Protocols to the plugin
GitOrigin-RevId: d0bff379c9f73853ef6a172c4fe7c4c3055aea20
2025-09-29 15:04:05 +00:00
Georgii Ustinov bf0b7011c2 [Groovy] IDEA-355525 instance main methods for groovy
GitOrigin-RevId: 3761ed4dafb616e9f6d99a68430c6d8581ecbdda
2025-09-29 10:44:34 +00:00
Ilia Kirianovskii f43aa95086 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
2025-09-29 00:11:15 +00:00
Aleksey Dobrynin e97d627f6d [junit6] support for running junit6 IDEA-378235
(cherry picked from commit d8150843a509548fe1f04b8871a469a212584f0f)

IJ-MR-175463

GitOrigin-RevId: 59e5f52d5653e7bbac6ee4f9b9fdb62d12732f68
2025-09-25 17:51:29 +00:00
Dmitry Drobotov 9ea697781c IJPL-58398 Make text field extension buttons keyboard focusable
* If ExtendableTextComponent.Extension has focusable set to true, extension icon will be replaced with an actual keyboard focusable button.
* Focusable is not set to true by default because there are many cases where the extension is not supposed to be keyboard focusable. For example, if extension already has a keyboard equivalent, like Clear and Search History extensions, or if it's intended to be a simple icon without action.
* Can be disabled with a registry flag `text.field.extension.buttons.focusable`

GitOrigin-RevId: f65fcfb78528cc1affcb090e3f0b669790f76741
2025-09-25 10:30:54 +00:00
Pavlo Skliar 30f2dfeda2 IJPL-175943 - Move EelTargetEnvironmentRequest to intellij.platform.execution
GitOrigin-RevId: dbdbf638680c9885cf2acfcab1e11df53789c1a8
2025-09-25 10:09:39 +00:00
Nikita Katkov db936264a1 [run dashboard & split mode] IJPL-184406 Reimplement customizations API
Because of external usages and the specifics of the api it has to remain on the backend side (it touches process handler). To make it work, a customization builder is introduced: it gets passed to registered extensions, accumulates customizations, sends it through rpc and applies to the corresponding frontend UI component.

GitOrigin-RevId: 1d0f1bdc954c4b2837e17fb472aa665f0a36e03c
2025-09-17 20:27:16 +00:00
Bartek Pacia b71e97b87f [java-execution] Deprecate ConfigurationUtil#MAIN_CLASS in favor of PsiMethodUtil#MAIN_CLASS
Pointless duplication.

GitOrigin-RevId: 500fc86fdc5180b012f7ddde1d59f9d30527c571
2025-09-17 16:10:41 +00:00
Mikhail Pyltsin 20e2fef7da [java-run-configuration] IDEA-379421 Implicit class cannot be run
GitOrigin-RevId: 503f3368e9a86b00119f939afd2808765e38ce9b
2025-09-16 21:02:32 +00:00
Bartek Pacia 50342e76d7 [java-execution] fix running Java scratch files
Running scratch files was broken because of changes in ApplicationConfiguration in the previous commit.

Related to IDEA-364759.

GitOrigin-RevId: e80ec0745221bcdc8b44a4924c99a3437ca1cf36
2025-09-15 22:53:18 +00:00
Bartek Pacia 6876992f0d [java-execution] IDEA-364759 fix slowOp in ApplicationConfiguration: store FQCN instead of binary class name
Now we resolve the runtime-qualified class/method name on demand, at `ApplicationConfiguration#getRunClass` level.

We want to keep the ability to run the configuration even if the IDE is in dumb mode,
so now `ApplicationConfiguration#getMainClass` uses alternative resolve (`DumbService#withAlternativeResolveEnabled`).
The test `ApplicationRunClassDumbModeTest` has been added to verify this.

Inside `ClassEditorField`, the field storing ConcurrentMap has been removed.
It was part of a previous – failed – attempt to fix the slowOp,
but in reality it only changed the place where the slowOp occurred.

GitOrigin-RevId: bade72877c02c1bba095c69f264d5f868d41f4d7
2025-09-15 22:53:18 +00:00
Alexey Kudravtsev c2735ae69d fix annoying text twitching when duration rolls from "1m 59s" to "2m 0s"
GitOrigin-RevId: ea0270e4414fbfb95591b607baf8f4eb1a8ac914
2025-09-15 14:14:46 +00:00
Bartek Pacia 68f524250a [java-execution] JavaScratchConfiguration: make final
Reasons:
- it is the only subclass of ApplicationConfiguration that is not final
- don't see a reason why someone would like to extend it

GitOrigin-RevId: 1ad3bd25cf0681b655c8637f44eae5477a5dbf0d
2025-09-12 09:45:22 +00:00
Bartek Pacia b491054a4c [java-execution] IDEA-377322 ApplicationConfigurable: move getVisibilityChecker to JavaApplicationSettingsEditor
GitOrigin-RevId: e76623c764b9bf71b8b3b5ad2e536124435e9610
2025-09-08 18:11:04 +00:00
Bartek Pacia 72e2b08344 [junit] IDEA-377975 JUnitConfigurable: deprecate for removal
GitOrigin-RevId: 9a454166bad150a536e21dd6f8e28ed2fb6e55e7
2025-08-22 11:28:54 +00:00
Bartek Pacia 3d3b491c8d [java-execution] JavaApplicationSettingsEditor#MainClassPanel: add some useful comments
GitOrigin-RevId: fb62272a5df4c5bf230f3788e426253477cd3bfc
2025-08-19 10:33:18 +00:00
Bartek Pacia 7fe911be21 [java] specify some types explicitly
GitOrigin-RevId: 4b60801d728a2d536d09fc2986316aeb74a0609c
2025-08-15 14:34:34 +00:00
Bartek Pacia b12b4fd191 [java-execution] ApplicationConfiguration: remove conditional on ide.new.run.config
JavaApplicationSettingsEditor has been there for a few years already.

ApplicationConfigurable is deprecated and marked for removal.

For JetBrainers: see also https://jetbrains.slack.com/archives/C0AEUGGMD/p1680095215010229

GitOrigin-RevId: 473973673b5e2c2fc19c35c16922a2ea50ddaac3
2025-08-15 14:02:35 +00:00
Bart van Helvert 31af1cadd9 [java] Update cmd line proxy builder message to Java 8
Changes the version check to check for Java 8 compatability after the class file format version was increased. Also adds an additional workaround to the error message. #IDEA-374134

GitOrigin-RevId: 818d7c8e54e431648b5a170e97486bf1fec255ba
2025-08-14 22:20:44 +00:00
Bartek Pacia 3b88a5a5a9 [java] IDEA-377322 ApplicationConfigurable: deprecate for removal
GitOrigin-RevId: 171dbd2cb443a58a7411da0cbb1cce87f56d21c7
2025-08-11 15:57:04 +00:00
Aleksey Dobrynin ce10a75005 [gradle, run-configuration, jigsaw] use gradle's mainModule instead of --module IDEA-375835
GitOrigin-RevId: 12e9e6b1d874af2f0efd819b05411f41301ecdce
2025-07-28 16:00:32 +00:00
Bartek Pacia 1cee52fce1 [java] IJ-CR-168694: small Javadoc update
GitOrigin-RevId: f137b5a993dcfdc9ee402e9458ea81f03fe31b19
2025-07-11 15:18:01 +00:00
Bartek Pacia 9a8d0b5567 [java] JavaApplicationSettingsEditor: reformat code
GitOrigin-RevId: d46994694b297765c18cebd4fede298e55274354
2025-07-11 15:18:01 +00:00
Bartek Pacia 3e0816b191 [platform] add a bit of Javadoc for RunConfiguration- and FragmentedSettingsEditor-related APIs
GitOrigin-RevId: 479930b2239e9fd9437b5e33da0eddbd4953c889
2025-07-09 17:27:34 +00:00
Bartek Pacia 0405a601fb [java] JavaApplicationSettingsEditor: fix icon of StringsCompletionProvider
GitOrigin-RevId: 954d36d0ba0cf9ebce2e53e6ad044894ca5725b5
2025-07-09 16:16:54 +00:00
Vladimir Krivosheev f1b0b5d383 IJ-MR-162467 don't export intellij.platform.execution.impl
GitOrigin-RevId: abc930fdcf4c77896436c44ba8a71377e78e646d
2025-06-19 20:15:57 +00:00
Vladimir Krivosheev d2f308caa0 develar/extract-ide-conc
Created by Vladimir Krivosheev (Vladimir.Krivosheev) via Patronus

Merge-request: IJ-MR-166073
Merged-by: Vladimir Krivosheev <vladimir.krivosheev@jetbrains.com>

GitOrigin-RevId: 7b3d0f52e2621c6ca2c45aa8ed832724a7fd038a
2025-06-19 09:07:03 +00:00
Vladimir Krivosheev a49e310575 IJ-MR-162467 don't export intellij.platform.lang.core
GitOrigin-RevId: dea0fc36382a29eda134dba69917d41c7b585cf2
2025-06-18 11:28:23 +00:00
Dmitry Avdeev fe8d025304 IDEA-374573 AppServers: wrong default JRE is displayed in Run Configuration when switching servers
GitOrigin-RevId: 221bc968ac715e8afa45837f90a78e63195007f7
2025-06-17 18:25:03 +00:00
Marius Erath 3d6698c54b KMT-1009 Remove debug, coverage, profiling for Web run configurations
Invert new boolean flags to keep things more intuitive

GitOrigin-RevId: 32f527560b75be3577132e9a62cd22f777331ec1
2025-06-17 18:06:38 +00:00
Marius Erath de22433233 KMT-1009 Remove debug, coverage, profiling for Web run configurations
Add a way to disable debugging for external run configurations that do not support it

GitOrigin-RevId: 15ac56b6930f8e86e5ee9a570bcefb8388729887
2025-06-17 18:06:38 +00:00
Vladimir Krivosheev b935234c91 IJ-MR-162467 don't export intellij.platform.projectModel
GitOrigin-RevId: 11c0bf5ca0f3a6d892658a2b149d85cace9aa2b8
2025-06-14 13:00:48 +00:00
Vladimir Krivosheev ef0323d07c IJ-MR-162467 don't export intellij.platform.core
GitOrigin-RevId: 05f350c1c087be1bf9b46d8bdac5345a65f55958
2025-06-13 21:52:48 +00:00
Dmitry Avdeev 3cd2d3dda3 IDEA-374502 Default JRE description is not shown for editable JRE selector
GitOrigin-RevId: 93765ba0d41e7c1dd89e620dbe12b1c29b276a4f
2025-06-13 17:38:56 +00:00