Commit Graph

17595 Commits

Author SHA1 Message Date
Anna Kozlova
f0fc85674e diamonds: constructor varargs (IDEA-131918) 2014-10-29 14:21:11 +01:00
Egor.Ushakov
6a08e626c6 code cleanup - use singletonList for single element collections 2014-10-29 16:08:44 +03:00
Vladimir Krivosheev
2d94da56a7 cleanup 2014-10-29 13:17:27 +01:00
Vladimir Krivosheev
cbeccb9693 cleanup 2014-10-29 13:17:27 +01:00
Egor.Ushakov
b6fd2cba6a fixed leaking MethodOccurence objects 2014-10-29 13:04:31 +03:00
Dmitry Batrak
9c94ace79f IDEA-131761 Quick documentation incorrectly renders value of byte[] constant 2014-10-29 13:49:44 +04:00
Egor.Ushakov
49e89d6c25 remember corresponding XDebugProcess in DebugProcessImpl - fixed tests 2014-10-29 12:17:24 +03:00
peter
f6e015c11e ignore inferred @NotNull when there's external @Nullable 2014-10-29 11:47:11 +04:00
Dmitry Batrak
a169953a59 IDEA-131953 Multiple carets misbehave when auto completion dropdown opens 2014-10-29 12:20:22 +04:00
Dmitry Batrak
1429ce728f IDEA-58130 Improve editor performance during working with large files written in a single line
Make logicalPositionToOffset calculations faster for long lines (when soft wraps are enabled).
Position calculations are more consistent now so this is also supposed to fix EA-53787.
2014-10-29 12:20:20 +04:00
Ilya Klyuchnikov
652932af1c @Nullable 2014-10-29 10:43:57 +03:00
peter
5d9196835e ignore inferred @NotNull when there's explicit @Nullable 2014-10-28 22:37:17 +04:00
peter
cf2c38a205 IDEA-131537 Inspection "Setter parameter for @Nullable field is annotated @NotNull" is doubtful 2014-10-28 22:37:16 +04:00
Egor.Ushakov
474dd67a8d produce less trash objects 2014-10-28 21:43:25 +03:00
Egor.Ushakov
4d1b545ef9 fixed leaking MethodOccurence objects 2014-10-28 21:14:26 +03:00
Egor.Ushakov
20938f8638 remember corresponding XDebugProcess in DebugProcessImpl 2014-10-28 21:14:25 +03:00
Yaroslav Lepenkin
896ec1edde corrected test data of "MoveMembersTest#testscr40064", due to introducing "initializer block" arrangement entry and providing changes in default arrangement configuration (98b4ec4), instance and static fields are now placed before instance initializer blocks (default order: "static fields", "static initializers", "fields", "instance initializers") 2014-10-28 14:33:56 +04:00
Anna Kozlova
f05cd24dfe EA-62157 - IAE: PsiUtil.getLanguageLevel
process further when package-info doesn't correspond any package
2014-10-28 12:00:19 +01:00
Alexey Kudravtsev
89b675c53d removed non-ascii characters 2014-10-28 13:22:21 +03:00
Alexey Kudravtsev
1d508d78ee HeavyProcessLatch API slightly changed to handle overlapping processes correctly 2014-10-28 13:22:20 +03:00
Alexey Kudravtsev
db6c68001c data races 2014-10-28 13:22:19 +03:00
Egor.Ushakov
2b15af8023 IDEA-131993 Debugger: arrays/collections: "more items" specifies wrong value 2014-10-28 11:52:57 +03:00
Yaroslav Lepenkin
d253c4201d fixed failing test "testWrapMethodAnnotationBeforeParams"
Added possibility to specify parent block for AbstractJavaBlock. When processing method, wrap after annotation (on keyword "public, private, protected") is set to be parent of method parameters wrap. So when wrap occurs parent wrap is used instead of method parameter wrap (which is now child)
2014-10-27 22:19:08 +04:00
Yaroslav Lepenkin
ccb3f71fce Added option "Blank lines | Around initializer" to "Code Style Settings | Java | Blank Lines" panel 2014-10-27 22:19:08 +04:00
Yaroslav Lepenkin
98b4ec43a6 Supported "initializer block" arrangement entry (IDEA-95115)
Previous behaviour was to treat initializer block as field and stick it with previous field, now it's eliminated with matching and rearranging according to matching rules. See comments also in [CR-IC-6618]
2014-10-27 22:19:07 +04:00
Egor.Ushakov
f8c22ac4ee IDEA-131923 Debugger: Referring Objects can't update on Set Value 2014-10-27 20:30:44 +03:00
Egor.Ushakov
9e87820daa IDEA-131931 Debugger: Throwable at SuspendContextImpl.getDebugProcess() on opening Referring Objects dialog from itself 2014-10-27 20:23:12 +03:00
Egor.Ushakov
a17c63dc86 IDEA-131922 Debugger: Inspect from Referring Objects causes NPE at ClassRenderer.createFieldDescriptor() 2014-10-27 18:49:48 +03:00
Eugene Zhuravlev
f78b2033fa ensure right launching sequence for preloaded build processes 2014-10-27 16:41:47 +01:00
Anna Kozlova
f2257025fa extract light method object: create class initializer if there is no place to put initializer (IDEA-131912) 2014-10-27 15:40:03 +01:00
Anna Kozlova
e473a2ed4d missed writable checks 2014-10-27 15:40:02 +01:00
Anna Kozlova
a6e35cfd57 calculate void/value lambda compatibility based on valid, non-modified lambda expression 2014-10-27 15:40:01 +01:00
Eugene Zhuravlev
a2595d6960 once preloaded process has been started, it should be used by the next compile session (incomplete) 2014-10-27 10:29:56 +01:00
Eugene Zhuravlev
3b2dabf774 'preload build process' optimization, initial (off in registry by default). 2014-10-27 10:29:55 +01:00
Anna Kozlova
7184d46d8a new inference: compare classes from different jdks (IDEA-131888) 2014-10-24 21:48:14 +02:00
Anna Kozlova
8f67ad587e "might not have been initialized" adjusted for lambdas inside anonymous (IDEA-130468) 2014-10-24 21:48:13 +02:00
Anna Kozlova
032053f98b Merge remote-tracking branch 'origin/master' 2014-10-24 18:38:06 +02:00
Anna Kozlova
d47dabbb0b constant & conditions: do not try to annotate lambda as @Nullable (IDEA-131865) 2014-10-24 18:36:23 +02:00
Anna Kozlova
a56e52d868 put new variable inside lambda body: check lambda-related types only after lambda body is fixed (EA-62133 - IOE: PsiJavaParserFacadeImpl.createStatementFromText) 2014-10-24 18:36:22 +02:00
Anna Kozlova
5136167d8b new inference: use site substitution inside one level of inference only so calls with different site substitutions are possible in one expression (IDEA-131723; IDEA-131562) 2014-10-24 18:36:20 +02:00
Konstantin Bulenkov
41a5a1f90f TemplateProjectStructureAction shows Project structure dialog with gaps
(cherry picked from commit d933e31)
2014-10-24 18:27:38 +02:00
Alexey Kudravtsev
3b3389171e IDEA-130337 2014-10-24 14:45:32 +04:00
Anton Makeev
21a02e97ac New welcome screen icons for AppCode and CLIon 2014-10-24 12:42:30 +02:00
Bas Leijdekkers
4787905920 IDEA-91028 (Language injection for java.util.regex.Pattern does not know about special hex syntax, good code is red) 2014-10-24 11:47:54 +02:00
Anna Kozlova
0109983010 provide context for new methods: createMethod(name, returnType, context) 2014-10-23 20:18:52 +02:00
Anna Kozlova
58de0c83c3 enable rename file for non class containers for editor tab popup (IDEA-113370) 2014-10-23 19:56:23 +02:00
Egor.Ushakov
09442e164f IDEA-131783 debugger: icon value is partly shown in variables view 2014-10-23 20:14:53 +04:00
Anna Kozlova
71d92723a8 create constructor params from field: do not reject next constructors if current one is chained (IDEA-131746) 2014-10-23 14:46:31 +02:00
Anna Kozlova
247fbc358f testdata for IDEA-131700 2014-10-23 14:46:29 +02:00
Anna Kozlova
ce254d21de generate delegate: provide correct context so @Override could be inserted (IDEA-131776) 2014-10-23 14:46:28 +02:00