Anna Kozlova
658607d9c2
new overload resolution: reject complete normally when last instruction is return (IDEA-134808)
2014-12-29 18:57:39 +01:00
Yaroslav Lepenkin
276b9556ae
Added tests for reformat code action on changed vcs changed lines
2014-12-26 20:53:30 +02:00
Yaroslav Lepenkin
a68fe14f58
Added tests for reformat code action, invoked on file in editor. RearrangeCodeProcessor can process selected text now.
2014-12-26 20:53:30 +02:00
Maxim.Mossienko
ecbf2e64c5
[Java] When we complete class name after new then if constructor(s) exist: show documentation for it, for several constructors suggest list of links to particular constructor documentation, same way as we do for (overloaded) calls.
...
Also try hard for documentation to work on incomplete new expressions like 'new Class<caret>', 'new Class(<caret>)'. As useful side effect method documentation links are shown for overloads (or method documentation for no overloads) when documentation action is invoked in argument list.
2014-12-24 22:05:27 +01:00
Anna Kozlova
bb51fb1c63
generate equals/hashCode: support deep arrays equals for java > 1.5 (IDEA-131533)
2014-12-24 20:26:36 +01:00
Anna Kozlova
5da3bc1687
rename failure fixed: incomplete references on fields are now processed by VariableInIncompleteCodeSearcher
2014-12-24 20:26:33 +01:00
Alexander Zolotov
30c60fff7a
ListTemplate action: do not overwrite prefix-matched template with template
...
that was found by description
2014-12-24 19:44:40 +03:00
Anna Kozlova
e130ff2669
quick javadoc: include new javadoc tags in view (IDEA-128304)
2014-12-24 14:26:27 +01:00
Anna Kozlova
fc2f15f64e
java 8 javadoc tags @apiNote, @implNote, @implSpec
2014-12-24 14:26:26 +01:00
Anna Kozlova
607d4e4f79
make static: allow to delegate (IDEA-24060)
2014-12-23 19:32:30 +01:00
Anna Kozlova
f99580f6a5
enable delegate for interfaces in 1.8
2014-12-23 19:32:29 +01:00
Andrey Starovoyt
b20fc1c936
live templates: incorrect adding generic parameter IDEA-134434
2014-12-23 18:18:43 +03:00
Anna Kozlova
62b540f862
inplace introduce parameter: ensure that parameter is not deleted if not all occurrences are replaced
2014-12-23 14:17:31 +01:00
Anna Kozlova
534f8ad773
automatically rename overloads (IDEA-131926)
2014-12-23 14:17:30 +01:00
Anna Kozlova
afc3e23260
extract method: disable make static when extracting from default method; ensure static extracting from constant in interface (IDEA-134636)
2014-12-23 11:42:42 +01:00
Maxim.Mossienko
7126e14983
open mail client on mailto: links
2014-12-22 13:40:05 +01:00
Maxim.Mossienko
2f73716a0e
IDEA-64131 support for links in comments
2014-12-22 13:15:25 +01:00
Anna Kozlova
09dc54d415
extension for lombok val support (IDEABKL-5667)
2014-12-19 19:49:01 +01:00
Anna Kozlova
559397d21f
cascade delete (IDEA-80842)
2014-12-19 17:08:05 +01:00
Anna Kozlova
e6371b208f
lambda <-> anonymous <-> method ref: collapse lambda block when applicable refactored (IDEA-134509)
2014-12-18 19:20:21 +01:00
Anna Kozlova
79da0849e2
disable lambda -> method ref if resulted methods are not the same (IDEA-134486)
2014-12-18 14:13:23 +01:00
Anna Kozlova
6e761e661f
surround with try/catch: ignore nested functional expressions from unchecked analyzes
2014-12-18 14:13:22 +01:00
Anna Kozlova
6336e973c9
add exception to throws: find functional interface method for method references; discard if in library (IDEA-134468)
2014-12-18 14:13:20 +01:00
Anna Kozlova
0be4af00e0
new overload resolution: block can complete normally if the last statement could throw exception (IDEA-134103)
2014-12-17 20:51:47 +01:00
Anna Kozlova
24a7a43f7c
redundant lambda code block: ensure conflicts between same param numbers are checked
2014-12-17 20:13:47 +01:00
Anna Kozlova
7343c62b7e
new inference: infer exceptions for inner lambda body calls (IDEA-134225)
2014-12-17 20:13:46 +01:00
Anna Kozlova
a026cc2dd1
new overload resolution: check only functional arguments in isFunctionalTypeMoreSpecific (IDEA-134328)
2014-12-17 20:13:42 +01:00
Roman Shevchenko
be9338022f
platform: avoid returning corrupted plugin descriptor
2014-12-17 17:13:30 +01:00
Anna Kozlova
014215aec5
generated test data, unrelated classes
2014-12-17 09:57:50 +01:00
Anna Kozlova
1ed0901d4b
new inference: reject equals bounds contradicting lower bounds
2014-12-17 09:57:48 +01:00
Anna Kozlova
f217ed47c4
new inference: reject contradicting equals bounds
2014-12-17 09:57:47 +01:00
Anna Kozlova
e0b2d2d8f0
new inference: process wildcards captured bounds
2014-12-17 09:57:45 +01:00
Anna Kozlova
811234ec46
captures: replace type parameter in capture on substitution
2014-12-16 10:45:03 +01:00
Anna Kozlova
7933aad974
captures: distinguish by type parameters in method return type evaluation context
2014-12-16 10:45:02 +01:00
Alexey Kudravtsev
c3e8934499
IDEA-133946 Don't highlight private constructor as unused if it is called by dependency injection engine
2014-12-15 14:18:20 +03:00
Anna Kozlova
8cc6072e73
introduce functional parameter: ignore parameters of containing method as they are available at call site
2014-12-15 12:13:30 +01:00
Anna Kozlova
482de672ef
method references: site substitution for method references without receiver (IDEA-134261)
2014-12-12 20:57:02 +01:00
Anna Kozlova
9b4cacf341
functional interface suggester: check return types and try to infer
2014-12-12 19:28:55 +01:00
Anna Kozlova
124c957b7c
introduce functional parameter: ensure resulted method non-static
2014-12-12 19:28:52 +01:00
Anna Kozlova
e767382757
functional interface suggester: accept non exact method references
2014-12-11 17:20:11 +01:00
Dmitry Jemerov
65666dfa8c
capitalize JUnit correctly
2014-12-11 16:56:24 +01:00
Anna Kozlova
474e0fef6f
introduce code block parameter: filter out functional interfaces which are not compatible by thrown types
2014-12-11 11:16:45 +01:00
Anna Kozlova
1053a96872
introduce code block parameter: extract method call with conditional exit
2014-12-11 11:16:44 +01:00
nik
9421b80596
external build: fixed problem with files remaining dirty after 'Make Project'
2014-12-11 12:40:30 +03:00
Anna Kozlova
3d1f3bf386
introduce code block parameter: extract from code block
2014-12-10 16:37:46 +01:00
Anna Kozlova
380a115d70
introduce code block parameter: shorten class refs
2014-12-10 16:05:59 +01:00
Anna Kozlova
4889becd80
introduce code block parameter: try to infer SAM type by extracted method parameter types
2014-12-10 16:05:58 +01:00
Anna Kozlova
dfc7e8cb61
introduce parameter: allow to introduce parameter from code block (IDEA-81166)
2014-12-10 16:05:56 +01:00
Anna Kozlova
a23fdf8c97
introduce variable: exclude classes with not acceptable @since tag from suggestion
2014-12-10 16:05:55 +01:00
Anna Kozlova
fc4434d241
extract method: use target class context to check nullability
2014-12-09 17:06:19 +01:00