Commit Graph

1067 Commits

Author SHA1 Message Date
Roman Shevchenko
a66489593b [ann] IDEA-69688 (unrestricted cast of return types of JSR-292 "polymorphic" methods) 2011-05-18 17:14:14 +04:00
anna
097a350597 diamonds: cannot use diamonds with explicit constructor types/disable checks on type args for non generics constructors (sic!?) 2011-05-17 21:00:44 +04:00
Bas Leijdekkers
f1f2a5b467 IDEA-69610 (Incorrect and unnice handling of opening parentheses and character literals when transforming concatenation to MessageFormat)
IDEA-13197 ("Convert to MessageFormat.format" / "Conver to String.format" should not run inside annotation parameter)
2011-05-16 14:58:36 +02:00
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
Dmitry Avdeev
59afdaedb9 running on its own path 2011-05-16 10:25:31 +04:00
peter
7d67470070 prefix matching should depend on the actual prefix in the editor, not on the one that the completion was invoked with (IDEA-69525) 2011-05-12 18:39:59 +02: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
peter
4041c94e80 [^yole] don't freeze and mark lookup items as preselected when lookup is not shown yet (IDEA-69590, IDEA-69259) 2011-05-12 16:28:48 +02:00
Dmitry Avdeev
ab3650db7a ElementPatternBean extracted & lazy PsiReferenceProviderBean 2011-05-12 10:15:36 +04:00
Alexey Kudravtsev
92e1e91560 fixed excessive VFS load and assertion added in tests for accessing VFS outside the project roots 2011-05-11 16:26:20 +04:00
Alexey Kudravtsev
b0fbab04f2 do not autoimport inner classes 2011-05-11 12:51:12 +04:00
Dmitry Avdeev
6c77a567e0 per-language PsiReferenceContributor 2011-05-11 11:20:01 +04:00
Roman Shevchenko
bf1038f962 [alexander.podkhalyuzin] EA-27828 (Convert to Basic Latin intention supports only Java-like elements) 2011-05-10 19:59:17 +04:00
Dmitry Avdeev
0665d8912b moving PsiReferenceContributor to application level 2011-05-05 11:45:56 +04:00
Dmitry Avdeev
0ef6dd5d0c moving PsiReferenceContributor to application level 2011-05-05 11:45:54 +04: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
23087cdf9c [ann] Default template inspection fixed to work on multi-catch sections 2011-05-03 21:10:10 +02:00
Roman Shevchenko
8072b38603 [ann] Correct highlighting for subtypes in multi-catch 2011-05-03 21:10:10 +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
anna
caea8a684c fix test data after tree optimization - hide module node for one module projects
(cherry picked from commit ed71751b72e59c858432fa0180a35ed3fa2161c5)
2011-05-02 21:10:59 +02:00
Eugene Zhuravlev
1303968a29 [r=anton] when saving modified file templates perform save only if template's text was really changed (IDEA-68964) 2011-04-29 16:00:33 +02:00
peter
19e481f50e don't blink 2011-04-28 22:32:47 +02:00
peter
12cc3cf8e4 debugging the test 2011-04-27 13:23:31 +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
peter
c55c311beb by-instance equality in lookup 2011-04-26 14:18:13 +02:00
peter
2df10ca44a IDEA-68669 Autocompletion eats letters 2011-04-26 14:18:13 +02:00
Dmitry Avdeev
46278a4e68 test fixed 2011-04-26 11:34:19 +04:00
Eugene Zhuravlev
d64e551739 fixing tests: use same line separators inside templates (mostly), convert to system dependent ones on demand (rarely) 2011-04-21 22:42:09 +02:00
Eugene Zhuravlev
ccf0506983 Velocity: use resource loader that loads template content directly from FileTemplateManager instead of disk 2011-04-21 14:30:50 +02:00
anna
b94ead9094 diamonds: accept captured types; discard anonymous inner classes (IDEA-67125) 2011-04-20 20:10:21 +02:00
peter
325555e9da don't autopopup annoying name suggestions for fields 2011-04-20 19:17:00 +02:00
Alexey Kudravtsev
f1c5040111 cleanup 2011-04-20 19:10:48 +04: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
Denis Zhdanov
79bf8b4b28 IDEA-68348 Formatter: Correct 'wrap long lines' processing
Test data fixes
2011-04-19 18:54:03 +04:00
Roman Shevchenko
e182ea6fee IDEA-66564 (parse indeterminate FP literals in compiled annotations, ultimate fix) 2011-04-18 18:49:31 +02:00
Roman Shevchenko
03bfc64512 Test fixed (hate case-insensitive FS) 2011-04-18 18:49:31 +02:00
Roman Shevchenko
370794e5f7 Cleanup 2011-04-18 18:49:30 +02:00
anna
f42960991c rename wrong ref by Shift-F6 (IDEA-61734) 2011-04-17 19:58:06 +02:00
Roman Shevchenko
847ad86feb IDEA-68179 (Javac quirks inspection) 2011-04-17 18:53:22 +02:00
anna
b4a99e051b correct field/getters naming in extract method object (EA-26268 - assert: ExtractMethodObjectProcessor.b) 2011-04-15 20:24:51 +02:00
Alexey Kudravtsev
a1aeacd499 leaks in AddAnnotationFix 2011-04-15 15:46:29 +04:00