459238 Commits

Author SHA1 Message Date
Mikhail Pyltsin
f99f182609 [java-imports] IDEA-368382 incorrect place for module import
- more tests


(cherry picked from commit 5b0b65e0b74bb858dab0a0ceeb5f176b0e3f0fdc)

IJ-CR-156496

GitOrigin-RevId: 66b16004793a875d61039997b03ece62afbf5339
2025-03-04 21:15:51 +00:00
Mikhail Pyltsin
8ce55bb2be [java-imports] IDEA-368382 incorrect place for module import
(cherry picked from commit ce6ec1c65d5777e5e3059093fdd01baf24f95e50)

IJ-CR-156496

GitOrigin-RevId: 4e3ae37de77005802a25b2f85de3dfa43ea4a2bf
2025-03-04 21:15:51 +00:00
Kirill.Karnaukhov
9b1f9cdb7b [inline-completion] IJPL-179898: support rendering of non-English symbols by fall-backing to other fonts
(cherry picked from commit 9363ce5b0acf65f02e72a8acac22f83f673bd758)

IJ-CR-156558

GitOrigin-RevId: a94db92d1f3dd53b8d227038040761cc153b0b03
2025-03-03 14:26:02 +00:00
Karina Kazaryan
3c0a533aa4 IDEA IC 243 change minor v to 3.5
(cherry picked from commit 09252e66300ec6affe28f60f8f3795cb4201fbed)

IJ-MR-156149

GitOrigin-RevId: f889a7f8ab6fd853aa10293823c38058620bc47a
2025-02-26 19:06:50 +00:00
Maksim Zuev
ba1db90b28 [debugger] IDEA-366895 Debugger: collect performance statistics on the command execution time
(cherry picked from commit 1de07f7dba0a674838012e1ba228c3356febf93e)

GitOrigin-RevId: b809e4cd32925e534ed853b497dc5ff6aa5f49e5
2025-02-26 15:52:59 +00:00
Vlad Koshkin
6565a5c303 [kotlin] K1: use ConcurrentHashMap for GradleBuildRoot mapping
#KTIJ-29983 Fixed


(cherry picked from commit 0c5d5ab5dcea30f3c59f179a288f024dba880f7d)

IJ-CR-156002

GitOrigin-RevId: 5b2fbf4dae2383d5891888eac4a63073a2770bd8
2025-02-25 23:45:07 +00:00
Patronus
487189543d Merge analyzer-update/rride/kt-243/new.builtins into 243
GitOrigin-RevId: 80ac4e391f9988589dfeba0ca479addc5a9b3c0c
2025-02-25 22:53:08 +00:00
Vlad Koshkin
dc03e780c0 [kotlin] K2: skip loading definitions if there is no gradle.kts
#KTIJ-33119 Fixed


(cherry picked from commit 6eacff1938c508c055d59b74571b893c466be260)

IJ-CR-156007

GitOrigin-RevId: e783c2bef2236b5d4512a64f304205c9d035ce3f
2025-02-25 22:27:23 +00:00
TeamCity
514cf8bb23 [kotlin] Update analyzer version to 2.1.20-ij243-60
GitOrigin-RevId: 64c4daddc0eb89b5fc4b0a67546fa18f3a49b7cf
2025-02-25 18:26:27 +00:00
Nikita Biriukov
45d46461b3 [gradle] IDEA-363330 prevent NPE in SyntheticVersionCatalogAccessor: use a model of exact catalog
In the accessor, use GradleVersionCatalogModel (a model for a single catalog) instead of GradleVersionCatalogsModel (a model for multiple catalogs). The last one also gives access to libraries, plugins, bundles and versions - but the result is nullable. Accessing them with `!!` looks suspicious to me. Probably, it was a cause of NPE while <init> of the accessor. Anyway, the usage of GradleVersionCatalogModel looks better to me.

Code review: IJ-CR-153929
(cherry picked from commit b659570aa14e89654ece34d81f6771706760caf2)

GitOrigin-RevId: 5d8796f59f35302f6dd70a5292a8ac5c5562157e
2025-02-25 15:08:41 +00:00
Nikita Biriukov
041c829211 [gradle] IDEA-363330 prevent NPE in SyntheticVersionCatalogAccessor: check if the delegate is null
There are some cases of NPE while <init> of the SyntheticVersionCatalogAccessor. Probably they were caused by the usage of `!!` operator with found delegate that could be null

Code review: IJ-CR-153929
(cherry picked from commit 636fc616b7148b82d645872fdef13f3b42e37c99)

GitOrigin-RevId: b3b707895ad3a5887bcde084bb35e0b87b78cc1d
2025-02-25 15:08:41 +00:00
Aleksandr Krasilnikov
76b5d499de IJPL-178093: git: Fix memory leak in CommitChunkPanel
(cherry picked from commit cedead49db5731a50ead467541bda23841df20f5)

IJ-MR-155841

(cherry picked from commit 4ba6c92050e25bd345026bcb808dc3e9158695c8)


(cherry picked from commit a515c8d9ec5cb0ee372f1b73cb424888eb889ef8)

IJ-MR-155908

GitOrigin-RevId: 26e55158c27baeeab7161f391af1e9a030b77edd
2025-02-25 14:19:03 +00:00
Yuriy Artamonov
3474e6669a [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Fix compilation


(cherry picked from commit 7f85ee5d77b18f8bda3c58303a32eb7dce501b45)

IJ-MR-155667

GitOrigin-RevId: 7c8b37b9b8156a80480f5f4f48b7c6e9bbd51c2e
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
1bb53c5e92 IJPL-177947 Validation errors do not disappear on segmented buttons after value set
(cherry picked from commit a6794f2eaebf4045e94f160fc8003e439f412a6e)


(cherry picked from commit f9879e36bcb88198ad4bd46166bea933e3e86f41)

IJ-MR-155667

GitOrigin-RevId: 7056b94f8a56edaf8822981e7e8225a3c582926d
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
ccbbb17dd8 [feedback] IJPL-177421 Check for dialog presence does not really make sense in IdleFeedbackResolver
(cherry picked from commit 55027258a12caab87f2de999626eb18988da86f9)


(cherry picked from commit 0de92aa97b172cfb62ef1c055d58bbcf1247a371)

IJ-MR-155667

GitOrigin-RevId: 83ca27e0d368d4205f431bb8c1d38eec7897238a
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
88af5d2f2d [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Store feedback dates globally to consider several major versions and RD scenario

(cherry picked from commit 7194d98f019efecc0dbbca2e8b097be19fd11cfc)


(cherry picked from commit 8729b09d1ef21adbecbf3cb15cdd9a329046ebf3)

IJ-MR-155667

GitOrigin-RevId: f908baec1667d1e10cada10250253ce315d9ff6c
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
579d2eefad [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Do not show Evaluate Feedback once we have shown any CSAT notifications

(cherry picked from commit ecc781963a95bd1bec36e6f5c95ad800e81882da)


(cherry picked from commit 3e29b3f95ec161a1749a87d6bbf8e89cfb17c991)

IJ-MR-155667

GitOrigin-RevId: 872d4e474fe95e350b38b90c6d6835ff95ca2841
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
962143dff4 [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Do not show request feedback notifications twice

(cherry picked from commit a5e2f3278ff19918725ba77dc592347a9ffc4d93)


(cherry picked from commit e43e71f84d59e4ed26e1bef564393e44ed9045a6)

IJ-MR-155667

GitOrigin-RevId: eda1992585305691e954b7356bc2d51f91542e49
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
0a6225844d [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Include Host IDE information to system info of the survey

(cherry picked from commit 3822a535fffbd494de578f53e14f5a50f143b36f)


(cherry picked from commit d511b0149b34ca002bb5b6d2502f9ee08db85531)

IJ-MR-155667

GitOrigin-RevId: 58eab78bf22e1ab08b41e7cc3625d3069d4f740d
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
03c0b5d05e [feedback] IJPL-177421 Permanent CSAT survey in IDEs
New icons for survey dialog

(cherry picked from commit 7568433465d7096c0d4338865e8f253fdf1b5cd4)


(cherry picked from commit f643f35430729f69ade739900d80105cb1249dda)

IJ-MR-155667

GitOrigin-RevId: 704a4b9d069ce6f1f9c49582ab24d649b8bf6da5
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
1c84e9e408 [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Run CSAT survey on the client side

(cherry picked from commit eb0b819f9ad4326589f013e76998dcfdd3e01b1e)


(cherry picked from commit 3ff503981d589ac352f43707abdfd3ee10736036)

IJ-MR-155667

GitOrigin-RevId: bf4044b688f353af2d5cc4f57d4e5c58161ca71a
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
0c96b4504c [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Show next CSAT date via internal action

(cherry picked from commit 5239a1bb889eb72c03880c0e4eaaf4bf2291efd1)


(cherry picked from commit 52deaf5498f65c4d613cbef89ef972cc453105cd)

IJ-MR-155667

GitOrigin-RevId: fc385859e5bc773bbe07c4518937b82815d8d2d9
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
f0b1bb4c47 [feedback] IJPL-177421 Permanent CSAT survey in IDEs
Fix hashes computation for show condition

(cherry picked from commit b07545e8cb52c438bc26c487fb9672624c3c1217)


(cherry picked from commit b34b16e13a124ec955924fa613ce72f9e06cfa9e)

IJ-MR-155667

GitOrigin-RevId: 136aa670b8a125c4c41dcb69a9047258ad8d73b8
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
e41d4d19bb [feedback] IJPL-177421 Exclude first ever session for CSAT survey
(cherry picked from commit ec1b5298fb66e86c705f4b684e150c699ba8a8ad)


(cherry picked from commit a43ab23410314b96efb2afed8862397be8615d9a)

IJ-MR-155667

GitOrigin-RevId: dbc3e13466d41c7dcbe1e8a2c137c778d73bdb0d
2025-02-21 18:28:37 +00:00
Yuriy Artamonov
f7db18dd64 [feedback] IJPL-177421 Permanent CSAT survey in IDEs
(cherry picked from commit 70300350ba240bfd2fd3b8235b638794aa30765e)


(cherry picked from commit 3d576c4377c5751d2ef6711c249d86a5ddfe879e)

IJ-MR-155667

GitOrigin-RevId: 47b7246d3af66ff46642254397fbe9c1599e7dc3
2025-02-21 18:28:37 +00:00
Dima Golovkov
aca8588d4c Remove background for Survey icons
(cherry picked from commit bf410945e1c6c9f8848c55f8e4a7b24d847f9e4b)


(cherry picked from commit ac2a40baff07aa28ed8e0d2eacfab3eb1634efd1)

IJ-MR-155667

GitOrigin-RevId: 240197f26c093b9115377dfa8800124c911387b6
2025-02-21 18:28:37 +00:00
Dima Golovkov
e2bedf1cf5 Add survey icons for AllIcons
(cherry picked from commit f63095d6ee02439dbc2013ecee6e001b0db559e7)


(cherry picked from commit e0d9f4df21492d844d87592c7021d92f661074f2)

IJ-MR-155667

GitOrigin-RevId: 9ae51415a670bb69bf3a9a26d4f2d5e51e3c0b52
2025-02-21 18:28:36 +00:00
Vladimir Lagunov
481211832d Fix DnsMockTest flakiness: sort IP addresses before comparing lists
(cherry picked from commit b5dbac8f2f48f97ab92c0e772b0ab9a399a301bf)

IJ-CR-154878

GitOrigin-RevId: aba588bcff9ec780c4fa01c0e19cac8c9a034c46
2025-02-21 11:49:18 +00:00
Vera Petrenkova
04f625af66 IJ-CR-155115 IJPL-172387 [FUS] provide additional attribute in statistics to define the action type for simple dialogs
Implemented for dialogs with yes/no/cancel, yes/no, ok/cancel actions. Any other dialogs with custom actions will return undefined exitActionType

(cherry picked from commit dd030c0a4a98c385d30c3710b3a063f500bb400e)

GitOrigin-RevId: f95022c182218f0172c7aa9a70aea38c2e44c420
2025-02-19 18:38:11 +00:00
Vera Petrenkova
21d689f17c IJ-CR-155115 IJPL-172387 add comment to custom validation rule
(cherry picked from commit 61c0b68912399130b04eda901b7af6587efb71f0)

GitOrigin-RevId: 549a177d592376098cf981cf19214bd7e824822d
2025-02-19 18:38:10 +00:00
Vera Petrenkova
ba81dfd08f IJ-CR-155115 IJPL-172387 FUS: Add 'invocationPlace' parameter to dialogs statistic
Merge-request: IJ-MR-151127
Merged-by: Vera Petrenkova <Vera.Petrenkova@jetbrains.com>
(cherry picked from commit dbe25a3787fd283c2576bdb8ff4f8155a963d8f9)

GitOrigin-RevId: faf82a86cb8040b1d48b9ba2c2f9907767314c86
2025-02-19 18:38:10 +00:00
Mikhail Pyltsin
769808c52d IJ-CR-155375 Revert "[java-runner] IJ-CR-154797 IDEA-363985 Temporary workaround for JNI restriction"
This reverts commit dda8badb

(cherry picked from commit a52b17f30c338d7bb11caecf17e32690f6621582)

GitOrigin-RevId: 13e035b2a42177ddb38cd84aef3e32ed7279b473
2025-02-19 13:48:10 +00:00
Roman Shevchenko
89cd6761b4 [java] restoring "dump threads" action availability on Windows
(cherry picked from commit 366fdffea056fd6896c090fae654d5c28f7289d4)

IJ-CR-155182

GitOrigin-RevId: d11412fa3094bf24ca495d1e6a504c5d4f922f11
2025-02-18 18:59:32 +00:00
Roman Shevchenko
e7a6ad4826 [java] retiring 'breakgen' DLLs from JVM process proxy (IJPL-16521)
(cherry picked from commit 3789c7f569bc1f220aa9c7524d36ac44a3754cf0)

IJ-CR-155182

GitOrigin-RevId: a7ff75cc9cc1a54c9c1b1628fb7c89f65cf8cf8d
2025-02-18 18:59:32 +00:00
Piotr Tomiak
7efa647a39 [webSymbols] WEB-63786 Rename refactoring in Astro's define:vars directive displays raw PsiSourcedWebSymbolRenameHandler
(cherry picked from commit 5005499dcbd0ca08c3542c323e47c3fb1014ad64)

IJ-CR-154369

GitOrigin-RevId: 4cd82ccd38253889cb8a217395915d5bf277644b
2025-02-17 12:52:25 +00:00
Nikita Pavlenko
a9fbe0f975 [PyCharm] PY-29177 Jupyter (fix): Added path resolution to relative local files (../../../1.png)
Part 1, initial commit of JS part.

(cherry picked from commit 8e28858f8e6b206b044c4b7cb46a6d4932a7e29d)


(cherry picked from commit f75ec86191d844fce62acb7d0f3835349d48378d)

IJ-CR-155171

GitOrigin-RevId: 16ddacb8aa77275dd894c488d36931670e45881c
2025-02-15 15:23:32 +00:00
Roman Shevchenko
daedb39b66 Cleanup (minor optimization; typos; formatting)
(cherry picked from commit 6b29ba37fb1a74af33bbbf78fb4d353bb1f76a60)


(cherry picked from commit 7e6df0a65da053bbc2aea9bdc08017565cfb5c8c)

IJ-CR-155171

GitOrigin-RevId: c4bc63da9d5e7d0457376bfaa4380cde59ab54d1
2025-02-15 15:23:32 +00:00
Roman Shevchenko
9c2cf149ef [jupyter] merging HTTP handlers
... because `JupyterCefPathHandler` is not a true "path handler" and doesn't fit into `BuiltInWebServer` security model; decoupling makes `WebServerPathHandler` easier to refactor. Besides, it delegates to an instance of `JupyterCefHttpHandler` anyway and needs an anonymous object to access `HttpRequestHandler#sendData` - so merging simplifies both the code and the logic.

(cherry picked from commit bd2122b0f2bbd2ae74da4dc2bdada6de1ccc3e1b)


(cherry picked from commit 7f157366ebb72b7083149e2a8d3a74bb17786f40)

IJ-CR-155171

GitOrigin-RevId: 8798ac40ef8abf9ed2e2994a28bd32b00ffed267
2025-02-15 15:23:32 +00:00
Nikita Biriukov
5dd2eb64cf [gradle][groovy] IDEA-343916 add Gradle icon in autocomplete variants for version catalogs with default location
The icon was available only for version catalogs with custom location.

Code review: IJ-CR-153925
(cherry picked from commit b00d2ccd1901705489097ad193dcd97cb0fb9062)

GitOrigin-RevId: 65fbd12dbe95f05763bb8d64c65ab7c1cd67db3c
2025-02-14 14:58:29 +00:00
Nikita Biriukov
7110c90cca [gradle][groovy] IDEA-343916 enable completion for a property with version catalog name
- fixes completion for "libs" `GradleVersionCatalogsCompletionTest#testCompletionForVersionCatalogProperty`
- also enables completion for all other version catalog names of a build

I realized that `GradleExtensionsContributor#processPropertiesFromCatalog` is called not only while resolving but also while completion: when only a part of catalog name was written. In this case, `name` argument is `null` and accessors should be created for all version catalogs of the corresponding build. To achieve that, I added `GradleVersionCatalogHandler#getAccessorsForAllCatalogs`.

I decided to add a separate method for getting all accessors because if I use the existing `getAccessorClass`, it would recreate `ProjectBuildModel` for each version catalog.

Code review: IJ-CR-153925
(cherry picked from commit 1250f5b3bb22b6ed1968683b0b6144418d0ad70f)

GitOrigin-RevId: 3f270387510983fbd51ba630c54a04db7d5a5025
2025-02-14 14:58:29 +00:00
Nikita Biriukov
5ad7bbe193 [gradle] IDEA-363330 fix NPE in SyntheticVersionCatalogAccessor
Code review: IJ-CR-153925
(cherry picked from commit 46cad97432505dbb6231380329e97fdae32daf0b)

GitOrigin-RevId: df2c71f2c70d5bcc644a19ee2bd028432563ffc5
2025-02-14 14:58:29 +00:00
Nikita Biriukov
741d8ddc72 [gradle][groovy] IDEA-343916 fix navigation from the reference with version catalog name
In runtime, navigation did not work for this example:
`my<caret>Libs`.junit.jupiter
Where myLibs is a name of a version catalog defined in settings.gradle. However, navigation would work if the caret is located on `junit`.

The Interesting point is that `GradleVersionCatalogsResolveTest` has the test `testNavigationToTomlFile2` that covers this case. It was passing well because:
- in runtime, references to version catalogs are resolving using the data from the Android module. The corresponding Psi elements - StaticVersionCatalogProperty are created in GradleExtensionsContributor.kt
- in tests, references were resolved using the older approach which still works if android module does not provide version catalogs. It didn't because GroovyDslParser from the android module was not available in tests. Hence, reference was resolved using the GradleExtensionProperty PSI element created in GradleProjectExtensionContributor.kt

Code review: IJ-CR-153925
(cherry picked from commit de4bcd81a61a3bc45119857357f43a8a21a75392)

GitOrigin-RevId: a143eb4a149cea8cc549986023793912bd5c869d
2025-02-14 14:58:29 +00:00
Nikita Biriukov
4eeaeee016 [gradle][groovy] IDEA-343916 resolve references in build.gradle to a TOML with custom location of included builds
The changes in this commit allow resolving references to version catalogs in included builds of a composite build if android module provides these version catalogs.

I found two existing approaches to resolve a reverence with a name of a version catalog (e.g. 'myLibs') to a TOML file:
1) Using the data from VersionCatalogsModel that is prepared at sync in `CommonGradleProjectResolverExtension#populateProjectExtraModels`.
Resolve happens in `GradleProjectExtensionContributor`. It works well for simple projects, not composite ones.
This allows navigation to a version catalog with custom location that could be specified in settings.gradle

2) Using the data from `ProjectBuildModel` that is prepared in android module. Resolve happens in `GradleExtensionsContributor`.
It works only if the code in android module correctly discovers version catalogs and provides them.
In comparison to the first approach, the data is compared not while syncing but when it is requested

Code review: IJ-CR-153925
(cherry picked from commit d2859302e5aba22413d3b1da874bff1cd15c46b2)

GitOrigin-RevId: f2f65eff37cbfed5da79cfa570fa61caafc667a2
2025-02-14 14:58:29 +00:00
Pavel Porvatov
be4ffdc36a IJPL-172384 Intellij IDEA 2024.3 freezes on opening Context Menu (Opt + Enter) using Catppuccin Latte or Gerry* Light themes
(cherry picked from commit 962c0efacc7ddde78d5610b9c79a409c23471b4c)

IJ-CR-154778

GitOrigin-RevId: 75f41a865282f6a6110a9eae000bd95cad6ad9a0
2025-02-14 13:22:47 +00:00
Pavel Porvatov
ab6b288cae IJPL-172384 Intellij IDEA 2024.3 freezes on opening Context Menu (Opt + Enter) using Catppuccin Latte or Gerry* Light themes
(cherry picked from commit d6e781abe0adbb39b2037c4e0c751ecefd7ed9a8)

IJ-CR-154778

GitOrigin-RevId: bab7b9840f607f3252f2c9112ebee348f2ce1426
2025-02-14 13:22:47 +00:00
Victor Turansky
8c3b6796a7 Revert "WEB-67146 Hide "Module" scope option from "Find in Files" popup for WebStorm"
This reverts commit 8011960cf942f31f7e54e14996eb5ec2e7891903.

GitOrigin-RevId: 9a61750af8953a783c59f8971aef55b89ea4cddb
2025-02-13 18:11:23 +00:00
Mikhail Pyltsin
85d38f47ea [java-runner] IJ-CR-154797 IDEA-363985 Temporary workaround for JNI restriction
(cherry picked from commit 636caa3aaf46f8bbe6b37ca474662bb95f705f97)

GitOrigin-RevId: dda8badbd17ef8a6f23930282779e482f12c10e4
2025-02-13 17:08:27 +00:00
Mikhail Pyltsin
3d43f7077c IJ-CR-153901 [java-parser] IDEA-366391 Inconsistent doc comment association after markdown support
- fix naming

(cherry picked from commit 26986a580dbe2d963c390fe850ad71ba393fde7c)

GitOrigin-RevId: d179fe7610545851823b0e7864a0903414b29ba2
2025-02-13 14:23:53 +00:00
Mikhail Pyltsin
770cfd6fff [java-parser] IJ-CR-153901 IDEA-366391 Inconsistent doc comment association after markdown support
- use language level to predict the order of comments

(cherry picked from commit e7986fcb2302dde7ad80fae9346f6a27edb576ae)

GitOrigin-RevId: f1cee2d3123a9a9845f999ac03984427799c84db
2025-02-13 14:23:53 +00:00
Mikhail Pyltsin
19af3dce28 [java-parser] IDEA-366391 Inconsistent doc comment association after markdown support
(cherry picked from commit 072bc109310e3059f3fab309dbd521ca2caad6e6)

GitOrigin-RevId: adabc2d3ad33c5f997f09565ddf24c4ef445290b
2025-02-13 14:23:53 +00:00