Commit Graph
10445 Commits
Author SHA1 Message Date
Tagir Valeev dede7b30f7 IDEA-113585 Cast to Type quick fix creates code that doesn't help 2017-09-19 16:10:34 +07:00
peter 942e33f28a IDEA-179184 Go to file regression -- no longer matches on forward slashes in Windows 2017-09-19 10:37:59 +02:00
Anna Kozlova a0d0315bfa method can be void: don't warn on entry points (IDEA-179191) 2017-09-19 11:02:25 +03:00
Anna Kozlova 2f165da164 LVTI: accept explicit array types, javadoc (follow IDEA-CR-24690) 2017-09-19 09:28:42 +03:00
Tagir Valeev 36999ebfc4 IDEA-179128 Quick-fix for "'if' statement has empty body" 2017-09-19 13:04:21 +07:00
peter d8a63070d0 don't preselect better-matching deprecated classes (IDEA-124382) 2017-09-18 18:44:39 +02:00
Dmitry Batkovich 583b83e553 quick fix for deprecation inspection: replace method call with suggested in javadoc if no red code produced IDEA-130816 2017-09-18 19:42:50 +03:00
Dmitry Batrak 3038cf1532 show parameter's JavaDoc in completion parameter info popup 2017-09-18 19:10:54 +03:00
Anna Kozlova 29bc5a12c0 LVTI: warnings for var as class name (IDEA-178868) 2017-09-18 19:05:20 +03:00
Anna Kozlova 2180c05b71 initial highlighting for LVTI (IDEA-178868) 2017-09-18 17:04:30 +03:00
nik 291bb2a609 test framework: add DSL to generate class-files in 'directoryContent'
So we can produce simple *.class files dynamically instead of placing them in testData directories.
2017-09-18 16:17:12 +03:00
Alexey Kudravtsev c6b1ec8ef3 dispose leaking virtual file pointers in tests 2017-09-18 13:35:28 +03:00
Tagir Valeev d7f09f6cdd StreamToLoop: support array slice (Arrays.stream(arr, from, to)) 2017-09-18 17:30:53 +07:00
Tagir Valeev 7345e8b0ef UnrollLoopAction: fixes according to review IDEA-CR-24513
1. Check that loop parameter is not written
2. Support List.of, Collections.singleton, Collections.singletonList
3. Support if w/o braces
4. Support break not in last position
2017-09-18 16:37:40 +07:00
Dmitry Batrak c9325f9573 fix empty info popup shown for completion hints 2017-09-18 12:19:05 +03:00
peter 7aa6fb5e22 java mad testing: avoid some invalid completion expectations 2017-09-18 10:35:07 +02:00
Tagir Valeev 717076ee3c SimplifyForEachContext#from: fix nullability problem
EA-107550 - NPE: SimplifyForEachInspection.extractLambdaFromForEach
2017-09-18 15:21:32 +07:00
Tagir Valeev df95dbba8f ControlFlowAnalyzer: store lambda return val to variable when inlining block
Should fix EA-107095 - CCE: ControlTransferInstruction.accept
2017-09-18 14:45:40 +07:00
Dmitry Batkovich 88542e3e86 cleanup: apply "static method referenced via subclass" for PropertyUtilBase methods 2017-09-18 10:36:51 +03:00
Tagir Valeev 2b46ed04c9 RedundantCastInspection: IGNORE_ANNOTATED_METHODS option removed
After change 3c9c050b4 it's always on anyways
2017-09-18 14:14:47 +07:00
peter bbc6baa91e IDEA-178535 Duplicate class suggestions in cast 2017-09-16 19:11:43 +02:00
peter 84f49683cb IDEA-178377 No "final" completion suggestion in catch declaration 2017-09-16 19:11:43 +02:00
peter 9749d1bf41 IDEA-178754 In-method class item reported as "default package" 2017-09-15 22:04:11 +02:00
peter dd920e884e completion: place functional expressions after variables of expected type (IDEA-174428, IDEA-178600) 2017-09-15 22:04:11 +02:00
peter 8561e8cb19 IDEA-178933 Complete current statement for if statement without opening bracket 2017-09-15 22:04:10 +02:00
peter 1c0b37c8cd goto file: restore understanding of queries with wrong (russian) keyboard layout 2017-09-15 22:04:10 +02:00
peter e5bde2ff34 IDEA-173927 Support keywords autocompletion when keyboard layout is incorrect 2017-09-15 22:04:10 +02:00
Maxim.Mossienko 5f86598a69 Enforce null modifier list for decompiled anonymous classes 2017-09-15 15:19:57 +02:00
Dmitry Batkovich 5116aad4cc use Optional.of() instead ofNullable() in "opt" postfix template when expression is not null 2017-09-15 15:55:54 +03:00
Anna Kozlova 7e8441d8d4 naming convention: class naming convention disabled by default 2017-09-15 15:48:35 +03:00
Dmitry Batkovich bd2c0418e8 stream postfix template shouldn't be available for primitive arrays except long[], double[], int[] 2017-09-15 15:29:00 +03:00
Anna Kozlova 2c7b27b512 class naming convention: merge all inspections into one 2017-09-15 14:16:10 +03:00
Roman Shevchenko 245a66cd67 [java] Project Amber: parser, inference, keyword highlighting (IDEA-178868) 2017-09-15 12:57:23 +03:00
Roman Shevchenko 70e7369a19 [tests] minor Java parser test case optimization 2017-09-15 12:53:06 +03:00
Maxim.Mossienko e08dea08b7 Enforce null modifier list for decompiled anonymous and local classes 2017-09-15 10:01:52 +02:00
Tagir Valeev d837111973 IDEA-179038 When navigating to method definition specific type information known from DFA could be used to find actual implementation 2017-09-15 14:29:43 +07:00
Tagir Valeev 0efe3b96f3 StreamInlining split into two tests (IDEA-CR-24483) 2017-09-15 10:35:03 +07:00
peter 85039d1622 MinusculeMatcher: prefer exact case matches 2017-09-14 21:12:41 +02:00
peter f102f521e6 IDEA-179003 IntelliJ 2017.3 EAP takes longer to load list of actions in Ctrl-Shift-A than 2017.2 2017-09-14 17:13:34 +02:00
peter cf9b1e57a7 run ChooseByNameTest on EDT 2017-09-14 16:34:30 +02:00
Anna Kozlova 4a7c8c0952 EA-107346 - SOE: RefactoringUtil.collectTypeParametersInDependencies 2017-09-14 16:38:47 +03:00
Tagir Valeev cf595b408e DFA: track covariant return type/nullability if precise type info is available for qualifier
Fixes: IDEA-178773 Can't get to green code without suppressing an inspection in case of restricted nullability in overridden method
2017-09-14 17:38:43 +07:00
peter 9919d640b8 cache PsiFileImpl#hasUnbindableCachedPsi (GO-4344) 2017-09-14 10:05:02 +02:00
Tagir Valeev ca22260ce1 IDEA-178944 No warning on inner class creation from nullable reference 2017-09-14 12:22:34 +07:00
peter 35800aa59a goto file: allow middle matching for all parts of path 2017-09-13 19:11:28 +02:00
Roman Shevchenko 785ee6b602 Merge remote-tracking branch 'origin/master' 2017-09-13 18:48:46 +03:00
Roman Shevchenko cd341ebb20 [java] ignores bad characters in simple tags (IDEA-178636) 2017-09-13 18:48:12 +03:00
Roman Shevchenko bcd078f78a Cleanup (formatting) 2017-09-13 16:49:39 +03:00
peter b3d29e5749 IDEA-178141 Case sensitive completion: First Letter - doesn't work correctly if class starts with special symbol
check first letter after the underscore
2017-09-13 15:47:11 +02:00
Anna Kozlova b9e2c4130d inference: allow capture during intersection type construction (IDEA-173900) 2017-09-13 15:33:56 +03:00