Anna Kozlova
ca1d8a348c
postpone highlighting on conditions when errors occur on containing call
...
poly conditional expression receives type from context, if context contains errors, it's better to highlight those first (IDEA-185540)
2018-01-30 11:33:49 +03:00
Roman Ivanov
6ffe3df05c
IfStatementWithIdenticalBranches: preserve comments when merge if's
2018-01-30 13:58:06 +07:00
Roman Ivanov
798fea215a
SortContentAction: fix warping in the middle of initializer: IDEA-185786
2018-01-30 13:58:05 +07:00
Roman Ivanov
c71ae7e4f1
SortContentAction: consistent count of expr to be available: IDEA-185785
2018-01-30 13:58:05 +07:00
Tagir Valeev
3210510c96
CollectionUtils#isCollectionOrMapSize
...
Used in ToArrayCallWithZeroLengthArrayArgumentInspection and StreamApiMigrationInspection
2018-01-30 11:01:38 +07:00
Roman Ivanov
abd1458307
SortContentAction: fix IOOBE, check if expr is literal: IDEA-185784
2018-01-30 10:39:30 +07:00
Roman Ivanov
d5d06483fe
RedundantExplicitCloseInspection created: IDEA-176630
2018-01-30 10:39:29 +07:00
Tagir Valeev
1e0612c56a
AssignmentTwicePreciseTypeDfa test fixed (imports restored)
2018-01-30 09:54:02 +07:00
Dmitry Batrak
5542ec580e
IDEA-184991 Parameter info popup doesn't highlight current item
...
simplify test
2018-01-29 17:40:25 +03:00
Tagir Valeev
d0f2bde3a8
GuessManagerImpl: type inference fixes
2018-01-29 16:40:51 +07:00
Tagir Valeev
97aa63f410
GuessManagerImpl: do not run DFA if all assignments/initializations have the same r-value type
...
Fixes IDEA-185290 Too long time takes filling of Ctrl+Space list. (fast code insertion)
2018-01-29 16:12:55 +07:00
Roman Shevchenko
d86246d49c
Merge remote-tracking branch 'origin/master'
2018-01-29 12:05:46 +03:00
Tagir Valeev
2f547ca38f
RedundantStringOperationInspection: warn about append(s.substring(x, y))
...
Replaceable with append(s, x, y)
Fixes IDEA-185652 Improve StringBulder.append(s.substring(1,2)) intention
Also optimization of new expression resolution
2018-01-29 13:34:55 +07:00
peter
b18641611e
revert parameter info fix, as it breaks completion hints behavior
2018-01-27 20:42:32 +01:00
peter
fb752a206f
IDEA-184991 Parameter info popup doesn't highlight current item
2018-01-27 18:01:42 +01:00
Roman Shevchenko
7ea3759d4d
[tests] drops unneeded language level setting in Java parser tests
2018-01-27 12:41:58 +03:00
Vladimir Krivosheev
3f23c71aeb
final (?) attempt to fix DoNotSaveDefaultsTest.testApp (ignored resources)
...
fix blinking PsiModificationTrackerTest (full save since workspace xml is used)
2018-01-27 09:48:51 +01:00
peter
2eb6631161
another attempt to fix flaky JavaAutoPopupTest
2018-01-26 21:48:06 +01:00
Alexey Kudravtsev
15b1fd00ac
encapsulate DocumentCommitThread
2018-01-26 18:19:03 +03:00
Eugene Zhuravlev
3d4b4c53b2
java make: recompile method usages of deleted method when it is replaced with equivalent bridge method (IDEA-185494)
2018-01-26 16:05:43 +01:00
Anna Kozlova
452f640787
junit: skip inner classes for known runners in test detection (IDEA-185621)
...
replace mock junit with project library
2018-01-26 16:38:13 +03:00
Alexander Zolotov
44cf735d41
Fix Java safe delete test
...
move caret to class declaration if it's not configure in testdata
2018-01-26 16:11:46 +03:00
Vladimir Krivosheev
259c8540d4
revert changes
2018-01-26 12:57:58 +01:00
Vladimir Krivosheev
7dacf096c4
fix tests
2018-01-26 12:57:55 +01:00
Vladimir Krivosheev
bfdd4ef950
some heavy tests requires created project base dir
2018-01-26 12:57:55 +01:00
Vladimir Krivosheev
cbdbbfaf3b
prefer getBasePath()
2018-01-26 12:57:52 +01:00
Vladimir Krivosheev
fe1709d002
PlatformTestCase — do not create project/module files explicitly
2018-01-26 12:57:52 +01:00
Tagir Valeev
6cb1553fdf
JavaCompletionUtil: do not add an unnecessary cast if hierarchy signature has several levels
...
Fixes IDEA-185554 Redundant cast on autocompletion
2018-01-26 15:07:46 +07:00
Tagir Valeev
97300d73f1
IDEA-185548 Inspection to remove excessive Comparator.comparing call
2018-01-26 12:27:12 +07:00
Tagir Valeev
88bc353da4
PsiExpressionList: added getExpressionCount() and isEmpty()
...
Optimized implementations in PsiExpressionListImpl, usages replaced where possible
2018-01-26 12:27:11 +07:00
Dennis Ushakov
217cb82645
WEB-21129: parameters -> params
2018-01-25 23:15:19 +03:00
peter
7732e31f93
set some more performance test expectations to their current timings on a quad-core machine
...
old expectations for single-core HT can't be scaled up
2018-01-25 15:26:19 +01:00
Vladimir Krivosheev
2b898b1a4d
ensure that global encoding settings is not modified after test
2018-01-25 13:58:12 +01:00
Alexander Zolotov
2bb2270dec
Fix test
2018-01-25 14:41:09 +03:00
Roman Ivanov
31f6abe161
CapturingCleaner: fix local variable calls threated as this calls
2018-01-25 18:38:05 +07:00
Roman Ivanov
e0d98aa700
CapturingCleanerInspection: get back description, renaming
2018-01-25 18:38:05 +07:00
Roman Ivanov
c2484042bc
CapturingCleanerInspection: fix review issues
2018-01-25 18:38:04 +07:00
Roman Ivanov
80e3c4aef6
CapturingCleanerInspection: fix review issues
2018-01-25 18:38:04 +07:00
Roman Ivanov
5af11f3309
CleanerCapturingThisInspection: reference expression support
2018-01-25 18:38:04 +07:00
Roman Ivanov
3672450380
CleanerCapturingThisInspection: unify tests, simplify
2018-01-25 18:38:04 +07:00
Roman Ivanov
0fdd07d1a6
CleanerCapturingThisInspection: fix instance method detection
2018-01-25 18:38:04 +07:00
Roman Ivanov
97759d352b
CleanerCapturingThisInspection: change description
2018-01-25 18:38:03 +07:00
Roman Ivanov
540517b83e
CleanerCapturingThisInspection: add tests for method refs
2018-01-25 18:38:03 +07:00
Roman Ivanov
39f971040b
CleanerCapturingThisInspection: add tests for classes
2018-01-25 18:38:03 +07:00
Roman Ivanov
102a9efff9
CleanerCapturingThisInspection: add tests for lambda expr
2018-01-25 18:38:03 +07:00
nik
43d6d568c8
IDEA project configuration: the great module rename
...
Improve names for product-specific modules: change 'intellij.productEdition' to 'intellij.product.edition' (e.g. 'intellij.ideaUltimate' -> 'intellij.idea.ultimate'). This makes names of these modules consistent with other names and groups modules related to the same product together.
2018-01-25 12:59:04 +03:00
nik
be2b7437d2
IDEA project configuration: the great module rename
...
Correct module name in JdkUtilTest.
2018-01-25 12:59:03 +03:00
nik
c9620ce099
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Update *.iml files.
2018-01-25 12:59:02 +03:00
nik
16410c2321
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Rename iml files.
2018-01-25 12:59:02 +03:00
Tagir Valeev
b3a46c4960
AddOnDemandStaticImport: test-case with nested calls and comments
...
Review ID: IDEA-CR-28752
2018-01-25 16:33:34 +07:00