- migrate to Symbols API
- add new logo
Co-authored-by: adelf <adel.faiz@gmail.com>
(cherry picked from commit 38df2c3c89446bb5c3ff2901280245b718225fe9)
GitOrigin-RevId: e2ea805b4f88e9d791bb54f7570c51cf1029c67d
Otherwise, `org.jetbrains.kotlin.idea.testGenerator.all.AllTestsGeneratedTest.testAllTestsIsUpToDate` fails with an error like:
```
com.intellij.platform.testFramework.core.FileComparisonFailedError: 'GradleBuildFileHighlightingTestGenerated.java' is not up to date
Use 'Generate Kotlin Tests' run configuration to regenerate tests
at org.jetbrains.kotlin.testGenerator.generator.TestGeneratorKt.write(TestGenerator.kt:156)
at org.jetbrains.kotlin.testGenerator.generator.TestGenerator.write(TestGenerator.kt:72)
at org.jetbrains.kotlin.testGenerator.generator.TestGenerator.write(TestGenerator.kt:32)
at org.jetbrains.kotlin.fe10.testGenerator.Fe10GenerateTestsKt.generateK1Tests(Fe10GenerateTests.kt:172)
at org.jetbrains.kotlin.idea.testGenerator.all.AllTestsGeneratedTest.testAllTestsIsUpToDate(AllTestsGeneratedTest.kt:10)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at com.intellij.TestAll.runOrCollectNextTest(TestAll.java:399)
at com.intellij.TestAll.run(TestAll.java:280)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
```
GitOrigin-RevId: c8a0adce00acd8196ac923bf62425f682be70931
Previously, some messages were written with the category `#kotlinx.coroutines.CoroutineScope`
(cherry picked from commit 2d665f82654f3d2b1d50c0128de7019f7d754f44)
IJ-CR-150935
GitOrigin-RevId: ec0073f82e41c973886284f6cba0a57d720f1329
Also, silently returning from the function will leave the link non-working, what is confusing for the user
(cherry picked from commit 7b0384c5810ab38268420f172c7e3ddbef0d7b15)
IJ-CR-151630
GitOrigin-RevId: 15bdac04edde15e1b181e18d9006485c141b6308
DockManager.getContainerFor() returns DockManager.dockContainer for editors
opened in the main window. This made us think that the singleton editor opened
in a Split is shown in a DockWindow. As a result the same singleton file
with disassembly was opened in another Split in the main window.
(cherry picked from commit 8584fd131615209cf26ff70315d959828a6a46d2)
IJ-CR-151729
(cherry picked from commit 201e364498109091c37d35cb43c59014eb90f58f)
IJ-CR-152082
GitOrigin-RevId: bdd2a78b5958066f77843931c12ad626da5fb76f
Enhance null safety for project path names in dialog titles and UI elements. Adjust logic to handle cases where parent folders or file names are missing, ensuring better user experience and preventing potential null pointer exceptions.
(cherry picked from commit 9c37e2d41b113e42ee4f11efb4097f20cb1faf85)
# Conflicts:
# community/platform/platform-impl/src/com/intellij/ide/trustedProjects/TrustedProjectStartupDialog.kt
GitOrigin-RevId: 6ab20958aecbf89f6351ec9ad0b3022067146220
The OOM already happened and current dump won't help to detect what was wrong.
Yet, it creates "empty" reports and takes user time to collect snapshot, restart IDE and send the report.
(cherry picked from commit 862e560a4a337e56ba4ca7f7467cae5db30d9a8b)
IJ-CR-151911
GitOrigin-RevId: 91735559c7e21b371171bc789e4db0b0449e6c9d
* Fixed also the Python Console case: transposed 1-Dim table there as well
(cherry picked from commit a6c783dc38aa3c5050a836c36d8a76e8b3cbda19)
GitOrigin-RevId: b7fe92925fe8702ffd80e56a4fe0c313c6411372
* Transposed 1-D numpy array on the Python side of the Debugger
* Applied setMaxItemsForSizeCalculation method to the myRowHeader table to minimize calculations for getRowHeight
(cherry picked from commit f88fa625f2d8673cba2c9819f2907462b3f2301d)
GitOrigin-RevId: de6f919f18caec6624b1696790a88e10659e96f0
We might have scripts there (on Windows) like `fix_path.cmd`, we need to exclude them
(cherry picked from commit e09ceac554f456a3d8a931e0dfe26872908c303c)
IJ-CR-151567
(cherry picked from commit 8a8d68e41a6bd607622f3b6afa76e5dc878f4236)
IJ-CR-151953
GitOrigin-RevId: 9a463cdc1e0c348c2ffa27f26e64781f5014bd97
WSL v1 is still not supported. However, there is a notification suggesting a hack.
Previously, no notification was shown and git was detected on a host machine producing
"detected dubious ownership" errors.
Also introduced `UnsupportedWSLVersionException` preventing potential miss-leading
notifications in `WindowsExecutableProblemHandler` and hide VCS widget for the
unsupported WSL case.
(cherry picked from commit 9f86bd101b0d2612e116933d2ef086c4b7ae8148)
IJ-MR-151925
GitOrigin-RevId: 5ae4e5711900c7c14f1688f26b245b0f6ddb380f
Locking in `java.lang.Deprecated` also led to locking out `kotlin.Deprecated`
alternative symbol.
This, in turn, led to adding explicit imports for everything from `kotlin.*`
package.
This seems like a wrong logic, but this will be dealt with later,
probably as a part of KTIJ-32231.
The current solution is to not lock out the `kotlin.Deprecated`
symbol for `KtUserType` positions (it includes annotation calls).
This logic is already present in K1 Mode's `OptimizedImportsBuilder`.
Also, add a muted testcase for KTIJ-32231 (doesn't work in both K1 and K2)
Also, add muting logic to the K1's `AbstractOptimizeImportsTest`
^KTIJ-32202 Fixed
(cherry picked from commit 89ce6287a44bd05b55cc6bbb3b01157bee30b41c)
IJ-CR-150012
GitOrigin-RevId: e4d004a7a10631afca474330c966a9332933d3da
Better naming, get rid of redundant nullable lists early
(cherry picked from commit 6cbaaee13a290500d7fbdc7d96fdd2946723cb05)
IJ-CR-150012
GitOrigin-RevId: 20c92c10aafd73ee0c65c662f49b51760f358489
Add the new setting: create poetry env in the project.
Merge-request: IJ-MR-149143
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit ed85efe339518cdf6949752be286172113931c22)
IJ-MR-149143
GitOrigin-RevId: 3a682aac846e4a80e8310a3dcc0a5f1c988d28e2
If the project has 2+ JDKs, it's possible that we want to use an annotation from another module, which uses another JDK, so we won't be able to find it if we search inheritors of java.lang.Annotation defined in our JDK only
Fixes IDEA-362050 Annotation auto-complete is broken for some classes from other modules
(cherry picked from commit 3133dce302d9dfd03e169678c00fb4d0e23dd50b)
IJ-CR-151470
GitOrigin-RevId: 9f67471bcb07f2da5717414466832c5630414fd2
Check YieldType of yield expressions in PyTypeCheckerInspection
Check that (Async)Generator is used in (async) function
Check that in 'yield from' sync Generator is used
Convert PyMakeFunctionReturnTypeQuickFix into PsiUpdateModCommandAction
Infer Generator type for lambdas
When getting function type from annotation, do not convert Generator to AsyncGenerator
Introduce GeneratorTypeDescriptor to simplify working with generator annotations
Merge-request: IJ-MR-146521
Merged-by: Aleksandr Govenko <aleksandr.govenko@jetbrains.com>
(cherry picked from commit b3b8182168c5224f0e03f54d443171ccf6ca7b89)
IJ-MR-146521
GitOrigin-RevId: a95670d7e2787015bcf162637ea6d7bfb47a312a
Updated PyFunction to account for implicit 'return None' statements when inferring return statement types.
It affected return type inference of PyFunction.
Fixed a failing test related to formatted strings.
Added a quick fix to make all return statements explicit.
Updated the CFG to include PyPassStatements, enabling detection of exit points in empty functions.
Simplified PyMakeFunctionReturnTypeQuickFix to independently infer function types and handle required imports. Currently, it does not support specifying custom suggested types.
Merge-request: IJ-MR-148719
Merged-by: Aleksandr Govenko <aleksandr.govenko@jetbrains.com>
(cherry picked from commit 9f58961f9eb70e4f9dbba7359f5aafdfd392b7e2)
IJ-MR-148719
GitOrigin-RevId: 68ef5c4a1cc0fcaffd750cc0713250a106136643