Commit Graph

519 Commits

Author SHA1 Message Date
peter 7194336a1f IDEA-140452 Complete-statement insert closing parenthesis at wrong place 2015-07-09 20:49:01 +02:00
Anna Kozlova 0415ca7a79 testdata fixed 2015-07-03 20:58:41 +03:00
peter 1294ec93f4 IDEA-140728 Suggest to automatically fill parameter of Stream#collect() method calls with standard Collectors instances 2015-07-03 18:25:08 +02:00
peter 209dea1eda IDEA-140731 Second invocation of Smart Type completion should suggest to convert array to Stream 2015-07-03 18:25:08 +02:00
Roman Shevchenko 200e67ca65 IDEA-106141 (trailing annotations excluded from an incomplete reference expression)
I.e. in "X. \n @A public T m()", @A is no longer a part of "X.".
2015-07-03 16:00:02 +03:00
Anna Kozlova 2f9e7a7f99 hide lambda suggestion if method of functional interface is generics (IDEA-141214) 2015-06-09 20:31:15 +03:00
Anna Kozlova 5ffbec6759 method ref completion: complete receiver typed method ref without param in valid lambda context (IDEA-140730) 2015-05-28 19:42:08 +02:00
peter 1bd313a730 IDEA-139340 Inner class appears twice in code completion popup 2015-05-18 17:02:52 +02:00
peter 7ea7daa29a IDEA-140294 If you declare a variable and initialize it on the same line, autocomplete will suggest the new variable in that line 2015-05-15 17:25:39 +02:00
peter 4bd7d2e71c IDEA-139638 Completion: Live template shouldn't have bigger priority than local variable 2015-05-13 17:39:22 +02:00
peter 6afb1cb83f java completion: don't use statistics when completing a super method call 2015-05-08 15:15:17 +02:00
Yaroslav Lepenkin 4e78447b73 Options: Place new line after '(' and "Place line before ')' works only if parameter list is wrapped. 2015-04-21 18:27:17 +03:00
peter 8bf079ca59 prefer instanceofed variants in java completion (IDEA-138937) 2015-04-08 18:13:15 +02:00
peter 1a014a13e8 IDEA-138061 Prefer "return" completion suggestion before the last expression in a code block 2015-03-24 16:32:25 +01:00
peter 409070a176 IDEA-138071 Completion shouldn't show private symbols from compiled code 2015-03-24 16:32:25 +01:00
peter 1555db7819 IDEA-136826 Autocomplete fails for static nested annotations 2015-02-24 12:21:01 +01:00
Dmitry Batrak 88f587d17c IDEA-125512 switch case doesn't indent properly 2015-02-19 14:55:16 +03:00
peter 4c109a6316 IDEA-136189 "Code completion" proposes to extend the class of the same class 2015-02-13 18:39:31 +01:00
peter a08f797fb3 IDEA-135554 Suggestion for class variable are incorrect 2015-02-06 17:26:14 +01:00
peter cccd245a5f IDEA-134518 Insert "instanceof" completion variant on typing "!" (exclamation mark) 2015-01-14 18:55:22 +01:00
peter 9358cdd8b2 IDEA-135162 Smart Completion proposes nothing in catch statements 2015-01-13 17:11:51 +01:00
peter faa69a6aa2 IDEA-134123 Reflection code completion generates Type....class instead of Type[].class for varargs 2015-01-02 17:19:54 +01:00
Maxim.Mossienko ecbf2e64c5 [Java] When we complete class name after new then if constructor(s) exist: show documentation for it, for several constructors suggest list of links to particular constructor documentation, same way as we do for (overloaded) calls.
Also try hard for documentation to work on incomplete new expressions like 'new Class<caret>', 'new Class(<caret>)'. As useful side effect method documentation links are shown for overloads (or method documentation for no overloads) when documentation action is invoked in argument list.
2014-12-24 22:05:27 +01:00
Yaroslav Lepenkin 9f82306ea5 Added possibility not to add FQN in javadocs if class was imported (IDEA-121121 ) [CR-IC-6907]
Now three options is available: use FQN always, never, or when not imported. Last is used by default.
Converted and moved boolean legacy setting from CommonCodeStyle settings into JavaCodeStyleSettings.
2014-12-02 12:14:01 +02:00
peter ca3481dbd3 IDEA-131145 Completion for @Override 2014-11-10 17:53:26 +01:00
Dmitry Batrak 444dce0373 a fix for completion from non-primary caret (IDEA-123396) 2014-10-07 17:45:41 +04:00
peter 544385ce69 IDEA-130745 Incorrect auto cast after completion
* when merging dfa states, check that they're really equal after stripping complementary facts (there might be additional info in subclasses)
* merge in separate groups in one go
2014-10-04 09:55:23 +02:00
peter 91fb0a03ac a special tail type when smart-completing something in a parenthesized expression (IDEA-129485) 2014-09-11 18:33:33 +02:00
peter 3ac1432fb9 make testdata catch really incomplete 2014-08-27 11:09:54 +02:00
peter 53e2c49b27 IDEA-128948 Smart type completion should propose generic parameter type 2014-08-26 14:32:23 +02:00
peter 6564528108 IDEA-128971 Java auto-completion does not offer "final" keyword for exception variable in "catch" clause 2014-08-26 14:32:22 +02:00
Anna Kozlova c98d7f0c5e lambda completion: reformat, ensure unique names (IDEA-128567) 2014-08-13 18:37:05 +04:00
Anna Kozlova 23256c9a59 method reference: enable constructor refs completion (IDEA-124541) 2014-08-11 19:01:47 +04:00
peter e4df02442d IDEA-127637 code completion utility should strip 'extends' wildcards from generic qualifiers of generated anonymous classes 2014-07-29 08:41:03 +02:00
peter 7594dc6033 IDEA-127668 Smart type completion prefers constants to fields, normal completion prefers fields to constants 2014-07-28 10:15:16 +02:00
Dmitry Batrak 65404f7c75 IDEA-123396 Multiple carets: offer completion from other caret, if primary caret has no completion variants 2014-07-24 12:50:28 +04:00
peter 0299b302c6 auto-import context variable declaration type when completing (IDEA-90157) 2014-07-22 18:26:56 +02:00
peter f81e96ef9d java chained completion: qualifier class items shouldn't be inserted as constructors 2014-07-22 18:26:55 +02:00
peter f4d3703103 IDEA-126531 Completion inserts unwanted semicolon 2014-07-18 09:14:07 +02:00
peter fbb28259a1 ignore inferred annotation in @NotNull propagation to overridden methods 2014-07-10 10:35:56 +02:00
peter 1b75318697 adapt testdata to inferred jdk annotations 2014-07-10 10:35:56 +02:00
peter e3fd6eb900 don't add a newline when completing with smart enter shortcut (IDEA-126726) 2014-07-08 18:40:07 +02:00
peter 02fdc91a10 IDEA-126726 "Complete current statement" always adds a newline
* rollback the fix for IDEA-119926
2014-07-08 13:13:51 +02:00
peter fc5eb4a317 MinusculeMatcher: pay less attention to case mismatches in non-completion contexts (IDEA-119877) 2014-07-07 12:23:10 +02:00
peter 4c7eca5839 IDEA-126595 provide completion variants for Charset.forName() 2014-06-30 21:59:56 +02:00
peter 6a538846f1 prefer thrown exceptions in catch block parameter type completion (IDEA-125316) 2014-06-13 15:40:21 +02:00
peter 01bb23e701 IDEA-125954 Incorrect code completion for deep inner class 2014-06-13 15:40:21 +02:00
peter 41d5427cfe IDEA-126032 Java basic completion: prefer annotations instead of 'interface' keyword 2014-06-13 15:40:20 +02:00
Anna Kozlova b9abbfb21f template ConstructorInsertHandler test (IDEA-101429) 2014-06-04 20:49:39 +04:00
peter 180df2c0af completion: don't suggest true/false literals where boolean is not expected 2014-05-30 21:32:21 +02:00