Commit Graph
210528 Commits
Author SHA1 Message Date
Anna Kozlova 0ebca9cff2 invert if: check precedence and keep parenthesis accordingly (IDEA-175062)
replace duplicated negation utility
2018-01-03 14:18:52 +01:00
Anna Kozlova 28ec1b1e80 inline variable: if def in assignment expr replace with def if not stmt
otherwise containing expression would miss a part (IDEA-152813)
2018-01-03 14:18:51 +01:00
Tagir Valeev b98a9ccc6b XorNullity: cosmetic 2018-01-03 18:29:17 +07:00
stsypanov aad182bef4 [PATCH] get rid of unnecessary array wrapping
PR https://github.com/JetBrains/intellij-community/pull/700
2018-01-03 18:23:38 +07:00
Sergey Ignatov 2339dfde60 revert kotlin plugin version due to broken hibernate and sql tests 2018-01-03 14:00:28 +03:00
Tagir Valeev 282e4ff321 Removed special handling of getX() != null
Also fixes IDEABKL-7233 if methods are annotated as pure
2018-01-03 16:38:16 +07:00
peter 14c9180131 move jetCheck to org.jetbrains 2018-01-03 10:22:44 +01:00
peter ee37e819ab PSI events: sort by element index which is more robust than current/initial offset 2018-01-02 22:32:06 +01:00
peter ec69852fc7 jetCheck tests: don't spam to console 2018-01-02 22:32:06 +01:00
Dmitriy Smirnov 36ad98f976 IDEA-184450 Prompt for a new SSH passphrase after the saved one fails 2018-01-02 23:00:02 +03:00
Dmitriy Smirnov 4aa17e9cca IDEA-182230 Cancel merge without confirmation if no changes were made 2018-01-02 23:00:01 +03:00
Anna.Kozlova 835de9d8d0 don't dispose smart pointers explicitly (IDEA-184471)
refactorings preview reuses same usage infos which are used in refactoring itself, thus disposing pointers on view close makes it impossible to perform refactoring as elements can't be restored in common case when no other pointers were created e.g. by inspections, etc
2018-01-02 19:52:48 +01:00
Anna.Kozlova 728c33a5f0 prefer normal search in dialogs with editor (IDEA-181371) 2018-01-02 19:52:48 +01:00
Roman Shevchenko cdc9de4577 [ui] even better quotes paths for "Show in Explorer" action (IDEA-183953) 2018-01-02 19:22:36 +01:00
Kirill Likhodedov 5a3d86a443 Calculate toString() only when LOG.debug is enabled
Follow-up: 1bf93d4
2018-01-02 20:37:42 +03:00
Simon Legner 54be7d2885 CONTRIBUTING.md: add link to electronic submission of CLA 2018-01-02 20:27:04 +03:00
Roland Illig 6eb55b72cd Fix UI typo in RepositoryAttachDialog 2018-01-02 20:23:44 +03:00
Sergey Ignatov 3e690aa61d move TestClassesFilterTest.java from java-test to testFramework tests 2018-01-02 19:57:51 +03:00
Anna.Kozlova b8f21ba9ba quick doc: don't generate qNames for local classes (IDEA-184455) 2018-01-02 17:49:11 +01:00
Anna.Kozlova b3ca7c3219 ignore same qNamed classes from different libraries (IDEA-177043) 2018-01-02 17:49:11 +01:00
Sergey Ignatov 45b96a0f4c cleanup 2018-01-02 18:34:55 +03:00
Sergey Ignatov cfc01324fd 2018 2018-01-02 18:30:58 +03:00
peter 21d399f039 don't consider injection to be "inside" string literals in PsiElementPattern (IDEA-182862) 2018-01-02 16:01:37 +01:00
peter fe91b52436 don't perform postponed formatting on PSI with potentially incorrect outer elements (IDEA-182929) 2018-01-02 15:58:45 +01:00
peter dd9fa434e0 IDEA-158249 Complete Current Statement of for loop: code is not reformatted 2018-01-02 15:55:43 +01:00
peter d047658f81 IDEA-183481 final keyword is wrongly auto-completed to finalize() in try-with-resources 2018-01-02 15:55:43 +01:00
Bas Leijdekkers 2bb83ed9fb IG: more strictly check for ambiguity (IDEA-184421)
in "Call to inherited method looks like call to local method" inspection
2018-01-02 15:45:44 +01:00
Roman Shevchenko 15b238b7e2 [java] highlights XML entity refs in doc comments (IDEA-164977) 2018-01-02 15:33:22 +01:00
Anna.Kozlova 38b03b8ff8 restore default return value 2018-01-02 13:32:38 +01:00
Anna.Kozlova fea3ba74d9 preserve comments test: ignore action which explicitly change javadoc 2018-01-02 13:27:09 +01:00
Anna.Kozlova 3ec2024b78 conflict resolution with visibility==all (IDEA-184127)
stop at found candidate if it is accessible without loose check, proceed otherwise to include top level candidates and get rid of wrong candidates by conflict resolution
2018-01-02 12:47:35 +01:00
Tagir Valeev 71f674706a WrapWithAdapterMethodCallFix: add more diagnostics for EA-114444. 2018-01-02 17:32:11 +07:00
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