Commit Graph

298 Commits

Author SHA1 Message Date
Alexey.Merkulov
09bcd7c571 IJOB-601 Fix stop step in PyCharm onboarding tour lesson
(cherry picked from commit f2ebf56e5f6a16844be4e8b4666d0922de7a99e3)

IJ-CR-167266

GitOrigin-RevId: 174ce726be9a1dd0476d606e76ac1412ed0fb9cf
2025-06-27 19:37:54 +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
Konstantin Hudyakov
c015b73c0d [IFT] Refactor: do not pass non-action ID string in task method that expects an action ID
GitOrigin-RevId: 9530411f521527cc78ded6d98b659e8b6522749e
2025-01-13 17:36:44 +00:00
Vladimir Krivosheev
0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00
Vladimir Krivosheev
a522f96d66 do not export deps blindly (part 3)
GitOrigin-RevId: 7277ece9ded25f1111febc8dccaba9ac8cc75c21
2024-12-22 20:28:42 +00:00
Andrey Vokin
05f48da550 IJOB-583 PyCharm onboarding lesson broken (at step 16)
After PY-55548 no need to change type hint `object` to `float`

GitOrigin-RevId: d9ba34fb955df644b7892b070dc1f5523db7fce9
2024-12-20 12:24:32 +00:00
Vladimir Krivosheev
98799639aa do not use _test as lib - test targets do not support this
GitOrigin-RevId: f2f49db4294b6a64040dbbd5f1d95e972cbd70a3
2024-12-15 18:32:30 +00:00
Alex Plate
0cf4cd71de [Python Onboarding] There is no need to require a module to open the interpreter settings
Also, silently returning from the function will leave the link non-working, what is confusing for the user

GitOrigin-RevId: 7b0384c5810ab38268420f172c7e3ddbef0d7b15
2024-12-06 10:54:48 +00:00
Vladimir Krivosheev
17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Konstantin Hudyakov
513b928a78 IJOB-26 Do now show Run and Debug lessons in Aqua
These lessons expect that `Current File` run configuration is available, but it is not enabled in Aqua.

GitOrigin-RevId: 0412925c501f3234444702c5f6657078e83d5f30
2024-10-24 14:45:15 +00:00
Ilya.Kazakevich
3689a45984 Python NPW and Add SDK refactoring:
In SDK:
* `v1`: legacy API that should be dropped (but still used by Python Plugin and DS)
* `v2`: slightly better API used both for new project and interpreter settings. Supports DSL UI validation. Must be adopted by DS and Python Plugin somehow.

In NPW:
* `newProject`, `newProject/steps` (aka `v1`) deprecated, used only by DS and Python Plugin.
* `newProjectWizard` (aka PyV3): the right new API to use. Sooner or later will be adopted by DS and Python Plugin

GitOrigin-RevId: c3d49ce95079dc5ba589955381ddfe42326295fd
2024-09-23 21:14:22 +00:00
Ilya.Kazakevich
76865ffa15 Pycharm: next iteration on not to hide errors rally.
No need to return null: throwing exception in case of severe unexpected error is also ok.

GitOrigin-RevId: f8dde3f6d95c08abd97143a5ce3dc9b6eee33e54
2024-07-18 23:23:27 +00:00
Ilya.Kazakevich
ac673868e5 One more iteration to replace null with Result not to suppress errors.
Lots of code returns `null` without any reason. This ill pattern covers errors effectively making it impossible to find the root cause of any problem.

We replace `null` with `Result` to log and report errors.


Merge-request: IJ-MR-139850
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>

GitOrigin-RevId: 7cbb173f672a44a98f24e89e247428ab6e8ca01d
2024-07-18 16:07:28 +00:00
Konstantin Hudyakov
423a4cf421 IFT-573 Fix completion item detection in Python Basic completion lesson
GitOrigin-RevId: 83e1c2575c879fba8732417bd68ca783b52f5c99
2024-07-05 18:36:32 +00:00
Egor.Eliseev
0c73c9eff9 PY-72274 separating content for python core/pro plugins
1. Delete `intellij.python.community.impl.xml` (move content to `PythonCore` plugin). It is necessary to fix incorrect dependencies: `PythonCore`, `Pythonid` include the same module.
2. Fixed dependencies: if some plugin/module needs Python core functionality, then it should depend on `PythonCore`.


Co-authored-by: Vladimir Koshelev <Vladimir.Koshelev@jetbrains.com>

Merge-request: IJ-MR-136158
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: ce9ed4c17f601ee1ca2b6cf608f4e30fdac1d879
2024-06-19 21:39:24 +00:00
Alexey Merkulov
a73b1e5713 [IFT] Refactoring: extract same logic about showing onboarding feedback
GitOrigin-RevId: 899001a8cd92e7dbe95c2ea1efcb0d00037f1df1
2024-02-27 17:50:22 +00:00
Konstantin Hudyakov
8d397b5b30 IFT-556 Edit the position of debug GotIt tooltips in onboarding lessons
Since the debug toolbar is showing on the left, edit the GotIt tooltips positions to not intersect with tool window stripes.

GitOrigin-RevId: a801c231e87728ae7bf16edfb8135660ef574266
2024-02-26 12:45:37 +00:00
Konstantin Hudyakov
6027da7a0b IFT-549 Enable the Main Toolbar forcefully in onboarding lessons
Previously we have enabled the navigation bar to make the actions of the IDE header visible, but in the New UI it makes no sense. So, we have to enable the Main Toolbar now.

GitOrigin-RevId: cc29207ecc86dd56280556b9a3b43df240acb53f
2024-02-20 18:40:46 +00:00
Konstantin Hudyakov
ff7ceba2fa IFT-555 Refactor: do not modify the lesson variables in the LessonContext
It would be better to get rid of using mutable lesson properties and store mutable lesson state inside the lesson context or something with a clear life cycle. But such a solution requires more work.

GitOrigin-RevId: 1ab2b16a9af2ecc9713f2b77501c68830cb61f33
2024-02-20 18:40:41 +00:00
Ilya.Kazakevich
9d4751f238 [python, ds, jupyter]: Migrate Python support to V2
Layout:

  JPS modules
  `intellij.python.community`
  `intellij.python.community.impl`
  `intellij.python.parser`
  `intellij.python.psi`
  `intellij.python.psi.impl`
  `intellij.python.ast`
  use package `com.jetbrains.python`
  and go to `intellij.python.community.impl` v2 module

  JPS module
  `intellij.python`
  uses package `com.intellij.python.pro`
  and goes to `intellij.python/pro` v2 module

  Both v2 modules (along with lots of others) come with
  `PythonId` (prof) or `PythonCore` (community) plugins

  DS bundles  `intellij.python.community.impl`

  Idea and other Mini IDEs get `PythonCore` or `PythonId` plugin that bundle modules for Idea and mini IDEs

GitOrigin-RevId: 98f418c52d90d51b9adf3250c561f2c36c767e2d
2024-01-22 20:26:58 +00:00
Ilya.Kazakevich
50f0e2820c Migrate python feature trainer to v2
GitOrigin-RevId: 369e795edac8f6b04634fc7ede78dff431d0bc21
2023-12-21 19:50:08 +00:00
Dmitry Pogrebnoy
c52e01c89c IDEA-338866 Set time scope for feedback collection for onboardings
(cherry picked from commit 0cba21a9137f10365bacb6d998601e570940b0cd)

IJ-CR-121256

GitOrigin-RevId: a90bc9c9ce1c6462c9719ed4ddd305a5e1a44f29
2023-12-11 11:54:11 +00:00