Commit Graph

29471 Commits

Author SHA1 Message Date
Tagir Valeev
440654c48f Pattern variable can be used fixes; other warning fixes
GitOrigin-RevId: 49f37e7f5d748be50ee66fdf66a5c9b98b1b7432
2024-06-18 19:55:23 +00:00
Andrey Lisin
67eef6333e PY-60597 Replace indirect finish_debugging_session() invocation though global debugger holder to avoid race condition
Consecutive `stoptrace()` -> `settrace()` calls can cause `finish_debugging_session()` call from `ReaderThread`. If by the moment of execution the global debugger holder contains the new instance of debugger, this new debug session can be marked as finished instead of the old one.

GitOrigin-RevId: faac2b9648d81c49d72f884ca6a8464699fbf9e5
2024-06-18 18:56:51 +00:00
alexey.afanasiev
1ee1324f4d IJ-MR-136093 [qodana] QD-9246 Rework passing product-specific vmOptions. Remove redundant code.
GitOrigin-RevId: dedf63294a76e450472c77839ab0ac8cb5909b6c
2024-06-18 17:04:57 +00:00
Bogdan.Kirilenko
849c9840c4 [pycharm] PY-70369 added SPACE element to HuggingFaceEntityKind enum
GitOrigin-RevId: 355f876ceb4b46e6faefbcccb8f20bcda68ce82c
2024-06-18 11:11:25 +00:00
ekaterina.itsenko
2c178f739f [pycharm] PY-73352 Add import error handling + fix error displaying
GitOrigin-RevId: 8ec269d167132e7b5b2401df78eac82f282078bb
2024-06-18 02:46:46 +00:00
Andrey Vokin
170506beaa PY-73102 Presence of @warnings.deprecated or @typing_extensions.deprecated decorator suppressed errors about incorrect call arguments
GitOrigin-RevId: d1a5a4ce224fe92af9f0df376b63b8cb38ca3990
2024-06-17 22:26:51 +00:00
Andrey Vokin
f2a322c6d9 PY-73107 Usages of @warnings.deprecated inside .pyi stubs are ignored
GitOrigin-RevId: 7682eff8c8ca8ae8241ddee3191add34ab2ac22e
2024-06-17 22:26:51 +00:00
Petr
ee91d6a211 PY-72661 Literal completion inside nested parenthesis
GitOrigin-RevId: 14f18efcbaa520ac36ddd4892b774ed60a01cfdc
2024-06-17 20:36:23 +00:00
Andrey Lisin
3d3aefb69d PY-60597 Make stoptrace() function available from pydevd_pycharm module
GitOrigin-RevId: 47eea1c6bd150a741a8090a151068981688d8c83
2024-06-17 20:30:31 +00:00
Mikhail Mazurkevich
5224cc5e77 [workspace model] Hide entity field EntityChange.Removed and EntityChange.Added
GitOrigin-RevId: 8cf5fda04c6b86c370b40b199f5e0e7faf879a02
2024-06-17 15:09:37 +00:00
Bogdan.Kirilenko
3ad92a07f7 [pycharm] PY-70369 UX-3135 added a proper HF tool window icon
GitOrigin-RevId: 84313f0f27c4b9374fa54f363ee1fcc1f4a846e7
2024-06-16 14:01:22 +00:00
Alexander Lobas
89d58ee436 IJPL-150231 Move icon mappings from json to icon generator
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Yuriy Artamonov
3c37d1cf20 [tips] Default of "ide.show.tips.on.startup.default.value" for all products changed to false
GitOrigin-RevId: 91faa279c0a1da440a07ce58277c3f88eb50bbbb
2024-06-15 12:19:20 +00:00
Natalia.Murycheva
03c0f49158 PY-72210 added ColumnStatistics icon to tables in DataView
* also fixed bug with redundant separator

GitOrigin-RevId: 7d5b07c147ff3ea0069fe09bd849016ef66f4eb8
2024-06-14 23:47:08 +00:00
Natalia.Murycheva
238ebb61de PY-72210 DataView: improve speed of get_value_occurrences_count
1. Split additional computation for statistics and computation for visualizations
2. Computation for visualization is now called only by request

GitOrigin-RevId: d872fbd9ed5732633814228713acc734ee2043e5
2024-06-14 23:47:08 +00:00
Ilia Zakoulov
a6b5ddf1f0 [python] Package name should be always lowercased
GitOrigin-RevId: 9db390ba67e1c283a77de8325f59153661d13df4
2024-06-14 17:19:53 +00:00
Roman Shevchenko
9928fba82c [project] migrating RemoteSdkCredentialsHolder#getInterpreterPathFromFullPath usages
GitOrigin-RevId: 574b3e85d7fd0f673630c36274852118a2b5cf47
2024-06-14 15:32:11 +00:00
Mikhail Golubev
6147a5b65e PY-73298 Enable syntax highlighting for Python live templates
GitOrigin-RevId: 3309863fb7e7049ce1246dc66a2479b6bfd28235
2024-06-14 13:16:55 +00:00
lada.gagina
63fce2f5bc [python] requirements.txt: check entries regardless of dot in the package name (PY-54850)
GitOrigin-RevId: 64ca8b985ae74b0e41f3e3951bf095bcc94ac3cb
2024-06-13 21:09:42 +00:00
Vladimir Koshelev
72734925bd PY-73129 treat pep8 annotator inspection as info
GitOrigin-RevId: 22bb022457178863dac75174ee480b0ef2df390d
2024-06-13 19:03:18 +00:00
Daniil Kalinin
a43fd578d5 PY-54345 Revert changes in PyOperatorReference, return the first metaclass of type which PyCustomType mimics in PyCustomType#getMetaClassType
GitOrigin-RevId: ca58de8f4c98a9e77af45884e55dbe167316aff2
2024-06-13 16:59:19 +00:00
Roman Shevchenko
18e9a036a2 [project] sanitizing RemoteSdkCredentialsProducer API
GitOrigin-RevId: d92b28c9a47b2bb34763e651c600e8a8dad7258f
2024-06-13 15:03:25 +00:00
Mikhail Golubev
aff932b7c9 [python] Add methods visitPyKeyValueExpression to PyElementVisitor and PyAstElementVisitor
GitOrigin-RevId: 247a02160e18c93a00b1630e2ed70cea6dcefbbf
2024-06-13 11:59:38 +00:00
Gregory.Shrago
a5c7b747ac hide explicit action updates in line marker tooltips
Also, pull up default `TooltipProvider` that supports `equals/hashCode`.

GitOrigin-RevId: d74769a1a608e61070f3c4eb09c611285450f6ea
2024-06-12 22:44:50 +00:00
Alexandr Trushev
66f71976e8 IJPL-797 intellij.platform.editor review internal API
GitOrigin-RevId: dea7a0c919ad545e76476d95f0e5b1fecb43faac
2024-06-12 21:07:27 +00:00
Alexandr Trushev
4dcc88eb48 IJPL-797 intellij.platform.editor review internal API
GitOrigin-RevId: 008ab023d706e3aa8dfe71ac1d5205f04fb8e71d
2024-06-11 20:04:46 +00:00
ekaterina.itsenko
1693fd94b9 [pycharm] PY-38294 Add Sparse tensors support
GitOrigin-RevId: 0b9b046ae1da37b5fd34be800fbdd6f241f7514d
2024-06-11 14:59:03 +00:00
Roman Shevchenko
58e9edebab Cleanup (minor optimization; typos; formatting)
GitOrigin-RevId: 386a24ada744cd2f9693f1ca71b7754575f5bbdb
2024-06-11 13:40:42 +00:00
Roman Shevchenko
702cdf6349 [project] sanitizing RemoteFile API
GitOrigin-RevId: f394c5d41b0b45746d337ded71c662522c04c6d1
2024-06-11 13:40:37 +00:00
Roman Shevchenko
fdfba15090 Cleanup (dead code)
GitOrigin-RevId: baed6465180fbdb72ca6700807a05227e4b4147c
2024-06-11 13:40:31 +00:00
lada.gagina
6815024d29 [python] packaging: ignore package name case when checking python files (PY-72202)
GitOrigin-RevId: 85280727a653ff512dfd98a7c239d8652c2e105c
2024-06-10 20:00:04 +00:00
lada.gagina
34840a5293 [pycharm] VariableView: fix "View as" action from the context menu for nested objects (PY-70538)
GitOrigin-RevId: a14373ede25a2502d0f16b39b3dd335dcd03582f
2024-06-10 19:35:10 +00:00
Andrey Vokin
673383c3da PY-61651 Deprecation highlighting with PEP 702 @deprecated decorator
GitOrigin-RevId: 426e7001d20849d7029fea55431d3e2cfae3eb11
2024-06-10 15:58:53 +00:00
Ilya Muradyan
63492012b2 KTNB-235, PY-64586: Remove unused method isDisplaySupported
GitOrigin-RevId: 11e8efea1e6878672da6045ae3bb657f9f36aaa5
2024-06-10 06:17:12 +00:00
ekaterina.itsenko
4cc82ec77f [pycharm] PY-73077 Add Pandera type
GitOrigin-RevId: fb3ac2c8b6589ff238ecb877522227990d42a652
2024-06-07 19:35:15 +00:00
Ilya Muradyan
233d17a1df KTNB-235, PY-64586: Refactor DSTableCommandExecutor, remove dependencies on pydev that no more needed
GitOrigin-RevId: b53d3669841e36c8bf3bd092ceaa3e8de6e5b9ea
2024-06-07 18:55:29 +00:00
Nikita.Ashihmin
886b4f0716 PY-31400 Jupyter: support get envs for Notebook export
GitOrigin-RevId: 0d4f3959e20e0bfbd51236333c24f69eccc7785a
2024-06-07 06:52:08 +00:00
Nikita.Ashihmin
c71ff7773d PY-73082 Plots(fix): "SystemError: null argument to internal routine" running a script with pandas & numpy
GitOrigin-RevId: 891c0d9378d2a640f93372c81046cf6754459556
2024-06-07 06:52:03 +00:00
ekaterina.itsenko
07668b70e3 [pycharm] PY-40977 Fixes in expression building: NestedOrderedDict case
GitOrigin-RevId: 3cd93d74ab5b98063034e646a021350033308da4
2024-06-07 04:29:28 +00:00
Petr
3f43255122 PY-73076 Ctrl+Z doesn't work in RemDev
GitOrigin-RevId: e80b54e1a43e9f83be921096a1bc3a0059795cb7
2024-06-05 17:51:13 +00:00
Andrey Lisin
c2a7096de3 Cleanup: replace getTags() method with @EnvTestTagsRequired annotation
GitOrigin-RevId: 60aa962e74b98616275aac268604d9c18a38cd0d
2024-06-04 17:05:36 +00:00
Andrey Lisin
02b978c825 PY-61217 Put subprocess tests together to follow logical order
GitOrigin-RevId: a94104fd67b7c24d25845eab3277262251c5f92b
2024-06-04 17:05:29 +00:00
Andrey Lisin
4959962158 PY-61217 Run subprocess debugging tests on all CPython versions since they now pass on CPython 3.11 and 3.12
GitOrigin-RevId: 074f70e260d302b119c4e64952b5a56c5e0ad661
2024-06-04 17:05:23 +00:00
Evgeny Abramov
cc938f1533 ML-based ranking in the plugin manager
(MP-6452) Fix failing project structure and packaging tests

(MP-6452) Make sure that machine learning score is calculated correctly for each plugin

Previously, there was a cache with mutable list of features. There were two issues with it. First, because of mutability, it could store mlScore for a different query sometimes. Second, there were no guarantees on consequent call of ranking and features logging before the next ranking event happens, so the feature cache could be inconsistent in certain scenarios.

(MP-6452) Introduce search index in plugin manager events that corresponds to actual query order

I also change the definition of plugin manager session. The session is restarted only in two cases: when a user clicks on the Plugins section in settings or when the search is restarted after a plugin installation.

(MP-6452) Add additional features: is result ordered by ML, is user internal, experiment group and version

(MP-6452) Fix missing date of latest plugin update, add days since latest updates and textual features

(MP-6452) Apply suggestions from the code review

(MP-6452) Integrate the ranking plugin with the search and the logging group

In feature extractors, during the first run, I calculate the features for a model to predict plugin relevance and on the second run the features to report to the MP collector (with predicted score, for example). I also implement features cache to calculate the most of the features only once

(MP-6452) Implement the baseline plugin manager session id definition and log it to FUS and MP recorders

I attach the start of a session to enableSearch method of PluginManagerConfigurable that gets triggered on "Plugins" setting group selection in the menu

(MP-6452) Add plugin for plugins ranking in the Plugin Manager

ML in SE: add embedding search integration test subsystem tag


Merge-request: IJ-MR-130364
Merged-by: Evgeny Abramov <Evgeny.Abramov@jetbrains.com>

GitOrigin-RevId: 9136d316aec2ede74bec07798dd8db16e7849f54
2024-06-04 14:58:32 +00:00
Nikita.Ashihmin
80aad882d5 PY-73024 Jupyter(feat): Show waring and suggest update if notebook 6.x and python 3.7+, remove install jupyter warning
GitOrigin-RevId: 0de65c84f3cfc38436ace59034a9c5ce3909eb38
2024-06-03 17:33:38 +00:00
Daniil Kalinin
1cfcce3b7a PY-54356 fix "Callable | None" raises the warning "Cannot find reference '|' in 'Callable'"
Previously, there was no chance to resolve `__or__` member for class references like `Callable`, `Generic` as its type is PyCustomType that always returns `null` from getMetaClassType(). Now in operator references we at least resolve such references in types which PyCustomTypes mimic to

GitOrigin-RevId: ff05ae62e4c1a17026310a3407f40597154bc946
2024-06-03 17:32:16 +00:00
Nikita.Ashihmin
29ba1de2df PY-62599 PY-73022 Jupyter: Show dialog with suggestion to install Jupyter if not found, start work with jupyter-lab managment server
GitOrigin-RevId: 14f1860783d66a776b7d9a27e38ebb3f97a4664b
2024-06-03 15:57:41 +00:00
Andrey Lisin
af17569930 PyDev: On Python 3.11 _fork_exec now needs to be monkey-patched for subprocesses (PY-61217)
GitOrigin-RevId: 2126b45205530086aa5ec3dff630e39a5947c905
2024-06-03 13:27:37 +00:00
Maxim.Kolmakov
71168cb8a9 IJ-CR-135039 Replace usages of PlatformTestUtil.newPerformanceTest with PerformanceTestUtil.newPerformanceTest
GitOrigin-RevId: 4edcfadc23f7305d68b8c08cd6ae634ee4869a2e
2024-06-03 10:14:22 +00:00
Sergey Simonchik
9b5b7f47f4 [platform] replace LocalPtyOptions.DEFAULT with LocalPtyOptions.defaults() to set proper default for useWinConPty
Fixes regression after 3e64ed7c56ad4ffa68b23b6723122b11cdb09182: `LocalPtyOptions.useWinConPty` was always false leading to different rendering issues on Windows, like long line are hard wrapped with actual line separators preventing text reflow on horizontal resize.

GitOrigin-RevId: 0381aa1008eabc8ac16423424b34c4458e12c680
2024-06-02 18:08:00 +00:00