Commit Graph

7005 Commits

Author SHA1 Message Date
Alexander Udalov 1054f004aa Load annotations on constructors and parameters of Kotlin reflected classes 2015-03-11 16:42:24 +03:00
Alexander Udalov 4fb420f3f1 Fix deserialization of enum annotation arguments at runtime 2015-03-11 16:42:23 +03:00
Dmitry Jemerov 07381b765f rename Numbers.kt to Primitives.kt as it now contains Char which is not a number 2015-03-11 12:40:39 +01:00
Pavel V. Talanov a701cb2bd9 Add quick fix to replace all 'class object's in project 2015-03-10 18:21:33 +03:00
Pavel V. Talanov 81f9d34d1a Add quick fix for deprecated 'class object' syntax 2015-03-10 18:21:33 +03:00
Pavel V. Talanov 3cfcef9da4 Render warning on 'class object' as deprecated 2015-03-10 18:21:32 +03:00
Pavel V. Talanov 9ecf95532e Replace 'class object' with default object in project code 2015-03-10 18:07:46 +03:00
Alexander Udalov dc7bb32a3b Refactor runtime library configuration in IDE 2015-03-10 16:15:20 +03:00
Alexander Udalov dab18f7d4e Minor, fix typos: existed, deffer, shouldExists 2015-03-10 16:15:17 +03:00
Natalia Ukhorskaya 3eb2182ef0 Evaluate expression: find local variable using callText from extract function instead of function parameter names 2015-03-10 15:27:38 +03:00
Natalia Ukhorskaya cdf081ddc3 Fix for exception: JetCodeFragment with context null
#KT-6876 Fixed
2015-03-10 15:27:37 +03:00
Natalia Ukhorskaya f6162dc726 JetCodeFragment: increment modification count after inserting import 2015-03-10 15:27:37 +03:00
Natalia Ukhorskaya c4f7bf6815 Add test for inserting imports in JetCodeFragment after completion 2015-03-10 15:27:36 +03:00
Alexander Udalov 71a3f35b7e Rename LocalClassFinder -> DirectoryBasedClassFinder
It was never related to local classes
2015-03-07 02:30:28 +03:00
Alexander Udalov e136025ac5 Show "kotlin.Any" in decompiled text for local/anonymous types 2015-03-07 02:30:28 +03:00
Valentin Kipyatkov 3e85b97e1a Completion after $ in string literal works correctly for classes and objects 2015-03-06 22:04:17 +03:00
Valentin Kipyatkov de7b4dc681 Surround with braces when completing backing field in string template 2015-03-06 22:04:17 +03:00
Valentin Kipyatkov 620fb8683b KT-6191 Support completion for backing field
#KT-6191 Fixed
2015-03-06 22:04:17 +03:00
Valentin Kipyatkov efa83000a2 Use of substringBefore/After 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov 2ef80d1b34 Completion after "this@" includes immediate this too
#KT-6836 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov ffff6226b0 KT-6608 Code completion does not work after $ in string literals
KT-5070 Add braces when complete function in string templates

 #KT-6608 Fixed
 #KT-5070 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov c44519fa4e More correct and simple finding of top-level callables 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov 793be62a81 More clear naming 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov 234555bb33 Fixed KT-6890 No autocomplete for receiver methods and properties in extension property
#KT-6890 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov c5d21e1f45 Fixed KT-6673 Completion: no properties from outside class inside anonymous object
#KT-6673 Fixed
2015-03-06 22:04:15 +03:00
Valentin Kipyatkov 5e66727ff6 Checked that KT-6623 has been fixed 2015-03-06 22:04:15 +03:00
Valentin Kipyatkov ffc55caadd Minor 2015-03-06 22:04:15 +03:00
Valentin Kipyatkov 114bfbb2ad Fixed bug with wrong completion in class declaration 2015-03-06 22:04:15 +03:00
Andrey Breslav dcfa77c77d completeAnalysisNeeded() removed 2015-03-06 21:59:05 +03:00
Andrey Breslav bbb59773aa filesToAnalyzeCompletely removed 2015-03-06 21:59:05 +03:00
Pavel V. Talanov 5540f09751 Report default object specific diagnostics on 'default' modifier 2015-03-06 19:37:02 +03:00
Pavel V. Talanov b51368a5e5 Fix cls builder for new decompiler 2015-03-06 19:36:58 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Dmitry Jemerov 28ed30bcb3 change KDoc parsing so that space after parameter/section name is not included in tag content; support @property tag in KDocFinder 2015-03-06 16:13:11 +01:00
Nikolay Krasko 69744c0550 Allow to install to idea 142 branch 2015-03-06 15:21:50 +03:00
Alexey Sedunov 5517c6c539 Extraction Engine: Report invisible types in the generated declaration header
#KT-6734 Fixed
2015-03-06 14:37:25 +03:00
Alexey Sedunov 5c871c92af Change Signature: Do not look for Java usages for declarations in JavaScript modules
#EA-65319 Fixed
2015-03-06 14:37:23 +03:00
Alexey Sedunov cab301e8e2 Introduce Property: Add tests for default values 2015-03-06 14:37:21 +03:00
Alexey Sedunov 1202e624ce Extraction Engine: Assume internal visibility for trait members 2015-03-06 14:37:20 +03:00
Alexey Sedunov 652253b485 Introduce Property: Forbid lazy properties/properties with initializers in traits 2015-03-06 14:37:18 +03:00
Alexey Sedunov 79b64c6f9f Introduce Property: Add test for name clash in the presence of anonymous initializer (was failing before ElementResolver fix) 2015-03-06 14:37:17 +03:00
Alexey Sedunov a2a47d56fb Analyzer: Do no try to resolve anonymous initializer as declaration descriptor 2015-03-06 14:37:16 +03:00
Alexey Sedunov 4aac24956c Extraction Engine: Skip named argument references while analyzing extractable code
#KT-6896 Fixed
2015-03-06 14:37:16 +03:00
Evgeny Gerashchenko c6352ec699 KT-6920 Reference this marked as deprecated if extension function is deprecated
#KT-6920 fixed
2015-03-06 13:43:03 +03:00
Nikolay Krasko 4d1c2ab0e3 Suppress action generally because of updated constant in action 2015-03-06 12:56:42 +03:00
Nikolay Krasko 7de794d381 Update to Idea 141.2.2 2015-03-06 12:56:40 +03:00
Nikolay Krasko 493911145e Gradle classes were moved 2015-03-06 12:56:39 +03:00
Pavel V. Talanov 97989d174e Update keyword completion test data
after introducing 'default' soft keyword
2015-03-06 12:43:29 +03:00
Pavel V. Talanov 84560ec550 Escape 'default' in enum entry names
Would not parse when default is a keyword
2015-03-06 12:41:56 +03:00
Pavel V. Talanov b73d7e19b7 Remove various getDefaultObject() methods 2015-03-06 12:41:46 +03:00