Commit Graph
542 Commits
Author SHA1 Message Date
peter 1154b6f096 IDEA-145752 Annotation attribute value: irrelevant completion proposals for boolean attribute (basic completion) 2015-10-02 14:42:41 +02:00
peter 15369d718e IDEA-145680 Basic completion doesn't work inside method call after "<" in if condition 2015-09-29 11:07:45 +02:00
peter c57fa18eaa display type arguments in java completion suggestions (IDEA-143204) 2015-09-23 18:08:04 +02:00
peter ced18f2839 prefer expected type generics suggestions in java completion, overwrite existing type arguments (IDEA-145119) 2015-09-23 18:08:03 +02:00
peter e3657dfb11 always suggest non-imported annotations (IDEA-145447) 2015-09-23 18:08:03 +02:00
Anna Kozlova 4487019854 completion inside method call after new could use return type constrains/other variables ignoring unresolved IntellijIdeaRulezz type (IDEA-144885) 2015-09-18 14:37:16 +03:00
peter f482636569 IDEA-144532 "extends" keyword is not hinted correctly 2015-08-31 19:22:29 +02:00
peter ba960d6dda IDEA-144461 AutoCompletion doesn't insert whitespace after annotation 2015-08-28 15:13:17 +02:00
peter 77d4defe4a IDEA-144489 "Complete current statement" creates broken code - missing closing paren on method invocation 2015-08-28 15:13:17 +02:00
peter ec4b481a7e IDEA-144236 try-with-resources causes auto-complete to fail 2015-08-24 15:02:54 +02:00
peter 40ff319278 IDEA-143920 Sort symbols in completion list in "natural" order 2015-08-20 16:25:18 +02:00
peter d9a4fe148c IDEA-144146 Auto completion for 'else' inserts braces. 2015-08-20 12:19:09 +02:00
peter 159b1363c5 get rid of Java15CompletionData and Java18CompletionData 2015-08-17 10:16:48 +02:00
peter 540b538a61 java completion: rewrite throws/default keyword suggestions in methods 2015-08-17 09:28:52 +02:00
peter 2e7061420f java completion: rewrite else/catch/finally keyword suggestions, add tests 2015-08-17 09:06:23 +02:00
peter 375bdad569 fix Collections.emptyMap not being suggested in completion if jdk8 is used 2015-08-16 17:55:05 +02:00
peter 046fc164b4 infer method type arguments from context in basic completion 2015-08-16 17:55:04 +02:00
peter 16d92229b1 IDEA-143807 Incorrect smart completion inside a cast 2015-08-13 18:22:55 +02:00
peter a509139159 IDEA-143839 No smart completion in method return type 2015-08-13 18:22:54 +02:00
peter ec71fb4d28 IDEA-143786 Switch over enum completion - do not prefer just typed variants 2015-08-13 18:22:52 +02:00
peter d2056e2d52 IDEA-143075 Autocompletion not working when an inner compiled enum is named "v1" 2015-07-24 12:56:29 +02:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
peter 3241305b74 IDEA-142746 Completion should prefer local variable, not equals() 2015-07-17 15:01:43 +02:00
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