Roman Shevchenko
ea41fec4bb
Typo
2012-09-06 21:59:37 +04:00
Anna Kozlova
51aa69e8da
inline method to one line lambda: expand to code block when needed (IDEA-91126)
2012-09-06 21:06:52 +04:00
Anna Kozlova
9f014974eb
inline field: reuse cast etc from inline variable refactoring (IDEA-91150)
2012-09-06 21:06:51 +04:00
peter
b724b2ba3a
EA-39016 - assert: PsiReferenceExpressionImpl.multiResolve
2012-09-06 19:02:12 +02:00
Evgeny Gerashchenko
07e7aa113c
Renamed dramatic->external. externalAnnotationsChangedExternally() is invoked only when annotations files were changed.
2012-09-06 20:46:58 +04:00
Evgeny Gerashchenko
25c869707e
Added escaping class name when deannotating/editing external annotation.
2012-09-06 20:46:57 +04:00
Evgeny Gerashchenko
062df59628
moved undoableActionPerformed to command to avoid assertion error.
2012-09-06 20:46:55 +04:00
Evgeny Gerashchenko
7ea5c6627a
Added @Nullable annotations for methods taking PsiNameValuePair[] in ExternalAnnotationsManagerImpl.
...
Converted corresponding parameter of editExternalAnnotation() from @NotNull to @Nullable.
2012-09-06 20:46:46 +04:00
Evgeny Gerashchenko
cfb2a511e9
Creating self-closing tag when annotation arguments list is not null, but empty. Added test.
2012-09-06 20:46:01 +04:00
Evgeny Gerashchenko
37ceccb1eb
Fixed bug on deannotating: when annotation tag removed, parent is also removed if the latter has no children. Added test.
2012-09-06 20:46:00 +04:00
Evgeny Gerashchenko
9c20a65d0e
Listening to file changes and notifying external annotations listeners.
2012-09-06 20:45:58 +04:00
Evgeny Gerashchenko
1bfbae0055
Fixed adding new XML file to cache (myExternalAnnotations) each time when adding external annotation.
2012-09-06 20:45:57 +04:00
Evgeny Gerashchenko
0884df8a8a
Simplified code in annotateExternally()
2012-09-06 20:45:55 +04:00
Evgeny Gerashchenko
3e7de1cfb6
Added ExternalAnnotationsListener. It is invoked at the end of external annotations modification commands and when all caches are dropped (e.g., module roots changed)
2012-09-06 20:45:48 +04:00
Evgeny Gerashchenko
60e602d9af
Added commitChanges before other return statement of annotateExternally()
2012-09-06 20:38:00 +04:00
Evgeny Gerashchenko
22745c7bb4
Replaced duplicate code with method invocation.
2012-09-06 20:37:59 +04:00
Evgeny Gerashchenko
207d5f1d28
Using particular annotations root after creating it.
2012-09-06 20:37:59 +04:00
peter
6fde56aef0
IDEA-90636 Overridden/implemented markers are not rendered for methods of library classes without sources
2012-09-06 17:36:30 +02:00
Anna Kozlova
a8ea5d4deb
introduce variable from one line lambda transforms body to code block (IDEA-91122)
2012-09-06 19:10:15 +04:00
Denis.Zhdanov
ce2b27315f
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
NPE
2012-09-06 17:29:30 +04:00
peter
b39eac0d22
invalidated references won't be restored during paste (EA-38895)
2012-09-06 14:49:44 +02:00
Anna Kozlova
8fde27c6f2
control flow for lambda refixed
2012-09-06 16:21:09 +04:00
Anna Kozlova
51e044a8f5
smart completion in lambda body: decision to insert semicolon based on lambda context and body type (IDEA-91083)
2012-09-06 14:59:46 +04:00
Anna Kozlova
a06512b331
lambda: skip lambda return statements during wrapping method return values (IDEA-91065)
2012-09-06 14:59:44 +04:00
Anna Kozlova
8d4ef8b54e
lambda: do not suggest to replace anonymous with lambda when this/super exist in body (IDEA-91055)
2012-09-06 13:31:24 +04:00
Denis.Zhdanov
e76b02dc4e
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. Arrangement API provides 'dependent entries' concept now;
2. Java static and instance initialization blocks are defined to be 'dependent arrangement entries';
3. Corresponding tests are added;
4. Default java arrangement rules are expanded in order to preserve old 'generated class members order';
5. Test data is corrected;
2012-09-06 13:21:41 +04:00
Denis.Zhdanov
4a4aa01505
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. 'Constructor' entry type is defined and supported at java rearranger;
2. Test data fixes;
2012-09-06 13:21:41 +04:00
Denis.Zhdanov
c7d351933b
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
Switching old 'members order' to the arrangement engine
2012-09-06 13:21:41 +04:00
Anna Kozlova
490de1dc12
dead code: support multiple suppression ids
2012-09-06 13:07:12 +04:00
Anna Kozlova
d474aa3f1c
lambda: take into account substitution interface with method -> functional interface;
...
do not infer return type parameters when lambda parameter type was calculated, no substitution caching here (IDEA-90875)
2012-09-06 13:07:11 +04:00
Anna Kozlova
f73177c04e
lambda: correct message when lambda params are incompatible (IDEA-91016)
2012-09-04 21:05:05 +04:00
peter
3d01fa0264
IDEA-90688 Spell checker shall ignore @SuppresssWarning and //noinspection String literals
2012-09-04 16:39:55 +02:00
peter
2e722afde9
IDEA-90900 Complete statement works incorrectly in some simple cases
2012-09-04 16:39:54 +02:00
Maxim Shafirov
7eeb1c6f0d
Inline some static fields referencing newly introduced generated *Icons classes
2012-09-04 15:38:24 +04:00
Alexey Kudravtsev
91670ba77b
O(N^2) exterminated
2012-09-04 12:09:41 +04:00
Alexey Kudravtsev
91b5bc5d09
refcount: stricter contract
2012-09-04 12:09:27 +04:00
peter
6a407c55b2
faster ClsParameter.getName
2012-09-04 00:22:16 +02:00
Anna Kozlova
659d9f3251
lambda: smart completion: substitute return type; respect one line lambda as return statement (IDEA-90941; IDEA-90944)
2012-09-03 21:27:13 +04:00
Anna Kozlova
49a08fce9e
anonymous->lambda: forbid for recursive calls (IDEA-90964)
2012-09-03 21:27:12 +04:00
Anna Kozlova
42a97044c5
lambda: disable inline parameter (IDEA-90950)
2012-09-03 21:27:09 +04:00
Anna Kozlova
f324594bc3
lambda: create method from usage with lambda arg (IDEA-90957)
2012-09-03 18:27:56 +04:00
Anna Kozlova
d71e11473a
lambda: convert anonymous to lambda in invalid context with cast; add cast when functional interface type won't be found otherwise (IDEA-90863)
2012-09-03 18:27:55 +04:00
Anna Kozlova
25456a1938
lambda: add cast if lambda var was inlined in ref expression (IDEA-90879)
2012-09-03 18:27:52 +04:00
Anna Kozlova
01ed7837b9
redundant lambda param types: inspection->intention
2012-09-03 18:27:50 +04:00
Maxim Shafirov
764e847210
Removed open/closed icon on module types. API left untouched for compatibility reasons
2012-09-03 17:40:27 +04:00
Denis.Zhdanov
aac1f4dead
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
Added ability to perform rearrangement during formatting
2012-09-03 14:23:02 +04:00
Roman Shevchenko
bbc8ab771e
Deprecate unnecessary ListCellRendererWrapper constructor parameter
2012-09-03 11:52:51 +04:00
Denis.Zhdanov
1e064846f2
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. Package-private modifier is correctly parsed for java arrangement entries now;
2. Cutting blank lines on arrangement is corrected;
2012-09-03 11:25:29 +04:00
Roman Shevchenko
35d583b485
Fix ColoredListCellRenderer for GTK+ L&F
2012-09-02 22:42:54 +04:00
Denis.Zhdanov
7464fddc64
IDEA-90890 Some code formatting preferences ignored sometimes
2012-09-01 22:25:45 +04:00