Commit Graph

13242 Commits

Author SHA1 Message Date
Tagir Valeev
cfd0c17038 IDEA-205308 'Replace with max()' produces uncompilable source 2019-01-15 13:14:19 +07:00
Tagir Valeev
a3ed07435e IDEA-205309 'Replace with findFirst()' produces uncompilable source 2019-01-15 12:32:12 +07:00
Tagir Valeev
554aea463a IDEA-205404 When navigating from Java stacktrace try to find the relevant position within line 2019-01-15 11:47:40 +07:00
peter
506f7989e0 Revert "IDEA-201136 Update velocity library to 2.0"
it's too troublesome and has no clear benefits for now
we can return to this when we have more convincing reasons to upgrade than just "it's too old"
2019-01-14 22:18:42 +01:00
Anna.Kozlova
1328901684 visibility inspection: get default unused declaration settings when run by name (IDEA-205213)
or from current profile if unused declaration is enabled there
2019-01-14 18:43:31 +01:00
Dmitry Avdeev
f7770d2113 web references highlighting 2019-01-14 17:55:18 +03:00
Alex Plate
303167a69a Get rid of old retype option (interfere files) 2019-01-14 17:01:10 +03:00
peter
68e0436d03 analyze stack trace: support YourKit 2018 dump format 2019-01-14 13:34:03 +01:00
Artemiy Sartakov
c5622f8081 Inlining action: show conflicts when replacing variable with variable that might change (IDEA-204546) 2019-01-14 15:43:20 +07:00
Artemiy Sartakov
d84df5cee5 Inlining action: show conflict if replacement variable changes before last read of original variable (IDEA-204546) 2019-01-14 15:37:30 +07:00
Tagir Valeev
b99b742f41 ImportHelperTest => LightDaemonAnalyzerTestCase 2019-01-14 13:23:33 +07:00
Tagir Valeev
7682660a3b JavaExternalDocumentationTest => LightPlatformTestCase 2019-01-14 12:00:52 +07:00
Tagir Valeev
4c4233c17c GenerateJavadocTest => LightCodeInsightTestCase 2019-01-14 11:48:16 +07:00
Tagir Valeev
5166ad7ad8 ExternalAnnotationsManagerTest => LightPlatformTestCase 2019-01-14 11:24:51 +07:00
Tagir Valeev
e652cc3b6f DFA: support of arithmetic no-ops (*1, /1, >>0, etc.) 2019-01-14 09:43:19 +07:00
Vladimir Krivosheev
76995cb5a2 simplify — get rid of ComponentManager.saveStore test-only extension method 2019-01-11 17:09:00 +01:00
Vladimir Krivosheev
b4f5479d06 save settings - async flush on disk (part 2 - fix failing tests due to missed call to saveSettingsSavingComponentsAndCommitComponents) 2019-01-11 17:09:00 +01:00
Tagir Valeev
1c595b84ec ManyObjectEquals: misleading comment removed 2019-01-11 17:52:52 +07:00
Rustam Vishnyakov
b271fcd462 Fixed IDEA-205110 Reformatting JavaDoc with generics Map adds extra spaces every time 2019-01-11 13:34:31 +03:00
nik
9fcd4e3e6d IntelliJ project configuration: rename KotlinTest library to kotlin-test for consistency with artifactId 2019-01-11 11:30:43 +03:00
Tagir Valeev
6c2fee63c4 Testcase for IDEA-CR-41990 2019-01-11 15:27:57 +07:00
peter
1490d6eaf0 UnivocityTest: detect Maven importing issues, increase the ratio of external changes
to hopefully detect more bugs with stale caches
2019-01-10 15:58:08 +01:00
Anna.Kozlova
18f2a280c0 visibility inspection: don't suggest private for methods overridden in the same top level class (IDEA-205112) 2019-01-10 15:52:11 +01:00
Anna.Kozlova
e958d41470 visibility inspection: don't suggest to make inner class constructor protected when used outside of package(IDEA-205112) 2019-01-10 15:52:10 +01:00
peter
70a719c87a java completion: don't insert method type arguments if they weren't inferred (IDEA-198368) 2019-01-10 15:22:42 +01:00
Pavel Dolgov
7c74897f31 Java: Fixed duplicate 'switch' branches for parenthesised expressions, optimized for assignments (IDEA-181304) 2019-01-10 15:54:13 +03:00
Tagir Valeev
1d2f2fdb20 JavaIntentionPolicy: disable wrapping break label expression 2019-01-10 17:24:20 +07:00
Tagir Valeev
c68df6edc2 ConvertSwitchToIfIntention: preserve comments from expression when only default branch is present 2019-01-10 17:24:20 +07:00
Tagir Valeev
0835bd0976 ConvertSwitchToIfIntention: fix processing of empty blocks
IDEA-205137 `Replace Switch with If` produce exceptions
IDEA-205122 Unwrap switch fails with exception
2019-01-10 12:40:04 +07:00
Tagir Valeev
107adb48ab LiveVariablesAnalyzer: flush on &&/|| chains + minor bug fixes
Fixes IDEA-204984 Inspect Code hangs for single java file
2019-01-10 12:24:20 +07:00
Anna.Kozlova
4591c0939e disable switch -> if in property testing until fixed 2019-01-09 18:24:25 +01:00
peter
d8bdf3b24b don't cancel live template on unrelated command finish (EA-118944, EA-128467) 2019-01-09 17:17:52 +01:00
Anna.Kozlova
8fba87c8b3 disable unwrap switch fix for property tests 2019-01-09 14:56:18 +01:00
Roman.Ivanov
d35e8249ab SwitchBackwardMigrationInspection: support throwing of 2019-01-09 15:47:57 +07:00
Roman.Ivanov
45afa7feb5 SwitchBackwardMigrationInspection: add test for throwing exception in branch 2019-01-09 15:47:56 +07:00
peter
f9d91368a0 make JavaPsiImplementationHelperImpl.getClassesLanguageLevel work for directory roots (EA-127718) 2019-01-09 07:56:20 +01:00
Tagir Valeev
d62e4108c3 DFA: back-propagate operations like "x mod c1 == c2"
Fixes IDEA-96216 Missing "Condition always false"
2019-01-09 10:42:08 +07:00
Vladimir Krivosheev
adbbd36798 move StoreUtil to com.intellij.configurationStore 2019-01-08 20:21:27 +01:00
Vladimir Krivosheev
d2e69572c8 simplify StoreUtil.saveStateStore — accept component manager and not state store 2019-01-08 19:28:03 +01:00
Vladimir Krivosheev
72f19465b5 async IComponentStore.save 2019-01-08 18:52:40 +01:00
peter
57bb6c8f81 java completion: less distracting cast type (IDEA-194568) 2019-01-08 18:48:00 +01:00
Anna.Kozlova
e0e26f5b95 fix remove redundant suppress from javadoc tag (IDEA-205073) 2019-01-08 16:16:05 +01:00
Tagir Valeev
85a0b4cde7 IDEA-205057 DFA: support remainder tracking 2019-01-08 15:15:47 +07:00
Tagir Valeev
da922d18f6 LongRangeSet: unite implementation is optimized (no more expressed via subtract/intersect) 2019-01-08 15:15:45 +07:00
Anna.Kozlova
361f188984 highlighting of overriding methods: reorder warnings (IDEA-199315) 2019-01-07 19:09:18 +01:00
Anna.Kozlova
3a6c465931 functional interface suggester: check return expressions of lambdas (IDEA-199264) 2019-01-07 19:09:18 +01:00
Anna.Kozlova
55820ccd15 predict functional type in assignment context (IDEA-199264) 2019-01-07 19:09:17 +01:00
Anna.Kozlova
834f8a5c6a allow classes from default package in code fragment completion (IDEA-200562) 2019-01-07 15:45:56 +01:00
Roman Shevchenko
35699447a6 Cleanup (warnings) 2019-01-07 13:59:15 +01:00
Tagir Valeev
a48ee49974 IDEA-205011 DFA: limited support for shift-left 2019-01-06 16:18:42 +07:00