Commit Graph
199167 Commits
Author SHA1 Message Date
Tagir Valeev 5c33eecb2e TrivialFunctionalExpressionUsage bugfixes & refactoring
Fixes IDEA-176019 Trivial functional expression: do not inline if parameter produces side effect and evaluated not once
Fixes EA-103938 (invalid PSI was used if inlining replaced the whole method)
Fixes inlining of functional expression
2017-07-18 17:39:34 +07:00
Dmitry Batkovich 86977a23ec access visibility inspection: fix global inspection in case of inner classes IDEA-175921 2017-07-18 12:19:02 +03:00
Roman Shevchenko 531c5d36da [project] drops outdated build files 2017-07-18 10:52:33 +02:00
peter 64f26ad092 mad testing: extract java-specific code, check stubs more frequently 2017-07-18 10:31:33 +02:00
peter aed46fcdd6 fix java stub-PSI mismatch when typing "class" 2017-07-18 10:06:19 +02:00
peter b1e59918d7 UnusedImportInspection: don't warn on garbage code
where quick fixes would result in stub-AST mismatches
2017-07-18 09:29:51 +02:00
Tagir Valeev 037d3d9f2a ParenthesesUtils: TypeConversionUtil.convertEQtoOperation used 2017-07-18 13:22:05 +07:00
peter 876e6970f0 let PsiTestUtil.checkStubsMatchText check the real result of stub builder 2017-07-18 07:40:48 +02:00
Tagir Valeev c538319b5c PointlessNullCheck: use psiTraverser instead of ReferencesSearch
Review ID: IDEA-CR-22517
ReferencesSearch may be slow for fields if some extensions are registered.
2017-07-18 11:43:22 +07:00
Tagir Valeev 7b0ed35922 EqualsOnSuspiciousObject fixes (IDEA-CR-20523)
Description reformulated, <p> removed (causes blank line in popup)
checkTypes loop unrolled.
rawType() -> resolveClassInClassTypeOnly()
2017-07-18 10:42:54 +07:00
Gregory.Shrago b11c81b207 Laf switch: do not 1. initialize all TWs and 2. updateUI twice (2) 2017-07-18 01:40:23 +03:00
Gregory.Shrago ab5ce4387d use getParent() == null for not-in-hierarchy test 2017-07-18 01:40:19 +03:00
Konstantin Bulenkov dc01ec2b85 give methods a better names (IDEA-CR-22995) 2017-07-17 23:38:01 +02:00
Vassiliy.Kudryashov 5af49b06a1 Trim long RC names, key is run.configuration.max.name.length (40)
IDEA-157353 Having a Run Configuration with a name too long causes it to disappear
2017-07-17 22:37:35 +03:00
Konstantin Bulenkov 36fee928ae remove unused code (icon set from xml) 2017-07-17 21:21:15 +02:00
Konstantin Bulenkov d28b5ad2aa make Flat Welcome Screen default for all products except DataGrip 2017-07-17 21:21:14 +02:00
Konstantin Bulenkov f31cb5be85 change default icon for GetFromVCS action 2017-07-17 21:21:13 +02:00
Anna.Kozlova ac73f2aaa2 AIOOBE 2017-07-17 20:57:52 +02:00
Roman Shevchenko 33bc2fc627 Merge remote-tracking branch 'origin/master' 2017-07-17 20:51:35 +02:00
Roman Shevchenko f84c45aa89 [project] extends english dictionary 2017-07-17 20:50:38 +02:00
Roman Shevchenko 689947fd6f [java] supports moving module statements up/down 2017-07-17 20:48:52 +02:00
Aleksey Pivovarov c203838c3d update copyright 2017-07-17 21:14:59 +03:00
Aleksey Pivovarov 56c0b37e48 icon classes generation: update warning message 2017-07-17 21:12:14 +03:00
Aleksey Pivovarov ff78e2d6e7 icon classes generation: update warning message 2017-07-17 21:12:14 +03:00
Aleksey Pivovarov 0c92e8aac8 IDEA-103558 move icons.gant to CE source code 2017-07-17 21:12:14 +03:00
Roman Shevchenko fcb4fa268c Cleanup (formatting) 2017-07-17 20:00:01 +02:00
Dmitry Semeniouta 3a911795c5 AC/C++: CPP-3370
IDE utilizes all available CPU resources making system unresponsive
2017-07-17 20:54:01 +03:00
Gregory.Shrago 61a764b7b9 Laf switch: do not 1. initialize all TWs and 2. updateUI twice 2017-07-17 20:37:35 +03:00
Gregory.Shrago 18a7b83b76 non-DMT tree fix 2017-07-17 20:37:35 +03:00
Bas Leijdekkers e6ce1d3842 IG: add package statement before unknown content (IDEA-175929) 2017-07-17 19:34:18 +02:00
Bas Leijdekkers 48ef12952b RegExp: empty branch should be allowed in some cases (IDEA-175946) 2017-07-17 19:34:18 +02:00
Roman Shevchenko ace08ce8cf Cleanup (warnings; formatting) 2017-07-17 19:28:50 +02:00
Dmitry Batrak f615f12336 allow to verify both caret and inlays position simultaneously in tests 2017-07-17 19:51:16 +03:00
Aleksey Pivovarov 6336d4840c IDEA-157613 vcs-log: fix branch filter completion for names with dashes 2017-07-17 19:28:47 +03:00
Vassiliy.Kudryashov 5bdda32268 Don't warn about 'forgotten' window listeners, they are OK 2017-07-17 19:15:07 +03:00
Michael Golubev 57241d9c53 IDEA-171124 - Docker: allow long text for test connection error
- comments from IDEA-CR-22972 addressed, JBPanel -> JPanel
2017-07-17 18:02:44 +02:00
Julia Beliaeva 76a916f3bd [file-history] when commit is not found in history suggest to show all branches or select in main log 2017-07-17 18:55:55 +03:00
Sergey Malenkov 32434d7bdd test StackOverflow when create TreePath 2017-07-17 18:44:42 +03:00
Roman Shevchenko e444484c25 Cleanup (sorts EPs according to wanted order) 2017-07-17 17:38:20 +02:00
Alexander Lobas 803d09d998 Rollback fix. 2017-07-17 18:26:53 +03:00
Dennis Ushakov f604a893fe remove dt from inline containers (WEB-27570) 2017-07-17 18:21:48 +03:00
Roman Shevchenko 4b27c144fc [java] module reference should resolve to a containing module first
(resolves an ambiguity when there are several modules of a same name)
2017-07-17 16:39:08 +02:00
Sergey Malenkov cddf58c769 IDEA-175624 Option+ (mnemonic) stopped working on IJ 2017.1 (regression) 2017-07-17 17:19:13 +03:00
Liana.Bakradze ab4341bdf6 EDU-1004 Support examples from Atomic Kotlin 2017-07-17 17:17:24 +03:00
Pavel Dolgov dcef98fe6e Java: Detect potential dangling 'else' in "code block contains single statement" inspection (IDEA-174415) 2017-07-17 17:08:38 +03:00
anstarovoyt c897be5542 test framework: throw exception 2017-07-17 17:00:49 +03:00
peter 82ae0d4e0b disable "add on demand static import" on invalid code 2017-07-17 15:50:33 +02:00
Yaroslav Lepenkin 06ab690fa7 [comments formatting] minor, move class 2017-07-17 16:46:55 +03:00
Yaroslav Lepenkin f88142ca55 [parameter hints] added clarifying comment to InlayInfo 2017-07-17 16:46:54 +03:00
Semyon Proshev a361fee76e PY-25045 Fixed: False positive: expected type '{__div__}', got 'Union[int, float]' instead
Update PyBinaryExpressionImpl to return `__truediv__` as referenced name instead of `__div__` when it is enabled.
2017-07-17 16:41:11 +03:00