Commit Graph

22905 Commits

Author SHA1 Message Date
Ilya Gorbunov ea85290939 Annotate deprecated members with proposed replacement. 2015-05-27 22:29:37 +03:00
Ilya Gorbunov 953bbef08c Allow to specify replacement for deprecated items in generated code. 2015-05-27 22:29:35 +03:00
Ilya Gorbunov fa24db435d Stdlib documentation: clarified toMap behavior when a duplicate key is encountered. 2015-05-27 22:29:33 +03:00
Ilya Gorbunov 1fb4183bbb Prettify kdocs in stdlib, part 2. 2015-05-27 22:16:19 +03:00
Ilya Gorbunov 5c8c58f702 Prettify kdocs in stdlib, part 1. 2015-05-27 22:16:17 +03:00
Ilya Gorbunov ae60f7a32f Prettify kdocs and exception messages in the generated code. 2015-05-27 22:16:15 +03:00
Mikhail Glukhikh fe49a2ee51 Build fix 2015-05-27 23:40:40 +02:00
Dmitry Jemerov a41205fff7 Allow calling KotlinCacheService.getResolutionFacade() with an empty set of Kotlin files.
This is needed in Dokka, where a project to be documented can contain only Java files, but we will still attempt to resolve links in Markdown files containing package documentation through the KDoc reference resolver. The attempts will fail when there are no Kotlin files, but at least we won't crash trying to retrieve the first element of an empty list.
2015-05-27 19:22:19 +02:00
Mikhail Glukhikh 3ad06f169d Solution for EA-66870: Foo<in *> and Foo<out *> types are now treated as incorrect.
#EA-66870  Fixed.
2015-05-27 19:07:46 +03:00
Mikhail Glukhikh 9b50705a0e Warning fixed 2015-05-27 19:07:43 +03:00
Mikhail Glukhikh 4fb331ecd3 Solution for KT-7838: now data flow information at the end of when expression is determined correctly.
#KT-7838  Fixed.
2015-05-27 19:07:41 +03:00
Alexey Sedunov 9e69b74a15 Extract Function: Extract smart-cast value as parameter
#KT-7576 Fixed
2015-05-27 18:41:42 +03:00
Michael Bogdanov e20a5121c7 Support private package properties in inline functions 2015-05-27 18:09:40 +03:00
Denis Zharkov be9cc2e91b Change color scheme for annotations
Use same color as for modifiers, but with plain font type
2015-05-27 17:41:27 +03:00
Denis Zharkov 53e9234ea9 Add quickfix for replacing positioned arguments in Java annotation 2015-05-27 17:41:27 +03:00
Ilya Gorbunov 0c818767a6 Replace usages of renamed overloads annotation. 2015-05-27 17:26:07 +03:00
Dmitry Jemerov 966df199bb move KDocFinder to idea-analysis package 2015-05-27 15:41:47 +02:00
Valentin Kipyatkov a71710f589 DeprecatedSymbolUsageInWholeProjectFix: removed notification dialog 2015-05-27 16:15:56 +03:00
Valentin Kipyatkov 18ddac0249 Corrected formatting in test data 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov eadfa72480 Fixed formatter for EOL comments (via hack) 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov 55acce5e0d Minor 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov b6eda35345 TODOs 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov 697516cfdd DeprecatedSymbolUsageFix: fixed for java declaration + one more test 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov 18c19457f0 DeprecatedSymbolUsageFix: handling of array access expression duplication 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov d5d1158e44 Comment saver is more clever about comma's 2015-05-27 16:15:55 +03:00
Valentin Kipyatkov d3403dee1a DeprecatedSymbolUsageFix preserves comments 2015-05-27 16:15:54 +03:00
Valentin Kipyatkov fefa12b0a9 ConvertForEachToForLoopIntention preserves comments 2015-05-27 16:15:54 +03:00
Valentin Kipyatkov 5d0b42ee71 ConvertToForEachFunctionCallIntention preserves comments outside of body too 2015-05-27 16:15:54 +03:00
Valentin Kipyatkov 8b44c93667 JetPsiFactory.createByPattern supports PsiChildRange as argument, used it in ConvertToForEachFunctionCallIntention 2015-05-27 16:15:54 +03:00
Valentin Kipyatkov b957584d91 Refactored JetPsiFactory.createByPattern to handle different argument types uniformly 2015-05-27 16:15:54 +03:00
Valentin Kipyatkov 1d16b76a42 Minor corrections after code review 2015-05-27 16:15:54 +03:00
Valentin Kipyatkov 2eaf767521 JetPsiFactory: create by pattern allows Name's as arguments + changed placeholder text specification format 2015-05-27 16:15:53 +03:00
Valentin Kipyatkov 77d097b957 TODO's 2015-05-27 16:15:53 +03:00
Valentin Kipyatkov c167ddb2fe Minor 2015-05-27 16:15:53 +03:00
Valentin Kipyatkov df0d27b8b2 Split if intention preserves comments 2015-05-27 16:15:53 +03:00
Valentin Kipyatkov 4a2f2b62ec Fixed KT-7755 Convert to expression body kills comment
#KT-7755
2015-05-27 16:15:53 +03:00
Valentin Kipyatkov b39e9ebdb2 Implemented special CommentSaver helper for not loosing comments when doing code transformation 2015-05-27 16:15:53 +03:00
Valentin Kipyatkov 333445d93e Fixed Convert to foreach intention loosing comments 2015-05-27 16:15:52 +03:00
Valentin Kipyatkov 0f36458d2e Made low prio 2015-05-27 16:15:52 +03:00
Valentin Kipyatkov 63f9d0abdb Convention name calls intentions made high priority 2015-05-27 16:15:52 +03:00
Valentin Kipyatkov 526bdfd500 "Flip binary expression" intention made low priority 2015-05-27 16:15:52 +03:00
Valentin Kipyatkov 4c88b31878 KT-7525 Don't suggest to replace 'get' call with index operator for static method calls (inspection & intention)
KT-5322 super.get issues a "Replace 'get' call with index operator" inspection

 #KT-7525 Fixed
 #KT-5322 Fixed
2015-05-27 16:15:52 +03:00
Valentin Kipyatkov 0fe334fd55 KT-7702 Split into 2 if's intention: produce better result for return
#KT-7702 Fixed
2015-05-27 16:15:52 +03:00
Valentin Kipyatkov 8f797e8e69 "Split if" intention - renamed tests 2015-05-27 16:15:51 +03:00
Valentin Kipyatkov 8e16ddb00e Minor 2015-05-27 16:15:51 +03:00
Valentin Kipyatkov 0d8d030763 "Add constructor parameters" fix - fixed display of too long signatures 2015-05-27 16:15:51 +03:00
Valentin Kipyatkov 04bee4dd7d Fixing issues after code review 2015-05-27 16:15:51 +03:00
Valentin Kipyatkov 17f0ac9ba7 Don't use plain text generation 2015-05-27 16:15:51 +03:00
Valentin Kipyatkov 5df840d9e3 Getting default value from overriding method 2015-05-27 16:15:50 +03:00
Valentin Kipyatkov a7580d95e5 Accessing of default parameter value in compiled code via source (if found) 2015-05-27 16:15:50 +03:00