Commit Graph
210546 Commits
Author SHA1 Message Date
peter 5e5c4f24fa jetCheck: restart shrinking from beginning: sometimes it helps to shrink more 2018-01-02 10:28:12 +01:00
peter 86f275aed2 jetCheck: extract ShrinkTest 2018-01-02 10:28:11 +01:00
Bas Leijdekkers 7d430b159e IG: more robust check for existence of compareTo() method 2018-01-01 14:12:58 +01:00
Bas Leijdekkers 4770f2be1b IG: extract note to constant 2018-01-01 14:08:38 +01:00
Bas Leijdekkers 171f715eef IG: Add option to ignore methods with throws (IDEA-160163)
in "JUnit test method without any assertions" inspection
2017-12-31 17:39:03 +01:00
Bas Leijdekkers f5f360bc6e IG: check constructor calls to support JMockit (IDEA-184438) 2017-12-31 17:39:02 +01:00
Bas Leijdekkers 6fef6334d0 IG: report pointless compound assignments (IDEA-184300) 2017-12-31 17:39:02 +01:00
Bas Leijdekkers b1b0d95ad0 regexp: lex character class starting with escaped caret correctly 2017-12-31 17:39:02 +01:00
peter d2286a59c6 jetCheck: improve shrinking
after recursive substitution, re-run shrinking for parent in case it can now optimize more
allow recursive shrinking for ImperativeCommand lists
2017-12-30 22:49:08 +01:00
Julia Beliaeva 83e780f605 [vcs-log] move VcsLogUtil to util package 2017-12-31 00:04:36 +03:00
Julia Beliaeva 762fc19386 [vcs-log] align changes toolbar height with main toolbar height
Main toolbar has text components that can get taller than standard action buttons for various text sizes. So in order for the toolbars to be even, need to manually adjust changes toolbar height.
2017-12-31 00:04:36 +03:00
peter 02e4c9bbc1 fix PSI event inconsistency on two changes in different parents with the same final offset 2017-12-30 21:30:41 +01:00
peter b359c9253a jetCheck: introduce ImperativeCommand API for easier testing of stateful systems 2017-12-30 15:56:14 +01:00
Dmitry Avdeev 9aeff69fbf kotlin plugin compatible with Android Studio 3.0 2017-12-30 14:57:59 +03:00
Tagir Valeev 156c18600a SimplifiableEqualsExpression: test fixed
After c78e018f81 DFA: ignore boolean fields initializer if it's true or false literal
2017-12-30 11:56:27 +07:00
Vassiliy.Kudryashov 08d01d8a1e Update search history on focus lost / on popup shown 2017-12-29 22:23:59 +03:00
peter 1ef46de154 fix a case of incorrect events generated after complicated PSI changes 2017-12-29 19:34:13 +01:00
Anton Tarasov eaad20e60b Revert "IDEA-184383 Large icons since 2017.3"
Until regression is fixed.
2017-12-29 21:31:57 +03:00
Egor Ushakov 6d60181a0b avoid tests failure with shmem 2017-12-29 19:16:32 +03:00
Anna.Kozlova f5d41370ca cancel apply all fixes (IDEA-184412) 2017-12-29 16:42:03 +01:00
Sergey Malenkov ffa6ad7353 remove @TestOnly, which is not needed in the test framework 2017-12-29 18:12:51 +03:00
Dmitry Batrak dde03335a3 untie folding state from PSI (CPP-10639)
remove code that is unused now
2017-12-29 17:58:08 +03:00
Anna.Kozlova 70ed717691 override: substitute type parameter bounds in cls (IDEA-162079) 2017-12-29 15:43:44 +01:00
Rustam Vishnyakov b87e08f706 Migration to PsiFile-based code style API 2017-12-29 17:39:43 +03:00
Rustam Vishnyakov 6ede9d61a0 Migration to PsiFile-based code style API 2017-12-29 16:49:30 +03:00
Rustam Vishnyakov 4a2f58843a Migration to PsiFile-based code style API 2017-12-29 16:42:21 +03:00
Dmitry Batrak 869d4cb893 IDEA-156074 "Cannot redo. Unexpected document state"
add javadoc explaining why do we need 'temporary' actions
2017-12-29 16:30:00 +03:00
peter 5469e2753e jetCheck: a more generic recursive data detection 2017-12-29 13:52:42 +01:00
Egor Ushakov e1e3c6d798 show async stacktrace caption in the separator 2017-12-29 15:39:03 +03:00
Semyon Proshev 03c7843ae3 Revert "Special case typing for Python < 3.5 (PY-22945)"
This reverts commit 891b423d16.

Don't disable resolve to typing because stubs would become useless.
2017-12-29 15:38:17 +03:00
Sergey Malenkov e2a491e37c do not add owner if it is only one parent 2017-12-29 15:29:11 +03:00
Anna.Kozlova 36258bd6a0 lambda -> anonymous: expand multiline method (IDEA-184407) 2017-12-29 13:19:01 +01:00
Julia Beliaeva d55079ff9e [git] rename wrong -> incorrect 2017-12-29 15:16:39 +03:00
Julia Beliaeva 5a51064b58 [git] use a builder for filters collection 2017-12-29 15:16:39 +03:00
Julia Beliaeva 1bf9d3a3bc [vcs-log] introduce getAllVisibleRoots util method for VcsLogFilterCollection 2017-12-29 15:16:39 +03:00
Vladimir Krivosheev fb29048e73 fix WindowInfoManager default — enum name must be uppercase 2017-12-29 13:04:44 +01:00
Vladimir Krivosheev efcec1bd92 cleanup (throws, types) 2017-12-29 13:04:44 +01:00
Rustam Vishnyakov 5064bbb722 Deprecate old non-psiFile code style methods 2017-12-29 14:59:33 +03:00
Egor Ushakov 5a5a514417 cleanup: use enum 2017-12-29 14:57:02 +03:00
Tagir Valeev c78e018f81 DFA: ignore boolean fields initializer if it's true or false literal
Often it's used as a knob to switch program behavior, so it's reasonable to analyze both alternatives
2017-12-29 18:35:29 +07:00
Tagir Valeev f688f2edd9 DataFlowInspectionBase: qualifier check (Review ID: IDEA-CR-28206) 2017-12-29 18:35:28 +07:00
Tagir Valeev 55ceed0e09 Value assigned to the variable is already assigned to it => Variable is already assigned to this value
Review ID: IDEA-CR-28206
2017-12-29 18:35:28 +07:00
Sergey Malenkov bf5ab3c8d7 fix NPE while searching in empty JBIterable 2017-12-29 14:31:12 +03:00
Anna.Kozlova edf023ab40 move local variable into try-with-resources resource list (IDEA-184405) 2017-12-29 12:22:14 +01:00
Anna.Kozlova 2e6843d890 disable inline variable used in resource list (IDEA-171153) 2017-12-29 12:22:14 +01:00
Anna.Kozlova 8a80bb8368 replace old assert with new (IDEA-175693)
deprecated method always fail, add default delta to preserve the test state
2017-12-29 12:22:14 +01:00
peter 7509a3342d fix flaky JavaAutoPopupTest: handle cases when completion is a bit slower than usual 2017-12-29 12:07:30 +01:00
Sergey Malenkov ebe0944ba6 fix NPE while searching in empty JBIterable 2017-12-29 13:50:40 +03:00
Sergey Malenkov 4b5411f21e fix test to support old tree builder 2017-12-29 13:50:40 +03:00
Arseny Chernyaev 98dfc721ba compute breakpoint variants asynchronously, see IDEA-CR-24061 2017-12-29 13:17:29 +03:00