Commit Graph

5461 Commits

Author SHA1 Message Date
Anna Kozlova
f0fc85674e diamonds: constructor varargs (IDEA-131918) 2014-10-29 14:21:11 +01:00
Dmitry Batrak
9c94ace79f IDEA-131761 Quick documentation incorrectly renders value of byte[] constant 2014-10-29 13:49:44 +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
peter
cf2c38a205 IDEA-131537 Inspection "Setter parameter for @Nullable field is annotated @NotNull" is doubtful 2014-10-28 22:37:16 +04: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
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
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
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
a6e35cfd57 calculate void/value lambda compatibility based on valid, non-modified lambda expression 2014-10-27 15:40:01 +01: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
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
Alexey Kudravtsev
3b3389171e IDEA-130337 2014-10-24 14:45:32 +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
fa2c07e579 block lambda -> expr: disable if found comments outside of expression (IDEA-131749) 2014-10-23 14:46:27 +02:00
Anton Makeev
16ab0a8322 Project View: sort directories by type as well (e.g. OS X bundles .app, .framework) 2014-10-22 15:48:31 +02:00
Maxim.Mossienko
78380e948d less verbose test 2014-10-22 15:03:03 +02:00
Maxim.Mossienko
9f3baaa154 test for IDEA-128919 2014-10-22 14:19:23 +02:00
peter
9821cbab03 dfa live var analysis should honor variables read in closures (IDEA-131719) 2014-10-22 14:06:25 +02:00
Dmitry Batrak
c6e4fc868b IDEA-101779 Editor: Make bulk document change operation more folding-neutral 2014-10-22 12:47:00 +04:00
Anna Kozlova
cd02a08a01 invert boolean parameter: process recursive calls with care (IDEA-131261) 2014-10-22 10:34:44 +02:00
peter
1807d294d7 psi->document sync when doc is gc-ed (IDEA-131067) 2014-10-21 19:17:25 +02:00
peter
2eee8cdfbc dfa live var analysis: flush variables when they are assigned and not when the value to be assigned it pushed onto the stack (IDEA-131659) 2014-10-21 18:52:50 +02:00
Anna Kozlova
07be0cd30b do not go through foreach scope bound during unique variable name search (IDEA-131652) 2014-10-21 18:26:12 +02:00
Dmitry Batrak
f1f530c8a3 adding a flag to tweak folding behavior on editing 2014-10-21 16:26:10 +04:00
Dmitry Batrak
a46ba74dbb IDEA-131578 Folding 'blinks' when navigating to a method - adjust test following review 2014-10-21 15:26:02 +04:00
Rustam Vishnyakov
64bca16158 Fixed IDEA-114862 Formatter Control: with disabled formatter and enabled 'Use tab character' option spaces in not formatted lines are replaces with tabs in some cases 2014-10-21 12:28:07 +04:00
Dmitry Batrak
9a3bdff044 IDEA-131578 Folding 'blinks' when navigating to a method - fixed existing tests 2014-10-21 12:26:42 +04:00
Dmitry Batrak
aee6089787 IDEA-131578 Folding 'blinks' when navigating to a method 2014-10-21 10:42:52 +04:00
Anna Kozlova
6780d694c7 IDEA-131456 //noinspection InspectionName(s) should fully support comments 2014-10-20 19:47:14 +02:00
Anton Makeev
78df394d95 Project view: support manual oder 2014-10-20 16:50:58 +02:00
Anton Makeev
5efb124588 Project view: test for IDEA-80435 Project file sorting 2014-10-20 12:57:30 +02:00
Anton Makeev
9a83d37a7b ProjectView: 'sort by type' mixes up folders and files 2014-10-20 12:39:06 +02:00
Anton Makeev
f7d60da2a3 ProjectView: sort by type doesn't work when 'folders always on top' is disabled 2014-10-20 12:39:05 +02:00
Anna Kozlova
e74edb2614 testdata for light extract method 2014-10-18 09:34:44 +02:00
Anna Kozlova
cd2d76587a extract light method object: complete array initializer with first element type (IDEA-131435)
(cherry picked from commit 2b66700cb40889d0578426a0ddca6fb0b02f2718)
2014-10-17 21:08:46 +02:00
Anna Kozlova
f90c603a81 testdata for IDEA-57537
(cherry picked from commit 701378494912e1f8a52c8f0c9bc18d61e2f3ebbf)
2014-10-17 21:08:07 +02:00
Anna Kozlova
9fce6c0640 erasure method call type if unchecked assignment was applied during applicability check (IDEA-67862)
(cherry picked from commit f106f813559768f90952caac6a2eec4cfeed7103)
2014-10-17 21:07:43 +02:00
Anna Kozlova
763ba4e270 testdata for IDEA-113631
(cherry picked from commit 08781460ef008e273213dfb9609c00dc30807d83)
2014-10-17 21:07:20 +02:00
Anna Kozlova
6ed35f49fd testdata for IDEA-59283
(cherry picked from commit 395ade03a5f4eb59ccd55375cdd97f5c5d196c7a)
2014-10-17 21:06:57 +02:00
Anna Kozlova
403abc677a testdata for IDEA-57293
(cherry picked from commit ece414558b7165e746bdf0a2d949979641ca33b4)
2014-10-17 21:06:36 +02:00
Anna Kozlova
ba074ff60f testdata for IDEA-57508
(cherry picked from commit 4fe55d72d1deca0802202ffb90194fdc41196598)
2014-10-17 21:06:14 +02:00
Anna Kozlova
8dd8f509f6 substitution: do not open unbounded capture during substitution (IDEA-125423)
(cherry picked from commit 1a8180cabca79b6ab2972a759aaffaa043f60c57)
2014-10-17 21:05:53 +02:00
Anna Kozlova
0dd354b23b testdata fixed
(cherry picked from commit 9746790b321df04d6fa5636cad495b906888a78a)
2014-10-17 21:05:30 +02:00
Anna Kozlova
3881c4a953 shorten refs in new expression (IDEA-129602)
(cherry picked from commit 616e3a99b68439b3e867052aa251e6084a639d77)
2014-10-17 21:04:52 +02:00
Anna Kozlova
bc8a70e89f fix erasure of captures special case, not valid anymore for new compilers (IDEA-131348)
(cherry picked from commit 0f357add956c0340ce08c79a14c052007e53be86)
2014-10-17 21:03:34 +02:00
Anna Kozlova
524c5a4c4d new inference: functional parameterization should proceed to non-wildcard parameterization with partly ready parameterization, new spec (IDEA-131417)
(cherry picked from commit e7cf17fa45740d7f233ce426d9d78a3580399d8e)
2014-10-17 21:03:20 +02:00