Commit Graph

703 Commits

Author SHA1 Message Date
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
Alexander Lobas
3f90c0e90f IJPL-49419 Move old UI to plugin
GitOrigin-RevId: 0ebbb04fd33b7663c08303a1e3f56057fa8884d9
2024-05-12 09:25:36 +00:00
Vladimir Koshelev
ce5999a4af [PY-64403] move WhatsNew from rider to a platform module
Merge-request: IJ-MR-131247
Merged-by: Vladimir Koshelev <Vladimir.Koshelev@jetbrains.com>

GitOrigin-RevId: 73c9a19763d4f770d73da9223abd41368aca6a1d
2024-05-03 16:21:12 +00:00
Andrey Vokin
06cf1ece7c PY-71860: make "AI Assistant" toolwindow available when promote aciton invoked
GitOrigin-RevId: 3ed03db935991f8007b83965a9ea82a2677ef897
2024-04-23 20:25:43 +00:00
Dmitry Batrak
881b370b95 RDCT-1092 Hotkeys are displayed incorrectly in popups on different OS
replace SystemInfo.isMac with ClientSystemInfo.isMac() in keyboard-shortcuts-related code

GitOrigin-RevId: 640604dff8e09d1aeccd0edc156873dd63c09fea
2024-04-22 19:16:22 +00:00
Andrey Vokin
7c54716a66 PY-71860: make possible to disable AI Completion Action promoter
GitOrigin-RevId: 8acdb5947e990e67013c3f4b4ccbdda05c2e03bb
2024-04-19 20:14:17 +00:00
Andrey Vokin
1cc5303a3a PY-71860: AI Actions promotion
GitOrigin-RevId: 52648b965e5663a8420cf63bfa30f12de24a8b10
2024-04-18 22:30:53 +00:00
Andrey Vokin
4b947848b9 PY-71860: add AI Completion Promotion to PyCharm Community dev build
GitOrigin-RevId: 52407e14cf42d5a071e7fc086e2cef0d3a3a9020
2024-04-18 22:30:48 +00:00
Andrey Vokin
6fd89125f9 PY-71860: add AI Completion Promotion to Settings of PyCharm Community
GitOrigin-RevId: e4741fd50d0e24308a9566a07c135dd1feadfbf1
2024-04-18 22:30:37 +00:00
Andrey Vokin
702406397d PY-71860: add AI Completion Promotion to Settings of PyCharm Community
GitOrigin-RevId: dd46a2b57873b0043dfa935ab085d6de326bc01c
2024-04-18 22:30:32 +00:00
Andrey Vokin
d012a532c4 PY-71860: AI Completion Promotion should open "Install AI Assistant" toolwindow
GitOrigin-RevId: e55264d1ed982e94a3594cb7833e87e2e8927152
2024-04-18 22:30:27 +00:00
Andrey Vokin
63f63bb9ba PY-71860: make promotion action presentation customizable
GitOrigin-RevId: 2bd48a5bafc00377555d9711f253d7a844586757
2024-04-18 22:30:22 +00:00
Ilya.Kazakevich
d6122096a5 [pycharm] useless dependency removed
Run `PluginModelTest`

GitOrigin-RevId: 039ff0be59bc8cb9eae7fc5b517914dd27010a59
2024-04-16 04:23:10 +00:00
Ilya.Kazakevich
636c384c85 PyCharm: Get rid of includes in v2 plugins: they do not play well with v2.
Autolayout doesn't obey includes. With plain copy/paste (which is a recommended approach for now) we do not have to list all modules manually in `pluginLayout`.

It is taken from `content`.

We also refactor out PyCharm training, as it depends on plugin that may not exist

GitOrigin-RevId: c225b3565a4b3ea1121a7cdf0b072a63b9448ca4
2024-04-16 04:23:07 +00:00
Aydar Mukhametzyanov
2e5abc046e IJPL-43531 Support light/dark onboarding backgrounds in PyCharm
GitOrigin-RevId: c5dfc4b03e0e763a41f5510f20683a13a6e093cc
2024-04-15 11:43:21 +00:00
Aydar Mukhametzyanov
4c1fc883e6 IJPL-43531 Support light/dark onboarding backgrounds in IDEA
GitOrigin-RevId: 0d78ce5e56673f7e868c8b579d742c1b7a572442
2024-04-15 11:42:49 +00:00
Ilya.Kazakevich
78be43bdb1 Kotlinize class (required for PY-64402 to make fields bindable)
GitOrigin-RevId: d940f4984827399da77b2c2a0afbd57f01e7d2c1
2024-03-22 18:18:19 +00:00
Ilya.Kazakevich
a23a5760f2 Rename .java to .kt
PY-64402

GitOrigin-RevId: dba98ef8b1e2d10d90894d265b333f7235a19f71
2024-03-22 18:18:13 +00:00
Ilya.Kazakevich
49fd59c70a PY-64402: Only create main.py if "create welcome script" checkbox set for the Jupyter project.
We used to create `main.py` in any case, but must do that with checkbox.

This code is not elegant due to boilerplate and possible inconsistency (generator might ask for the welcome script and ignore it), but this is the only API for now.

GitOrigin-RevId: 5ecf78f017229aa77d9ec296e46fc8bb742ccc0a
2024-03-21 20:10:55 +00:00
Aydar Mukhametzyanov
5d73e6ebe9 IDEA-344208 Add onboarding background image to PyCharm
GitOrigin-RevId: ffa158a4ccb347002e7330efa4881421c4460c20
2024-03-20 09:08:48 +00:00
Ilya.Kazakevich
ee35416f38 PY-64402: WIP: Make an "Other" group collapsed.
Such groups are rendered as plain text until a user clicks on them. After that, they are substituted with children.

Since there's been no such API in the platform, I've introduced `com.intellij.openapi.wm.impl.welcomeScreen.collapsedActionGroup` which works along with `ActionGroupPanelWrapper` for project types in "New project wizard".

It is now only used by Python, see `PycharmNewProjectStep`

GitOrigin-RevId: f38a0643ce6bc65e5e2f6485ef255ee20ba2e7a5
2024-03-09 04:26:20 +00:00
lada.gagina
994a4414ad [python] Add a promo page for JavaScript project generator in PyCharm Community (PY-65422)
GitOrigin-RevId: 1796e036ac7fe7bee2e8b7003120704259fffc6c
2024-03-08 18:02:51 +00:00
Aleksei Kniazev
10a2e20675 [python] commit python sdk after setting module path on project configuration(PY-65425)
GitOrigin-RevId: b4004d85c49e0495f92bf1a0821798922217c525
2024-02-20 19:12:31 +00:00
Nikita Pavlenko
bf4eb54a5a [python] PY-70409 Jupyter: HTML-button in Jupyter note promo will open now default IDE window for PyCharmPro installation.
GitOrigin-RevId: 9469804d6fdc35e5e4032c7064ab22756084d449
2024-02-20 13:00:06 +00:00
Zhanna Gorelova
bee68bb4e5 [platform][ultimate] IDEA-321298 try ultimate logic for pycharm promo was added
GitOrigin-RevId: 88bb7a930b6e3723660f562455670a5016ff9331
2024-02-12 16:08:24 +00:00
Vladimir Koshelev
d9584a848e [python] get back a fallback for settings PYCHARM_PYTHON_PATH via environment variable.
GitOrigin-RevId: 9360087969884db98d85ed0c1ca4af7e1e203d63
2024-02-08 01:43:10 +00:00
Vladimir Koshelev
34daa7eb92 [python] refactoring settings interpreter from tests a bit
GitOrigin-RevId: 3c48f1e07967a8d236ef318cfe9815a9abb48118
2024-02-07 00:06:05 +00:00
lada.gagina
56223c8551 [python] Remove redundant check for plain txt file (PY-64104)
GitOrigin-RevId: 69e00d437221001f49980494f9d455fa4d2b6251
2024-01-23 18:06:29 +00:00
lada.gagina
061b5b112e [python] Fix venv creation from requirements.txt file for newly cloned projects (PY-64104)
GitOrigin-RevId: a27188a065e1f425b9584afcba649de23a4740eb
2024-01-22 22:08:59 +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
ec41330082 [python, ds] convert jupyter-core and ds.remoteInterpreter to v2,
GitOrigin-RevId: 1e9d89af8a64e3cc20fc78b08c7adf87b5a1cf6b
2024-01-17 23:39:27 +00:00
Ilya.Kazakevich
b533e29ce0 [python] get rid of classes registered in wrong modules
You must register class in the same v2 module class sits

GitOrigin-RevId: c7fcccd27c2fcaa3d9391d1173f61ad43fe2b076
2024-01-17 04:59:01 +00:00
Yuriy Artamonov
a95a414c25 [fus] IDEA-326820 Migrate the rest of counter usage collectors to Kotlin object
GitOrigin-RevId: 82cc558fe31af9224a3c4891d6051310d8502058
2024-01-14 21:00:56 +00:00
Ilya.Kazakevich
0b4e1e1bd6 [python] community customization moved to the right package
GitOrigin-RevId: b55bcb5356cff442b8f7ba87bd450eabe82c3d0d
2024-01-14 16:13:35 +00:00
Ilya.Kazakevich
b599287e32 [python] Refactor icons layout in community
Icons removed from SDK package (no need to have a separate class for it), ultimate icons moved out of community module.

There are only 3 icon packages in community:
* `PythonParserIcons`
* `PythonPsiApiIcons`
* `PythonIcons` (aka `intellij.python.community.impl`)

Latter two have `.json` mapper to replace old icons with new one for New UI which is included into corresponding `.xml` file.

GitOrigin-RevId: 0438ad4485b5a82a89c81ec63ae6e575d5bb52de
2024-01-12 15:53:48 +00:00
Aleksei Kniazev
8a3c0fc909 [python] disable python welcome script generation for projects other than Pure Python (PY-63584)
GitOrigin-RevId: 0fd0aad79c6fcbb076d377014a3da276ad25efcf
2024-01-12 13:48:53 +00:00
Ilya.Kazakevich
826e478335 [python] Move icons in SDK in the right package
GitOrigin-RevId: fcd5331038928a183665a4869c7ea4e34502f1fb
2024-01-12 10:53:46 +00:00
Ilya.Kazakevich
8cc30f7113 [python] icons moved to com.jetbrains.python package, as whole community.python.impl must be there
GitOrigin-RevId: 8c3d1c920d0f34dbfe75399027cc348020a809dd
2024-01-11 20:29:35 +00:00
Ilya.Kazakevich
50f0e2820c Migrate python feature trainer to v2
GitOrigin-RevId: 369e795edac8f6b04634fc7ede78dff431d0bc21
2023-12-21 19:50:08 +00:00
Andrey Cherkasov
06342a71b3 [python] Make extension classes final
GitOrigin-RevId: d650b5e733d806a06911f942cfd1dec70197b061
2023-12-13 20:02:09 +00:00
Anton Bragin
4778e8d59e DS-6061 Disable new interpreter creation UI for DataSpell
GitOrigin-RevId: eede0cb124e6b9502d36a370ac14b414b20704c3
2023-12-01 18:08:34 +00:00
Vladimir Koshelev
ee111f9ed9 [PY-62397] fix bundle names for promo configurations in pycharm-community-promo.xml
GitOrigin-RevId: bff27cb3bb374e434c060a90bf4835ca12f3b384
2023-11-29 15:11:41 +00:00
Aleksei Kniazev
295938dc46 [python] group projects by type in NPW (PY-60214)
GitOrigin-RevId: 99d6e8d99be6bf9b5cf5088f70e75856960af53b
2023-11-29 03:20:12 +00:00
Vladimir Koshelev
487b46bc7f [PY-62397] cleanup texts after proofread
GitOrigin-RevId: 70a29741e7a6766559d0410c455eadac535a00fc
2023-11-28 21:02:30 +00:00
Vladimir Koshelev
3a3804963c [PY-64340] fix size problem with DialogBuilder, do not use any decorators
GitOrigin-RevId: 21fee0981f661e7889b95c8ad3e9e17338607a36
2023-11-28 21:02:26 +00:00
Vladimir Koshelev
614c980cd9 [PY-62397] convert collector to object and adjust utm_campaign to the standard way
GitOrigin-RevId: 5858552f7c3416ac9a06cd3efae9dbccbd22334e
2023-11-28 01:26:25 +00:00
Vladimir Koshelev
084fcc392a [PY-62397] fix typo in AI Completion
GitOrigin-RevId: bf435327d1a9c40234b0ace9588356e3409ecb31
2023-11-28 01:26:21 +00:00
Vladimir Koshelev
9cbe909b49 [PY-62397] move python-related stuff from FeaturePromoBundle.properties
GitOrigin-RevId: f075f687790580c4080e2c75c0d9810395eedae5
2023-11-28 01:26:18 +00:00
Vladimir Koshelev
1beebcc776 [PY-62397] add pycharm specific statistics since not all promoted features have a valid plugin id
GitOrigin-RevId: 7a3249e18f653fe8201243f095b2b5e65b957e22
2023-11-26 20:36:05 +00:00
Vladimir Koshelev
e7fccadf11 [PY-62397] extract all promo actions to a separate bundle file
pro customization reuses community customization

GitOrigin-RevId: 4a542dce0ba90eaead017c6f414a14c0e8a18677
2023-11-26 20:36:03 +00:00