318 Commits

Author SHA1 Message Date
Alexey Katsman
93a8360b34 PY-85634 Move InterpreterSettingsQuickFix to a separate file
Follow-up to IJ-MR-178613

GitOrigin-RevId: 19520730af0b9df85c5b98baf36de6902b5701c8
2025-11-25 18:47:50 +00:00
Alexey Katsman
10e67083be PY-85634 Move PyInterpreterInspection to a separate package
Follow-up to IJ-MR-178613

GitOrigin-RevId: e2508fd5a34b9684ae464611f1434ccff874ddbc
2025-11-25 18:47:50 +00:00
Liudmila Kornilova
d88228722b [indexing] IJPL-197540 Reconsider Indexing wording in hints and feedback notifications ("indexing") (3)
(cherry picked from commit 650c42150db6d3c534ebf771a651448e70499d57)

IJ-CR-179022

GitOrigin-RevId: 233cf4b52c3d0aac79cef6585735039e33051140
2025-10-27 15:57:02 +00:00
Alexey Katsman
a03643bb9c [python] PY-84777 Use system pythons as a fallback for SDK configuration
There was a problem with detecting system-wide pythons, which relied on
binary not being a part of conda env or virtualenv. But it led to
unrelated Hatch and Poetry pythons automatically configured as
interpreters in new projects. Another problem is that free-threaded
python was chosen as default interpreter with highest priority because
of the newest version.

This change uses SystemPythonService to detect system pythons properly,
also free-threaded python used as a default interpreter only if it's the
only available option.

Merge-request: IJ-MR-179008
Merged-by: Alexey Katsman <alexey.katsman@jetbrains.com>

GitOrigin-RevId: 73bc98aed2918c44832b57f22b86c9c7d17a4301
2025-10-22 13:10:20 +00:00
David Lysenko
fc7d863a50 IJ-MR-176106-to-253
[pycharm] PY-81494 Fix deadlocking code


Merge-request: IJ-MR-179432
Merged-by: David Lysenko <david.lysenko@jetbrains.com>
[pycharm] PY-81494 Config fixes

PY-81494

[pycharm] PY-81494 Fix further flakiness

[pycharm] PY-81494 Address feedback

[pycharm] PY-81494 Fix flakiness

[pycharm] PY-81494 Separate modules

[pycharm] PY-81494 Fix tests

[pycharm] PY-81494 Change waitFor to awaitExit for coroutines

[pycharm] PY-81494 Configuration fixes

[pycharm] PY-81494 Add usage statistics

[pycharm] PY-81494 Address feedback

[pycharm] PY-81494 Add more limit tests

[pycharm] PY-81494 Post-rebase fixes

[pycharm] PY-81494 Implement logging tests

[pycharm] PY-81494 Final design adjustments

[pycharm] PY-81494 Refactor flows

[pycharm] PY-81494 Add more OutputSection tests

[pycharm] PY-81494 Add Toolbar tests

[pycharm] PY-81494 Add InterText tests

[pycharm] PY-81494 Add FilterActionGroup tests

[pycharm] PY-81494 Add EmptyContainerNotice tests

[pycharm] PY-81494 Add CollapsibleListSection tests

[pycharm] PY-81494 Add ActionIconButton tests

[pycharm] PY-81494 Address feedback

[pycharm] PY-81494 Address feedback

[pycharm] PY-81494 Post-rebase fixes

[pycharm] PY-81494 Address initial feedback

[pycharm] PY-81494 Fix existing tests & add new to tree

[pycharm] PY-81494 Implement copy to clipboard button

[pycharm] PY-81494 Amend design

[pycharm] PY-81494 Begin implementing output tests

[pycharm] PY-81494 Refactor file structure

[pycharm] PY-81494 Implement tests for process list

[pycharm] PY-81494 wip tests for process list

[pycharm] PY-81494 Finishing touches

[pycharm] PY-81494 Consolidate list logic in the model

[pycharm] PY-81494 Add logging limits

[pycharm] PY-81494 Implement open tool window on exec service error

[pycharm] PY-81494 Implement open command in terminal

[pycharm] PY-81494 Add expansion actions

[pycharm] PY-81494 Implement categorization by coroutine names

[pycharm] PY-81494 Memorize expansion states between tool window openings

[pycharm] PY-81494 Memorize scroll state between tool window openings

[pycharm] PY-81494 Introduce collapsible section for process info

[pycharm] PY-81494 Implement view setting filtering

[pycharm] PY-81494 Refactor process logging to use shared flows

[pycharm] PY-81494 Implement tests for ProcessList composable

[pycharm] PY-81494 Implement process toolwindow prototype

Merge-request: IJ-MR-176106
Merged-by: David Lysenko <david.lysenko@jetbrains.com>


Merge-request: IJ-MR-179303
Merged-by: David Lysenko <david.lysenko@jetbrains.com>

GitOrigin-RevId: 44552a582dd628d206b207e02e6f24c7749b4d9f
2025-10-22 09:04:47 +00:00
Vladimir Krivosheev
67a6dac7f8 IJPL-209476 IJ-CR-146078 kotlinx-datetime-jvm, kotlinx-document-store-mvstore, kotlinx-html-jvm, kotlinx-serialization-protobuf, kotlinx-collections-immutable
GitOrigin-RevId: 058331a1e834d7780456f98d003afe56abfc36a0
2025-10-12 11:10:47 +00:00
Nikolay Chashnikov
c3d006d45e [plugin model] use 'internal' visibility for content modules which are used from modules of other plugins (IJPL-207059)
These modules and their classes don't have external usages, so they shouldn't be made 'public' at least for now. The 'namespace' is also set to 'jetbrains' for plugins which contain such modules or modules which use them to allow 'internal' visibility to work.

GitOrigin-RevId: 198007e49320075dc27faadde6963e98332296a4
2025-10-08 18:39:06 +00:00
Ilia Kirianovskii
f43aa95086 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
2025-09-29 00:11:15 +00:00
Vladimir Krivosheev
1b3c93d736 IJ-CR-146078 IJPL-209510 use kotlinx-serialization core and json product modules instead of jps lib (except fleet - no idea what to do)
GitOrigin-RevId: b74e1ac62eb7917aac3d5edb4bbfd2be2a4a191e
2025-09-26 20:36:41 +00:00
Vladimir.Koshelev
c5b44ca085 [python] PY-84398 get rid of package prefix in python modules.
It doesn't work. Sad, but true.

GitOrigin-RevId: c6cf4f2971ce813a2ce18afb2dcee22c2c5dad75
2025-09-26 15:15:29 +00:00
Vladimir.Koshelev
ba393efaa7 [python] PY-84398 get rid of embedded loading rules in PythonCore plugin, fix related issues
GitOrigin-RevId: 54f4bb333e0ca06a002a86c75f0bbc474863253e
2025-09-26 15:15:29 +00:00
Ilia Kirianovskii
9522b27a4d [python] Add intellij.python.featuresTrainer._test module descriptor to run tests in dev-mode (IJPL-116621)
GitOrigin-RevId: 3149ff3901c95cf2ca9cdb2a6c7dd5f775b7243a
2025-09-24 23:57:49 +00:00
Ilia Kirianovskii
6f8920da99 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 2394c1289e33945f7640f249b17cbf34b31fd695
2025-09-23 09:25:59 +00:00
Ilya.Kazakevich
fd6322f117 Python: move classes to com.jetbrains.python.sdk.impl and close it.
`com.jetbrains.python` was closed by accident.

GitOrigin-RevId: 78109e34c720abfa2cefb1fa7d8d20db2ed1ad11
2025-09-22 18:50:06 +00:00
Ilya.Kazakevich
3fafaf4bf6 Python: close symbols and "tests" package to test to make sure no new symbol gets opened.
Bazel plugin isn't a problem as it is now controlled by JB

GitOrigin-RevId: c54256deac88c6c2f5a3a29c9efb7a0a80b5e106
2025-09-01 22:15:43 +00:00
Ilia Kirianovskii
dc268560b6 [bazel] Update build files (IJI-2835)
GitOrigin-RevId: 275260ab73f59d3c08f0b4cb9f4c89b74054094a
2025-08-20 08:49:22 +00:00
Leonid Shalupov
cff76ea65e bazel: split test and build sections in convert jps to bazel:L update Bazel files
GitOrigin-RevId: 90063178de33c2a95bfdebd160a721d6977d8097
2025-07-18 16:18:47 +00:00
Alexey.Merkulov
80350f7f2a IJOB-601 Fix stop step in PyCharm onboarding tour lesson
GitOrigin-RevId: f2ebf56e5f6a16844be4e8b4666d0922de7a99e3
2025-06-26 20:33:30 +00:00
Vladimir Krivosheev
c81436d537 IJ-MR-162467 IJ-CR-146078 do not add exra test deps for a good platform modules
GitOrigin-RevId: 61f681399a059c2eed494d56ae3b2ed54d74216c
2025-06-22 23:15:09 +00:00
Evgenii Ilichev
06fb3e21e6 Update test definitions in BUILD.bazel
GitOrigin-RevId: 12636c0153e8909f9d9658a07278edac5ceb9c23
2025-06-18 19:05:49 +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
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
Ilya.Kazakevich
cea3e7d9c0 Python: make python with language level independent from python binary to support conda and other python types.
GitOrigin-RevId: 2752eed732ab6d3e45da38714106700ba2014bd8
2025-06-07 22:05:56 +00:00
Vladimir Krivosheev
65fe061584 IJ-MR-162467 don't export intellij.platform.analysis
GitOrigin-RevId: fcbcb68010b58cb507fee2c47473758b999e471b
2025-06-04 11:16:33 +00:00
Vladimir Krivosheev
fbc9805e89 IJ-MR-162467 don't export intellij.platform.jps.model
GitOrigin-RevId: ebaebc90d514e5f3046fe2b973647da4bf156625
2025-05-14 18:10:23 +00:00
Vladimir Krivosheev
e6503904f1 update bazel files
GitOrigin-RevId: 56d6864910cad2dfe611d38d680ee290d4209f79
2025-05-13 18:02:20 +00:00
Ilia Kirianovskii
a38a19fa65 [bazel] Update build files
GitOrigin-RevId: b3eb595781593209fca189a18c0091f11621bd51
2025-05-13 15:36:09 +00:00
Ilya.Kazakevich
01754edfcb Python: drop unused, deprecated symbols.
Still used symbols are in `DeprecatedUtils` now to be dropped later

GitOrigin-RevId: 550eab3d417185b868072b06101bf7634263b4a2
2025-05-12 18:17:00 +00:00
Vladimir Krivosheev
3616fb0a2f simplify bazel labels (another step towards using simple names that reflect directory structure) — handle camelCase case
GitOrigin-RevId: 709eafe49fcb3be48c50440ae19a08e083bc8cb3
2025-05-12 07:18:42 +00:00
Vladimir Krivosheev
53ab1b258e IJ-MR-162467 do not export intellij.platform.refactoring
GitOrigin-RevId: 4bb68401d046d1fffba4fa73935bb1c404d8d49f
2025-05-09 20:49:36 +00:00
Vladimir Krivosheev
7cf9ef2b29 update bazel files
GitOrigin-RevId: e78f86bd17affd7892fd1af8e157f033906b1865
2025-05-09 15:36:06 +00:00
Vladimir Krivosheev
644a6b2e81 IJ-MR-162467 don't export intellij.platform.editor.ui
GitOrigin-RevId: 8894abe16fb347de7649bfb2d7888b6e6fe0232c
2025-05-09 14:20:40 +00:00
Ilia Kirianovskii
3503d6806a [bazel] Update build files
GitOrigin-RevId: bbcaca8239b808c20285560ab76127a6302a571b
2025-04-28 18:53:43 +00:00
Ilya.Kazakevich
2ab569bddf Python: Add plugin dependency to make sure a test can be run with a gutter.
GitOrigin-RevId: b437c4fc5b260f9a67173204d7c410393b98577f
2025-04-28 16:45:00 +00:00
Ilya.Kazakevich
30b2ec39e8 Python: fix flaky test.
python indexing process might still keep the dir

GitOrigin-RevId: 6abcfafa033a91fa631d213f3ee6e578843a3d86
2025-04-16 12:31:55 +00:00
Ilia Kirianovskii
1d358506ed [bazel] Update build files
GitOrigin-RevId: 3be0c56d654b1f00a60c75ed4c2fb1f075e3fc5f
2025-04-16 06:55:34 +00:00
Ilya.Kazakevich
f88aadee36 Python: wrong packages fixed
GitOrigin-RevId: ddbeec662fb1a08a5ad961a4d8dac10c40557e71
2025-04-15 20:28:00 +00:00
Ilya.Kazakevich
63282e2d43 PY-78817: Migrate a learning project to createVenvAndSdk, cover with test.
This is a top-level function used by a Misc project.

GitOrigin-RevId: 64f334813091cfc8b12bf1dfe85f1ed1ecb8637a
2025-04-15 20:21:47 +00:00
Ilya.Kazakevich
f21b818c35 Python: tour: two classes merged as prep for PY-78817.
No need to have two classes

GitOrigin-RevId: 2da0b9b4c9ac7354cb3d165177f717581a6f4ff4
2025-04-04 15:15:55 +00:00
Ilya.Kazakevich
6588c8163a fixup! Feature trainer: add doc and annotation to simplify refactoring Please enter the commit message for your changes.
GitOrigin-RevId: edcd2f82c56be5b081f928dfc36462cc22f27a7b
2025-04-04 04:51:15 +00:00
Ilya.Kazakevich
3d1254c2a6 Feature trainer: add doc and annotation to simplify refactoring Please enter the commit message for your changes.
GitOrigin-RevId: 738e4a0f121055efaa062c1cba4c14182259ea20
2025-04-03 19:23:36 +00:00
Ilya.Kazakevich
065ab05d23 Python god function renamed
GitOrigin-RevId: 5481c6b1026bcebd866aed8a283c83ac63918039
2025-04-02 23:46:00 +00:00
Konstantin Hudyakov
9df0757ff7 [IFT] IJOB-589 Fix breakpoint highlighting position
Need to finally find out how to calculate the position of the particular gutter icon :(

GitOrigin-RevId: bf52157c66a928b65d8dcb646626c6f10554d04f
2025-02-24 11:43:41 +00:00
Konstantin Hudyakov
dc3e4391fb PY-66050 Add Jupyter module to the Python learning course
It can't be explicitly added to the `PythonLearningCourse` because Python course can exist without Jupyter plugin, for example, in PyCharm Community.

GitOrigin-RevId: 89d30d38fe3a63fc6eec9fe6ff10ca1f4bdf9f6e
2025-01-23 12:12:08 +00:00
Vladimir Krivosheev
56d22a6b8d don't export intellij.xml.psi - update bazel files
GitOrigin-RevId: d32c1dbb965bf356ea3d948cf0ed68727da0b463
2025-01-19 17:03:43 +00:00
Vladimir Krivosheev
4453c70b07 don't export intellij.xml.psi
GitOrigin-RevId: 0186a8f9f878122dbb297ca06f64fa7fd4b2e579
2025-01-18 21:21:04 +00:00
Vladimir Krivosheev
8bd9511e77 cleanup - final and internal
GitOrigin-RevId: c08a53abe9527e19dcbced1b00abb75307f9e95a
2025-01-18 21:21:04 +00:00
Yann Cébron
9428900cd7 [devkit] Resolve action IDs for Activate$ToolwindowID$ToolWindow (IJPL-165055)
remove suppressions

GitOrigin-RevId: 98ae416120a3da1ef1de1567518e9e5af7c1eb5e
2025-01-16 17:48:29 +00:00
Yann Cébron
6d46b77f7e [devkit] inject reference "Action ID" (IJPL-116495)
add injections: featuresTrainer & lessons

GitOrigin-RevId: 910155a2594afa977c55b306fad377b25c412436
2025-01-14 16:06:04 +00:00