Vladimir Krivosheev
91bab61f03
StatisticsJobsScheduler / StatisticsStateCollectorsScheduler - convert from applicationInitializedListener to preloadingActivity
...
Not important - ensure that it doesn't block application start
GitOrigin-RevId: 5939acf4b1bd5df78617ebe0b239eeb375390c97
2022-01-07 16:23:28 +00:00
Dmitry Jemerov
e7511f7713
Delete JRuby and Python framework detectors
...
They're confusing, and their reason for existence is much better served with "No Python/Ruby interpreter configured" editor notifications
GitOrigin-RevId: 4c6705d5aa61476dfaedcf0fe79f56caa2833823
2022-01-07 10:13:20 +00:00
Mikhail Golubev
2d97e515e1
PY-52383 Update the bundled virtualenv to 20.13.0
...
GitOrigin-RevId: 455ab57429fddbe5032a74b10d654b07d55c8eaa
2022-01-06 14:21:01 +00:00
Dmitry.Krasilschikov
4841ada34b
NPW IDEA-285493 fixed order for languages
...
GitOrigin-RevId: 06ddf0e815e4b9a1dfaf9d3fd81fc1db5419e46b
2022-01-03 17:02:39 +00:00
Egor Eliseev
61f8a2ebd3
PY-51830 Fix test 'console_requests' with Python >= 3.9
...
The `getattr(obj_to_complete.__ class__, d)` call returns dict[d] in Python version >= 3.9.
For example, consider `d = vars`: we get: `obj = dict['vars']` but we want to get `<built-in function vars>`.
GitOrigin-RevId: 2ad659215de2cfc254072f90605f163afa6d7878
2021-12-30 11:42:12 +00:00
Andrey Vokin
955e200932
[DataSpell] handle no sdk when create workspace from welcome screen
...
GitOrigin-RevId: 725b8f1495af00f6bf1de976e76b559542cec24a
2021-12-30 10:17:15 +00:00
Egor Eliseev
02645e2391
PY-44170 Fix: the Debug console always writes output to sys.stdout/stderr
...
Add stdout/stderr hooks. When debugger gets 'InternalConsoleExec' command it doesn't write output to stdout/stderr. Now it calls function 'write' from ConsoleOutHook/ConsoleErrHook.
In function 'write' we send output's text to Java side where it's printed by console.
GitOrigin-RevId: db3c6b2aed4f6a79b3ac3c4c30a26d0682126d9d
2021-12-30 09:20:20 +00:00
Alexey Merkulov
3ed987fdba
[IFT] Disable course feedback link for DataSpell course
...
GitOrigin-RevId: f509d0c77127bd26c31e0e9c6a38375c3a883dad
2021-12-27 14:51:23 +00:00
Daniil Kalinin
dda63f05d8
PY-40313 Fix for "Python string literals in Markdown documents are treated as 'bytes' for type-checking purposes"
...
(cherry picked from commit 2a423d0fbbf4524844c52189a6be4cf9f43f7407)
IJ-CR-18590
GitOrigin-RevId: 33739b79cb8bc76c447d69080940985f431641dc
2021-12-27 09:25:39 +00:00
Ilyas Selimov
257a85eb16
zero-tolerance fix
...
GitOrigin-RevId: 046c4e02b74768e4c0b49fbd9be455ce65a5931e
2021-12-27 05:40:02 +00:00
Vladimir Krivosheev
076235fe3c
performance - ensure that JBUI class is not loaded as part of LaF initialization
...
GitOrigin-RevId: cca4646f8861df72ed419ecacf69375f78ead368
2021-12-26 19:51:00 +00:00
Vladimir Krivosheev
c5ece48381
do not use NotNullProducer (use Supplier from JDK instead)
...
GitOrigin-RevId: 238676678444ece26589c24f5d80786ce085b014
2021-12-26 19:50:57 +00:00
Dmitry.Krasilschikov
4fa10db376
IDEA-285038 New Project Wizard: "add language" action refactoring
...
GitOrigin-RevId: 0cfc5629dbbaa8c42ddb18e61da36be35254bd96
2021-12-26 15:16:58 +00:00
Semyon Proshev
d09cfa814b
Sync with typeshed @ 48f13e451a3ef21002cca3f3b325ff3635f32d66 (PY-41510)
...
GitOrigin-RevId: b758ee90685ea9ad1e70cd8df2ea92afcb3f0f35
2021-12-24 13:26:30 +00:00
Vladimir Krivosheev
059beaf723
intellij.platform.images.copyright as a product module
...
GitOrigin-RevId: a4042fb1fc45ea773af78be3657e3efe974722a5
2021-12-23 20:37:15 +00:00
Dmitry.Krasilschikov
7263e04455
New Project Wizard: IDEA-285493 let's fixate languages order
...
GitOrigin-RevId: 694ed2074c21a422c9fd0f3da0b4577c321dc460
2021-12-22 17:09:21 +00:00
Semyon Proshev
aa5acb75c9
Ability to install python from PyCharm on macOS (PY-51686)
...
GitOrigin-RevId: 53ba94d3de3844fb5b58822576e4a54fe060d53b
2021-12-22 10:59:14 +00:00
Mikhail Golubev
0a4d8f6d26
Use a helper method in PyTrailingBlankLinesPostFormatProcessor
...
GitOrigin-RevId: 01c2589284409b9c514bc76786919b11a6591156
2021-12-21 15:19:15 +00:00
Dmitry.Krasilschikov
ad1b23ca1b
IDEA-285038 New Project Wizard: add a "+" button to install additional languages
...
GitOrigin-RevId: e0da32ec19c28ed9746162d521577a543935693b
2021-12-21 14:49:50 +00:00
Mikhail Golubev
1167b6abf4
PY-51269 Update the bundled pycodestyle.py to 2.8.0
...
It also fixes the regression PY-51141 caused by
https://github.com/PyCQA/pycodestyle/pull/990 that we integrated hastily
for the initial pattern matching support.
GitOrigin-RevId: 71742859eb8909214cb5f62247787ccf9a718684
2021-12-20 12:47:15 +00:00
Gregory.Shrago
038864163d
do not use template presentation to store enabled and visible flags
...
See `Presentation#assertNotTemplatePresentation` and IDEA-284279.
Most usages are already broken due to ActionUpdater defaults.
GitOrigin-RevId: 9e423c4460f540b4df31e1dc0e140068c5e5033f
2021-12-18 12:24:07 +00:00
Vladimir Krivosheev
f0e6467776
ExtensionNotApplicableException - stacktrace in unit test mode
...
GitOrigin-RevId: 4f847b91a895fcd5eee533af6932eec2fa6c29de
2021-12-17 18:30:45 +00:00
Konstantin Hudyakov
0c49cada83
Extract test data path to util class
...
IJ-CR-14522
GitOrigin-RevId: 4b51a40aeb973403323d4ff93014c7483b82d5a0
2021-12-16 16:43:33 +00:00
Konstantin Hudyakov
6fd52bb65f
Do not process PSI actions if AST is not loaded
...
Also little bit refactor Surround With suggester
IJ-CR-14522
GitOrigin-RevId: cd82158729f8f6b8cd2c26b518acaeedc119ee0e
2021-12-16 16:43:32 +00:00
Konstantin Hudyakov
2986a16262
IFT-291 Bundle Features Suggester to Java, Kotlin, Python and JavaScript
...
IJ-CR-14522
GitOrigin-RevId: 6512d5f061c8004fb3e4f7f3f1f404193f30e1f5
2021-12-16 16:43:28 +00:00
Alexander Koshevoy
0fe2a1ffbd
PY-51897 Restore "Docker container settings" field for Run Configuration based on Docker target interpreter
...
GitOrigin-RevId: 99b36fe4c08845238b66d9e2e44ee4cec23291eb
2021-12-16 15:25:54 +00:00
Alexander Koshevoy
f0a788d3c4
Refactor PyRunConfigurationEditorExtension to get ready for additional fields in RCs based on target-based interpreters
...
GitOrigin-RevId: 78036aeb9911e1550305af65ba51a289149ef83c
2021-12-16 15:25:51 +00:00
Alexey Merkulov
1843b4d5fa
[IFT] Show onboarding feedback dialog only once
...
GitOrigin-RevId: 229f2714b41c38111db5e8f236e43b96c3d2ecdb
2021-12-16 14:59:22 +00:00
Daniil Kalinin
2647a25fd7
Fix for the broken test affected by 86861f573d66abd3d9100de1ebed59513838a24d
...
GitOrigin-RevId: 4e6d81aeccaee471568b0cff57aaba4876df0664
2021-12-16 11:22:27 +00:00
Daniil Kalinin
890f04e881
IJ-CR-16991 Highlight all parameters from the outer functions as parameters, not only self exclusively
...
Added test for this case
(cherry picked from commit 4019a7deb4b577eb6a42200fa4758a2624e26896)
IJ-CR-16991
GitOrigin-RevId: 86861f573d66abd3d9100de1ebed59513838a24d
2021-12-16 10:36:47 +00:00
Alexey Merkulov
6528871061
IFT-322 Fix run task from the PyCharm onboarding lesson
...
GitOrigin-RevId: 2f2b2d047a54518386b21aa7570fa73d18048aae
2021-12-15 18:44:20 +00:00
Nikolay Chashnikov
ffe0eaecc6
[intellij project configuration] fix format of iml files
...
GitOrigin-RevId: fadd556d638222e92be44b5ab78837fb63e71906
2021-12-15 18:21:27 +00:00
Alexey Merkulov
b38585ffde
[IFT] Extract logic to show onboarding tour notification to utility class
...
IJ-CR-18718
GitOrigin-RevId: b570dda3875b9d9b4ca4666ef023e6296f154ffc
2021-12-15 15:15:20 +00:00
Vladimir Lagunov
1ed23fa145
DS-2653 intellij.notebooks.visualization as a platform module
...
GitOrigin-RevId: c8281669c060f8b2d806e4386e812478a45a6759
2021-12-15 06:01:30 +00:00
Semyon Proshev
294e10debe
Iterate only once through CONDA_DEFAULT_ROOTS in PyCondaPackageService.getCondaExecutableByName
...
GitOrigin-RevId: 4356444240b4cdc81365135612167e9af8d80dd9
2021-12-14 17:13:36 +00:00
Semyon Proshev
90e1a8533e
Don't discover Python 2 based anaconda/miniconda
...
GitOrigin-RevId: 8aee1f382e46b6ee686d46b98aef3fb679e8a69d
2021-12-14 17:13:34 +00:00
Semyon Proshev
27df6491d9
Visit all possible roots during looking for conda in /opt/ (PY-52052)
...
GitOrigin-RevId: 3ff0814c25dd7479b455c4a09365fb993725869d
2021-12-14 17:13:32 +00:00
Alexey Merkulov
0f54908494
[IFT] Add version to onboarding feedback json
...
IJ-CR-18516
GitOrigin-RevId: 160d3e219e02c7c0271566b445055535533b382c
2021-12-14 16:48:54 +00:00
Ilya.Kazakevich
735f2f3406
PY-51870: Pretty print primitives and dicts
...
GitOrigin-RevId: d4e57ba58186ffaea4751f150d9564eeeac4476c
2021-12-14 16:25:53 +00:00
Andrey Lisin
8dcb8c94ef
PY-38904 Fix some of debugger Python tests
...
(cherry picked from commit 81c51ca7d452b256445127ed2e124b6e610986eb)
IJ-CR-18451
GitOrigin-RevId: 464fda1a736b12693cdd6cc544790b254c55e0f0
2021-12-14 12:14:46 +00:00
Semyon Proshev
eadad3036f
Update anaconda versions used in shared indexes infrastructure (PY-50829)
...
GitOrigin-RevId: 12de66bf8ff2dfd94b7d882313d3736e812cf28c
2021-12-13 13:28:26 +00:00
Anton Bragin
98bc6912c8
DS-2826 Extended completion is enabled for Jupyter notebooks
...
The original fix targeted Web2Py support which is now discontinued (see PY-10145 and PY-49195).
GitOrigin-RevId: 7a6edcf04d04f14317582cd35b4e61813285f710
2021-12-12 16:50:04 +00:00
Nikolay Chashnikov
5512e34a6e
cleanup: add @NotNull in ModuleTypeManager and simplify some related code
...
GitOrigin-RevId: 045dd29e142e0afdd2dc81664b8f9e13883ae8fb
2021-12-10 16:45:06 +00:00
Alexander Koshevoy
325ffd3ae9
Remove Python specificity from PythonRunConfigurationTargetEnvironmentAdjuster and move it to platform
...
GitOrigin-RevId: 33274fc092db96ceadcccb179f54876053812581
2021-12-10 15:27:51 +00:00
Alexey Kudravtsev
8f3306ed1b
deprecate runInWriteAction() method in tests as unnecessary, slowing down the tests and very un-production-like
...
GitOrigin-RevId: 31869e6d8c9ee543481dd06f6343bca6827e4a33
2021-12-10 14:47:39 +00:00
Semyon Proshev
574a315230
Use proper type eval context while looking for callees (PY-52034)
...
Otherwise PyTargetExpressionImpl.getType can not infer type for a qualifier defined inside function body.
GitOrigin-RevId: 75345218653fc8507cc31498fda7b8f07d4c02c6
2021-12-10 13:47:33 +00:00
Semyon Proshev
ff7010415a
Support inner conda env while determining if one of its root is under module but outside sdk (PY-51643)
...
GitOrigin-RevId: bce3dd54dc47db3e36a46b101312628a29aa4abd
2021-12-10 09:57:22 +00:00
Semyon Proshev
b0cd46c639
Exclude inner conda env on creating a new one or opening a directory with already created (PY-51643)
...
GitOrigin-RevId: 6fb1fdc93a49542cfd4d21fbd41788f617811591
2021-12-10 09:57:20 +00:00
Semyon Proshev
bbf27aa8a3
Don't suggest venvs whose roots can not be found
...
GitOrigin-RevId: adef62f34ef637819d39419c99cb945081557780
2021-12-10 09:57:18 +00:00
Alexander Koshevoy
04f17e5557
Introduce TargetBasedSdkAdditionalData platform interface
...
GitOrigin-RevId: ecb48ae180ea8ae0d3a411cdf42584cafdbf35f7
2021-12-09 08:44:05 +00:00