Commit Graph

294456 Commits

Author SHA1 Message Date
Bas Leijdekkers
757d903793 RegExp: highlight string matching portion in checker for JavaScript (IDEA-96093)
GitOrigin-RevId: 0c03372f0936c6395e1f061ef8bafe1b9886e7cf
2020-10-19 19:54:11 +00:00
Bas Leijdekkers
8a0ee6123c RegExp: highlight matched groups in tester (IDEA-243794)
GitOrigin-RevId: 7502c3c10191da5e9c18d4120c7a33446b8b244d
2020-10-19 19:54:07 +00:00
Anna Kozlova
e1ff19b75c i18n fixes
GitOrigin-RevId: bb0c4c39db374649f00614dbf9bdd88ebc8778ff
2020-10-19 19:49:27 +00:00
Mikhail Golubev
3bb3704165 Fix incorrect issue ID in PyStubsTest
GitOrigin-RevId: 52df37eb4addfcc5cedeaf1b03f742ac5338a94e
2020-10-19 19:46:56 +00:00
Mikhail Golubev
bb31fdc67d PY-42334 Add support for PEP 613 typing.TypeAlias
Both typing.TypeAlias (available only in 3.10) and typing_extensions.TypeAlias
names are supported.

RHS values of assignments annotated with TypeAlias are always retained in
stubs and injected into (if it's a string literal), regardless of whether
they look similar to a well-formed type hint. It seems natural to assume
that if a user employs such as specific marker as "TypeAlias" at all, they
clearly indicate that the value is supposed to be a type.

The inspections "Type hints definitions and usages" and "Final classes, methods
and variables" properly analyse RHS of assignments annotated with TypeAlias.
Type hinting inspection also reports illegal usages of TypeAlias, as it was
done for other special forms in the typing module.

The type of such variables themselves is Any, however they're still displayed
as having the type "TypeAlias" in Quick Documentation to avoid confusion.

GitOrigin-RevId: fab02f6e1060c0994e1d21201768e7b28ba7d9e0
2020-10-19 19:46:54 +00:00
Anna Kozlova
ed2a58314a lombok: fix sdk used in tests
GitOrigin-RevId: f55168312a052698ec9940b147cebdff2735a783
2020-10-19 19:36:46 +00:00
Vladimir Krivosheev
3b75a09bb6 IDEA-253168 alien class must be not returned if requested to load self class
GitOrigin-RevId: 5f95f5f143439faa5be89688248b6a972fa871b9
2020-10-19 19:35:11 +00:00
Aleksey Pivovarov
674df4fea4 git-index: disable changelists - persist changelists state while they are disabled
GitOrigin-RevId: a3c8176facc46e3b32763ba59e9f849670f158de
2020-10-19 19:28:11 +00:00
Aleksey Pivovarov
0def692ba6 vcs: use immediateDelivery for Topic listeners
Fix exceptions on Commit mode switch caused by recursive events handling.

GitOrigin-RevId: 562ce60ee0830565fb3e511c51f41b6b5d8accaa
2020-10-19 19:28:10 +00:00
Aleksey Pivovarov
c430ee0155 vcs: cleanup - add threading assertions
GitOrigin-RevId: 5612562714722b533cfbb9a2e321ca6897eb1a5a
2020-10-19 19:28:09 +00:00
Aleksey Pivovarov
7f3234a888 IDEA-253123 git-index: fix GitStageManager initialization
Do not miss events fired before startup activity.

GitOrigin-RevId: 687a463f58bb6bc776ae28b12e0ee05f67b8f2e9
2020-10-19 19:28:07 +00:00
Aleksey Pivovarov
795b7db888 vcs: do not ignore exceptions thrown on CLM thread
GitOrigin-RevId: 0fccc0533edac7e24fbc8ba2c2a91f69e8003f29
2020-10-19 19:28:06 +00:00
Sergey Simonchik
08f9fbce1a node: webpack errors consisting of two lines (WEB-36956)
GitOrigin-RevId: c2388ff7d6e167378a7cb947aa9d82e9baa09839
2020-10-19 19:17:16 +00:00
Vladimir Krivosheev
67839476fc bad plugin must not break top hit provider processing
GitOrigin-RevId: 39a1c3930332b6baee5c31ed1d0b6c9c6509bd4c
2020-10-19 19:05:29 +00:00
Vladimir Krivosheev
fa5132e1cf IDEA-253168 PluginException: Cannot create class com.android.tools.idea.lint.AndroidLintMotionLayoutInvalidSceneFileReferenceInspection [Plugin: org.jetbrains.android]
GitOrigin-RevId: 19dd52fd5984bbd9be129caf6de6f2b7e52c7905
2020-10-19 19:05:28 +00:00
Vladimir Krivosheev
c463c13d7b cleanup
GitOrigin-RevId: 2c7c82c3c9e9eb1fd9af7be0d3b3745c4c9d6509
2020-10-19 19:05:26 +00:00
Vitaliy.Bibaev
67cf3642be [stats-collector] Compress local logs storage
GitOrigin-RevId: 0f0fd3aa18b3b38329899e75dcb08cd158f37713
2020-10-19 18:55:16 +00:00
Anna Kozlova
d2bb484575 inplace refactorings: enter if options popup is shown finishes the refactoring (IDEA-253094)
GitOrigin-RevId: af558da64dad04ed93eec50fbc77e7d297088c0a
2020-10-19 18:49:41 +00:00
Anna Kozlova
c677a55c06 coverage: don't allow to pin coverage tab (IDEA-253032)
GitOrigin-RevId: b38b2348bd43c36822e90a55f2b41cd0702c7532
2020-10-19 18:49:40 +00:00
Julia Beliaeva
90593fc1d5 [git-index] display operation icons on the right
Instead of using a label for operation icon, icon is painted manually. This allows to explicitly place the icon on the right border of the tree visible area, even when the node itself does not fit there. Since now the icon could be painted on top of text, a background it added in a form of ColorIcon.

GitOrigin-RevId: 527929f0aded8f6067ff87811594cc805372bd53
2020-10-19 18:29:44 +00:00
Julia Beliaeva
2ae565c270 [git-index] show operation icons only for selected nodes or on hover
GitOrigin-RevId: 21ff9b0a5919e7a300e655d906da431bd7bc9374
2020-10-19 18:29:43 +00:00
Julia Beliaeva
da012af992 [git-index] allow to perform operations on grouping nodes
GitOrigin-RevId: 1e94319d7f38da21676c2d0ac1d674fbea7f4a7f
2020-10-19 18:29:41 +00:00
Elena Shaverdova
7e2b341966 Avoid ConsoleView memory leak
GitOrigin-RevId: eb4c5765e512638a0e1e9cf7d51f91491922bebb
2020-10-19 18:17:16 +00:00
Semyon Proshev
31033c8246 Suggest creating pipenv environment using Pipfile (PY-44001)
GitOrigin-RevId: c0df7886a98f4335651dd5921aa041620e18935b
2020-10-19 18:11:17 +00:00
Semyon Proshev
e6c4d1a1b9 Allow to run PythonSdkUpdater#updateOrShowError from any thread
GitOrigin-RevId: bb98d5230b844ec7f7643d80f64240e515c328a4
2020-10-19 18:11:17 +00:00
Semyon Proshev
276808f460 Ability to use sdk to install in new pipenv environment panel
Though it is not clear how to get pipenv without python installed.

GitOrigin-RevId: 2cd6a5ba2606d05be7520449f0e3e4a200201722
2020-10-19 18:11:16 +00:00
Dmitry Avdeev
dd3698c727 IDEA-91565 Ability to create file templates with more than one file
enabled

GitOrigin-RevId: 235bf0c0ec74c31796c92a78f897b8cbf75235da
2020-10-19 17:38:18 +00:00
Dmitry Avdeev
b4023db6ac IDEA-91565 Ability to create file templates with more than one file
put extension field after file name for child templates

GitOrigin-RevId: 5c34b84af6388d80b95fca0227e1936094c8808c
2020-10-19 17:38:17 +00:00
Julia Beliaeva
72b4cfe4ab [git-stash] show stash tool window instead of dialog when unstash action is called
GitOrigin-RevId: 3b072a7d28d6028b09b9dd5c68adae2165f11a5f
2020-10-19 17:37:22 +00:00
Julia Beliaeva
c052932e19 [git-stash] add an action to navigate to the stash tool window tab
GitOrigin-RevId: 53ba0e63ca3cf59c849f5681436512f5da681898
2020-10-19 17:37:21 +00:00
Julia Beliaeva
0a7dd73b42 [git-stash] add an action to unstash with options
GitOrigin-RevId: d35c7e695ea92f7e640ce6caecdd68e2e29df77b
2020-10-19 17:37:19 +00:00
Alexandr Suhinin
722ed26722 inplace extract method: disable by default
GitOrigin-RevId: f1ca438244e801945f412c0f5f0c55cb00b21ce3
2020-10-19 17:27:56 +00:00
Alexandr Suhinin
891feb9039 IDEA-253197: fix IndexOutOfBoundsException
GitOrigin-RevId: 73d106f55c2f30ee53dd1a91e5ac60b0933536b7
2020-10-19 17:27:55 +00:00
Elizaveta Shashkova
625676d7d3 PY-30650 Replace f-string for Python 2 compatibility
GitOrigin-RevId: 7ed3e06d8710c28ae46a0634b0173b2470bf4c48
2020-10-19 17:05:10 +00:00
Alex Plate
202d74bede [Workspace model] Remove "Strict mode" key
GitOrigin-RevId: afa6f7a927a4ca2660bc36dc0466506f0d8c3cf7
2020-10-19 16:55:59 +00:00
Alex Plate
a8195cb200 [Workspace Model] Add check for serializer correctness
GitOrigin-RevId: a98cef719a6d37274ead6e6bfe0e4d8989e70eb1
2020-10-19 16:55:58 +00:00
Svetlana.Zemlyanskaya
a1c3f0cdc1 FUS: fix event registration doc comment
GitOrigin-RevId: 0671dfda55fdc422f815fc8698bf21f81d057bb1
2020-10-19 16:55:12 +00:00
Andrey.Cherkasov
8ad6197c2b Fix warning found by the updated zero tolerance SimplifyStreamApiCallChainsInspection
GitOrigin-RevId: 8ddba0d01bcd6197cc78eaca7e137abb910fe2d4
2020-10-19 16:54:05 +00:00
Dmitry Batkovich
f78ac0e286 indexes: ensure file based index initialized before plugin unload (IDEA-252890)
plugin unload may happen very early (before first scanning), so we should ensure index is initialized before unloading

GitOrigin-RevId: 7694ef296e3aec691b047dc81bb206bdedad24bd
2020-10-19 16:38:35 +00:00
Semyon Proshev
5cc837abf5 Minor review fixes
GitOrigin-RevId: 9e7619d7aeb964f20b72504c7ac5f6cf34be64bc
2020-10-19 16:36:21 +00:00
Semyon Proshev
3d31f690f3 Re-use already calculated sdks in guessing language level
Drop `isPythonModule` call since it breaks PyStringLiteralTest.testEscapedUnicodeInLiterals.

GitOrigin-RevId: 6f5ea083a72bdb29826466a50f62cdf84cd26960
2020-10-19 16:36:20 +00:00
Semyon Proshev
4bda118750 Make LanguageLevel.toPythonVersion instance method
GitOrigin-RevId: 133ad26d0952922b57b090dc4e597dc6e3be003e
2020-10-19 16:36:19 +00:00
Elizaveta Shashkova
3ef423a2a7 PY-39725 Console doesn't remove prompt when copy multiline commands
The problem is that we get prompt width from highlighters, which we add during printing. But multilines commands are printed with buffer, so we attach all the highlighters to the first line on multiline command. That leads to incorrect prompt width for non-first lines in the command. We should calculate default prompt width and use it in case we didn't find highlighter for the line.

GitOrigin-RevId: 5dfae704db0ad4508bf4546baf6492ca4e70a01f
2020-10-19 16:35:33 +00:00
Vassiliy.Kudryashov
c31ebea57f Make "Pin Tab" button in tool window toolbar Toggleable again
GitOrigin-RevId: 76e3be984b02d0c3b169e6f747116269d425edf5
2020-10-19 16:32:31 +00:00
Vassiliy.Kudryashov
7ec1711743 Get rid of "Close All but Pinned" action. Make action "Close All Tabs" skip pinned tabs
IDEA-202576 Tab pin indicator is hardly visible in many cases

GitOrigin-RevId: 5290d11329610603c4efd629d945274a82073f63
2020-10-19 16:32:30 +00:00
Vassiliy.Kudryashov
c9a281a373 IDEA-252653 Pinned tabs too narrow
GitOrigin-RevId: aa1ac56a2ce15f5e356feed8eb9c332168857901
2020-10-19 16:32:29 +00:00
Aleksey Pivovarov
cbe58e40c7 CWM-632 vcs: decouple builtin-server from vcs
GitOrigin-RevId: a516765eb53838a29e2b1cde540f50c931dbb3d2
2020-10-19 16:31:23 +00:00
Dmitry.Krasilschikov
ac012c16db FUS-855 report class name instead of simpleName
GitOrigin-RevId: 4495a03c83d4b45cf20353be763138e13002eea1
2020-10-19 16:30:48 +00:00
Andrew Kozlov
ef7bc80a76 [dynamic plugins] myDiff stores the original state to compare to #IDEA-246104
GitOrigin-RevId: c239476b0a067d469fb77f9ec7fa480a8e1d9fce
2020-10-19 16:17:34 +00:00
Andrew Kozlov
e54f2bf010 [dynamic plugins] ProjectPluginTracker should not use IdeaPluginDescriptors #IDEA-246104
GitOrigin-RevId: 31a7ea138f2d35b7f2f5bf5242ba81a68677628b
2020-10-19 16:17:31 +00:00