Commit Graph
330 Commits
Author SHA1 Message Date
Denis Zhdanov ea998911e2 IDEA-69656 Complete Current Statement: Provide support for completing 'condition' section of 'for' statement
'Update' section of 'for' statement may be smart-completed now
2011-05-16 13:39:04 +04:00
Denis Zhdanov dd5c166257 IDEA-69653 Complete Current Statement: Correct completion of 'init' section of 'for' statement
'Space after semicolon' code style property value is preserved during smart completion now
2011-05-16 12:15:11 +04:00
Denis Zhdanov f4469717d7 IDEA-69648 Complete Current Statement: Correct 'for' completion
Provided completion for standalone 'for' keyword
2011-05-16 12:15:10 +04:00
Denis Zhdanov 9a3bb4c453 IDEA-69604 Complete Current Statement: correct processing for code blocks with empty line
Update caret position without new empty line creation if code block already starts by new line
2011-05-16 12:15:09 +04:00
peter 8301cbedae IDEA-68698 Elements with exactly same prefix (and same proximity) should be placed at the top of the list 2011-05-12 18:15:30 +02:00
anna d469a37fb7 skip copyright for tests 2011-05-12 18:02:23 +04:00
anna 865c7b0bcc EA-27650 - IAE: ChangeSignatureProcessor.<init> 2011-05-12 15:48:49 +04:00
annaandRoman Shevchenko b7c7f173e1 qualified diamonds fixed 2011-05-05 21:45:26 +02:00
Alexey Kudravtsev f99cbb9757 IDEA-69120 2011-05-04 14:49:21 +04:00
Roman Shevchenko 475354f2b6 [ann] Improved catch analysis 2011-05-03 21:10:11 +02:00
Roman Shevchenko 8072b38603 [ann] Correct highlighting for subtypes in multi-catch 2011-05-03 21:10:10 +02:00
anna 4814482749 insert template: do not handle [] twice (IDEA-69106)
(cherry picked from commit 2b98c3ab3529a3b1a0f34a3e3e4f62d393ce4d61)
2011-05-03 17:34:34 +02:00
Denis Zhdanov 06b56cf449 IDEA-25753 Surround With try-catch etc. - doesn't indent comment correctly
1. Java 'surround with' processing is corrected for the first comment statement;
2. Corresponding tests are added;
3. Green cody policy is applied;
2011-05-03 17:23:14 +04:00
anna 3bb0c9d03a diamonds; actual types accepted in java 7 even if no formal types were defined!
(cherry picked from commit 903984b162008a56def605c72743c22517304a2d)
2011-05-02 21:14:20 +02:00
Roman Shevchenko c723f3be41 [ann] IDEA-68850 (add empty try block if try statement is incomplete) 2011-04-27 16:07:06 +02:00
peter f989781cfd IDEA-68635 Completion inserts new line on SPACE 2011-04-26 16:39:45 +02:00
peter 40cb6b363c IDEA-68643 When completing a constant, the containing class is not imported 2011-04-26 16:39:45 +02:00
anna b94ead9094 diamonds: accept captured types; discard anonymous inner classes (IDEA-67125) 2011-04-20 20:10:21 +02:00
peter 7ccc1e2a64 EA-26800 drop caches in the completion file copy 2011-04-19 20:41:54 +02:00
peter 2773fa2036 IDEA-68178 Completions does not complete class names in java annotations 2011-04-19 20:41:53 +02:00
peter 8e975b3a73 don't qualify class references twice 2011-04-19 20:41:52 +02:00
peter 709bb85c92 generics are not a part of the lookup string now 2011-04-19 20:41:52 +02:00
peter 6c5ac640b4 remove copyright from test data 2011-04-19 20:41:52 +02:00
Roman Shevchenko 370794e5f7 Cleanup 2011-04-18 18:49:30 +02:00
Roman Shevchenko 847ad86feb IDEA-68179 (Javac quirks inspection) 2011-04-17 18:53:22 +02:00
peter 54d554f1d1 IDEA-63335 complete current statement error when statement spans on 2 lines 2011-04-14 20:35:48 +02:00
peter cabb823fd2 word completion in groovy/java string literals (IDEA-61238) 2011-04-14 19:26:50 +02:00
peter a70cf1c7ed IDEA-67951 Suggest comparator type in Collections.sort() 2011-04-14 19:26:49 +02:00
anna 2e0cd2d032 interface 'overrides' object: methods can declare different exceptions (IDEA-67753) 2011-04-13 20:05:34 +02:00
anna 8f4a7ee0d0 interface 'overrides' object: methods with same erasure should be accepted (IDEA-67752) 2011-04-13 20:05:33 +02:00
peter e83810e358 IDEA-67939 Smart completion completes private field from parent class inside a static inner inheritor 2011-04-13 19:04:38 +02:00
Alexey Kudravtsev 5b6a43015d IDEA-61333 2011-04-13 17:45:11 +04:00
anna 98568c1380 type arguments agree when one is type parameter and another is not any wildcard (IDEA-67427) 2011-04-12 15:17:39 +02:00
anna 0633dddcc0 message fixed 2011-04-11 17:24:31 +02:00
anna 82e049d035 preserve arguments list for enum constant on implement methods (IDEA-67719) 2011-04-07 19:55:19 +02:00
peter 8080667544 don't suggest void methods in a context where some return value is expected (suggest on second invocation) 2011-04-06 19:21:15 +02:00
peter 8d12f07a6a fix some empty stack exceptions during dfa analysis 2011-04-06 13:02:50 +02:00
peter 6ae83662cf the non-green completion items were sorted by proximity in the wrong direction (IDEA-67349) 2011-04-06 13:02:49 +02:00
peter 6a12b9c4de IDEA-67445 no smart completion for "new Ex<caret>" 2011-04-06 13:02:44 +02:00
Roman Shevchenko cce2c02db1 IDEA-67556 (use highest language level in an artificial elements was a bad idea) 2011-04-05 20:59:18 +02:00
anna dde2360a0c keep spaces (IDEA-67541 ) 2011-04-05 18:13:36 +02:00
anna 3aaa7fb39b diamonds: check according to diamonds even if expected type is raw 2011-04-05 15:45:49 +02:00
Roman Shevchenko bf9add7eb8 IDEA-67385 (explicitly imported types should shadow inherited ones) 2011-04-05 13:30:10 +02:00
anna 6f8b67665c unimplement interface in generics case: check by subst. signature (IDEA-67230 ) 2011-03-31 16:31:08 +02:00
peter d231d788c8 honor completion-case-sensitive=ALL option in the new matcher 2011-03-30 20:29:08 +02:00
peter c622695382 minuscule matching by default 2011-03-30 19:07:53 +02:00
peter 68d8890b7f suggest 'final' in for-in loop clause (IDEA-67249) 2011-03-30 19:07:52 +02:00
peter bbcacf8e4f a test for method lookup element presentation 2011-03-30 14:40:00 +02:00
Roman Shevchenko 5d95c304c6 IDEA-67190 (correctly unwrap try statement if it's not in a code block) 2011-03-29 15:58:52 +02:00
peter bb32018645 IDEA-66892 'else' variant in completion should be preferred in this case 2011-03-28 17:26:38 +02:00