Yaroslav Lepenkin
f98a2a050e
Place brace on next line works for lambdas (IDEA-140199)
2016-03-24 19:06:59 +03:00
Anna.Kozlova
ca2921eb6e
inline local: don't check assignability before decoding (IDEA-152883)
2016-03-24 15:58:41 +01:00
Bas Leijdekkers
af3365744c
IDEA-38591 (Can't use "Create Local Var from instanceof" intention on multiple 'instanceof' with &&)
2016-03-24 15:36:14 +01:00
peter
419770e30d
IDEA-153437 Do not suggest to loop over the loop variable (and don't duplicate "new")
2016-03-24 11:54:46 +01:00
peter
75373588a4
tolerate invalid selected lookup elements during typing (EA-79715 - IAE: ObjectUtils._assertNotNull)
2016-03-24 11:54:45 +01:00
Anna.Kozlova
4232fad53c
convert type to denotable before creating array type from it: wildcard's type erasure should leave wildcard type as is
2016-03-24 11:48:06 +01:00
Anna.Kozlova
b3f4cc6589
proceed with wildcards separately to raw types: don't abuse erasure which should leave wildcard types as is
2016-03-24 11:48:06 +01:00
Anna.Kozlova
9e8666f159
bind params to fields: accept field assignments if not exactly the parameter reference was assigned (IDEA-120320)
2016-03-23 17:20:32 +01:00
Anna.Kozlova
0d78fb9f8d
extract class: normalize fields declarations (IDEA-153457)
2016-03-22 19:22:42 +01:00
Anna.Kozlova
732d5a8ef0
don't show duplicated overload rename suggestions (IDEA-153462)
2016-03-22 19:22:42 +01:00
Alexey Kudravtsev
0da8243294
cleanup: inline parameter
2016-03-22 19:13:45 +03:00
peter
21b30faafc
remove @WrapInTransaction anno because writing is now allowed from actions so not many clients will need it
2016-03-22 15:11:30 +01:00
Dmitry Batkovich
04519fc18e
guava type migration: cleanup
2016-03-22 14:51:30 +03:00
Dmitry Batkovich
0790362737
guava type migration: convert anonymous Function-s with runtime retention policy annotations to anonymous classes except @javax.annotations.Nullable (can be configured in settings)
2016-03-22 14:46:28 +03:00
Anna.Kozlova
4b4fe678f0
make first java 8 modules inherit language level from project default
2016-03-18 17:26:43 +01:00
Anna.Kozlova
4ad5c2006c
introduce functional parameter from substring
...
EA-80674 - AIOOBE: IntroduceParameterHandler.introduceStrategy
2016-03-17 21:25:32 +01:00
Anna.Kozlova
ea26329614
change signature: extract common code to search for conflicts; use it in introduce parameter object
2016-03-17 18:04:01 +01:00
Anna.Kozlova
f967d9f0d0
introduce parameter object: extract change signature part to start under the same progress
2016-03-17 18:04:01 +01:00
Vladimir Krivosheev
485dc52691
IDEA-131690 Settings repository plugin: when I merged settings from PyCharm java-related setting was deleted
2016-03-17 11:32:10 +01:00
Roman Shevchenko
8171a37c41
Merge remote-tracking branch 'origin/master'
2016-03-16 19:03:10 +01:00
Roman Shevchenko
fac9f4ae58
Cleanup (warnings; typos)
2016-03-16 18:57:54 +01:00
Anna.Kozlova
77227fc3da
move class or package: open in editor option doesn't depend on selection (IDEA-152956)
2016-03-16 17:41:38 +01:00
Anna.Kozlova
74f533e719
generate annotations: collect external annotations, check if annotation is available in target context (IDEA-152984)
2016-03-16 17:41:38 +01:00
Jim Purbrick
9969ae1b8b
optimization for multimodule projects
2016-03-16 17:41:38 +01:00
Dmitry Batrak
53597d86a2
avoid deadlock condition in JavaDocumentationProvider (made possible after fix for IDEA-152628)
...
JavaDocumentationProvider now needs to read data from class documentation URL while generating URL for class'es method. This is performed under read action and can lead to a deadlock if a write action is pending, because built-server also needs a read action to generate response (new read action is not allowed to start if write action is pending). To avoid this situation, we use original javadoc URL (not proxied by built-in server) to fetch data internally
2016-03-16 16:55:11 +03:00
peter
22d7be19f7
allow intentions and quick fixes to be annotated with @WrapInTransaction
2016-03-16 11:32:52 +01:00
peter
80c6e1c9f4
java completion sorting: disprefer return in void lambdas (IDEA-CR-9303, IDEA-152289)
2016-03-16 11:32:51 +01:00
Dmitry Batrak
ee5c99ecd7
cleanup
2016-03-16 10:27:34 +03:00
Dmitry Batrak
4102ffee3d
IDEA-152628 shift-F1 displays two URL
...
fix tests
2016-03-16 10:27:34 +03:00
Dmitry Batrak
2bf6b569a9
IDEA-152628 shift-F1 displays two URL (folowing IDEA-CR-9296)
...
assert that slow method is not invoked on EDT, remove existing usages on EDT
2016-03-16 10:27:34 +03:00
peter
d9cbc98a49
IDEA-152289 Code completion suggests "return" as the first result in the empty constructor
2016-03-15 19:55:14 +01:00
peter
28b7c2501a
IDEA-152325 Smart completion should not suggest class fields in its this/super constructor call
2016-03-15 19:55:14 +01:00
peter
a0a7c689ef
when completing inside this() calls, don't suggest variants for current constructor (IDEA-152325)
2016-03-15 19:55:13 +01:00
Anna Kozlova
1e9aebde4f
replace constructor with factory: skip new expression inside old factory to avoid recursion (following IDEA-CR-9194)
2016-03-15 19:09:04 +01:00
Anna Kozlova
0c583feae6
show static import suggestion: ensure normal inference process for method candidate (IDEA-152985)
2016-03-15 19:09:04 +01:00
peter
dd738694bd
IDEA-152516 Smart completion & inner classes
2016-03-15 17:38:05 +01:00
Dmitry Batrak
27816f618c
IDEA-152628 shift-F1 displays two URL
2016-03-15 18:53:01 +03:00
Dmitry Batkovich
45be7bae39
inspection tool window: unused declaration view more pretty
2016-03-15 09:54:35 +03:00
Dmitry Batkovich
98844560b8
inspection tool window: identations
2016-03-15 09:54:32 +03:00
Anna Kozlova
8f7c6c593a
don't expand exclude step by timer (IDEA-152991)
2016-03-14 21:34:56 +01:00
Anna Kozlova
c25621811c
test integration: replace method without javadoc with template (IDEA-152989)
2016-03-14 21:34:56 +01:00
Anna Kozlova
a54e0ed47e
copy to final: effectifely final is enough fot java 8 (IDEA-152934); change wording
2016-03-14 17:48:06 +01:00
Anna Kozlova
d66293b3f0
copy ref: update fqn when constructor is replaced with class
2016-03-11 18:31:41 +01:00
Anna Kozlova
696663a690
i18n (IDEA-152886)
2016-03-11 17:08:17 +01:00
Anna Kozlova
c04d309399
copy reference: fix isReferenceTo check (IDEA-152601)
2016-03-11 15:07:28 +01:00
peter
c4b72005ce
remove redundant @AcceptNestedTransactions (IDEA-CR-9197)
2016-03-11 11:34:35 +01:00
Egor.Ushakov
e09b0fca1e
IDEA-152851 Extract Method Object: incompilable result in case of this and super and anonymous class creation
2016-03-11 13:08:25 +03:00
peter
dd3e6acfc9
accept nested editing transactions in refactoring dialogs
2016-03-11 10:58:25 +01:00
Anna Kozlova
ad19b800f9
replace constructor with factory: warn if method already exist, reuse original if proceed (IDEA-152822)
2016-03-11 10:51:37 +01:00
Anna Kozlova
c10079bff0
generate tests: order methods by methods order in the source class (IDEA-152829)
2016-03-11 10:51:37 +01:00