Commit Graph

2223 Commits

Author SHA1 Message Date
Nikolay Krasko 4c8849c6f9 Refactoring: Extract common functionality 2012-10-05 18:45:43 +04:00
Nikolay Krasko cc4be6ad67 Allow annotate java fields in GUI 2012-10-05 15:51:17 +04:00
Nikolay Krasko 3fb34c26ef Allow annotate constructors with default value in format "fun <class_name>(<params>)"
#KT-2774 In Progress
2012-10-05 13:16:25 +04:00
Natalia.Ukhorskaya a5b43cbbae Stub for annotations: write shortName instead getText 2012-10-05 12:07:22 +04:00
Natalia.Ukhorskaya 8e89cf40b7 First version of KotlinAnnotationElementsSearcher #KT-2504 Fixed 2012-10-05 12:00:46 +04:00
Natalia.Ukhorskaya ae6aa1b160 Stub for annotations 2012-10-04 19:45:52 +04:00
Natalia.Ukhorskaya 3cdc2363fa KT-2504 for JUnit3
#KT-2504 In Progress "Run all tests" on test folder doesn't run any tests
2012-10-04 19:45:51 +04:00
Nikolay Krasko 29ee6e5442 Weaken parameter requirements 2012-10-03 17:42:07 +04:00
Evgeny Gerashchenko 0d7544c6a9 Using JetValueParameterAnnotation factory method instead of constructor.
Made constructor private.
2012-09-27 18:27:30 +04:00
Alexander Udalov f71cf83b8e Fix null-check for generated light class in definitions search (EA-39485) 2012-09-27 17:49:18 +04:00
Natalia.Ukhorskaya 8a579a0dff Add explicit message for EA-37463 for clarify exception 2012-09-24 11:31:31 +04:00
Alex Tkachman dfba534e2e clean to green 2012-09-23 14:20:25 +02:00
Nikolay Krasko 726e6be076 Fix getting fqn for JetObject 2012-09-21 13:41:18 +04:00
Nikolay Krasko bed1d0e7a6 Refactoring. Add some self-documented functions 2012-09-21 12:18:25 +04:00
Nikolay Krasko 94050c7604 Fix since-until build versions 2012-09-21 10:51:59 +04:00
Nikolay Krasko b301bbe1f9 Don't activate top level completion in user types after dot 2012-09-20 16:50:08 +04:00
Nikolay Krasko 1ba4e5aee0 KT-2128 Code completion after number with dot - don't complete on '.' only in ".."
#KT-2128 Fixed
2012-09-20 14:53:08 +04:00
Nikolay Krasko a163236713 KT-2128 Code completion after number with dot - no tests for now
#KT-2128 In Progress
2012-09-20 00:30:22 +04:00
Nikolay Krasko fbe4e9f96e KT-2710 code completion doesn't work
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Andrey Breslav bd0eab5202 Tuple migration quick fix now appears only on tupels shorter than 4
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Andrey Breslav 4ff2b24acb TupleN classes removed from runtime
Class definitions are kept in the fornt-end to facilitate migration. Will be removed in the next milestone

#KT-2358 In progress
2012-09-18 21:16:31 +04:00
Andrey Breslav e373663a85 Tuple-related classes are deprecated
#KT-2358 In Progress
2012-09-18 20:47:34 +04:00
Andrey Breslav 3aaed57a66 Quick fix to replace sure() calls with !! 2012-09-18 20:27:09 +04:00
Andrey Breslav 36b5573f4d A quick fix to replace tuples (expressions and types) by Unit, Pair and Triple
Changes are made to all files in the project
 This quick-fix is to be removed in the next milestone

 #KT-2358 In Progress
2012-09-18 20:27:09 +04:00
Andrey Breslav 27a88d6f1d toString() for debug purposes 2012-09-18 20:27:09 +04:00
Nikolay Krasko 5ff1c4007d Don't complete keywords for upper case prefix 2012-09-18 19:54:20 +04:00
Nikolay Krasko 110db34baa Use predefined Array for children and small reformatting 2012-09-18 19:26:59 +04:00
Nikolay Krasko 639c180d83 EA-36996, EA-37610 Fix exception for structure view initialization during indexing 2012-09-18 19:26:58 +04:00
Nikolay Krasko ab1095a84e Formatter: remove unnecessary spaces in value and type parameter lists 2012-09-18 19:26:53 +04:00
Nikolay Krasko e29182b2fb Don't indent { for functions on new lines 2012-09-18 19:26:52 +04:00
Nikolay Krasko 9481862550 Refactoring: use static imports everywhere in file 2012-09-18 19:26:51 +04:00
Nikolay Krasko 72fb2c0d02 KT-2242 Fix {<space>(a: Int) -> a } case
#KT-2242 Fixed
2012-09-18 19:26:51 +04:00
Natalia.Ukhorskaya 75a504e7b2 EA-37741 - assert: ServiceBean.loadServicesFromBeans - Java to Kotlin converter settings aren't exported 2012-09-18 17:36:06 +04:00
Evgeny Gerashchenko 572b58012c Replaced if-else-if chain with visitor. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko a0ffb0d979 Removed sure() support from name suggester. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko ffea195f00 Added postfix expressions support in name suggester. 2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko d825fb25a0 KT-1651 Navigation to enum constants doesn't work for libraries with and without source code
#KT-1651 fixed
2012-09-17 16:27:14 +04:00
Evgeny Gerashchenko 812b9453d1 Extracted KotlinSignatureUtil.isAnnotationEditable method. Made it work in the case of internal internal annotation. 2012-09-14 16:12:17 +04:00
Evgeny Gerashchenko 0665ad409a Hidden "Delete" action and renamed "Edit" to "View" when external annotation is read-only. 2012-09-14 16:12:17 +04:00
Evgeny Gerashchenko be4c0194d9 Fixed balloon position for library with sources. 2012-09-14 16:12:17 +04:00
Evgeny Gerashchenko 144dddf8b0 Added force getting document to reload its content if it is compiled Kotlin class. 2012-09-14 16:12:16 +04:00
Evgeny Gerashchenko 6b81ba1aef Using real annotation owner when creating popup menu action group to make it work for library without sources. 2012-09-13 19:41:46 +04:00
Evgeny Gerashchenko 9e4ebe6982 Replaced assert to if-check to avoid when dramatically changing root. 2012-09-13 19:41:46 +04:00
Evgeny Gerashchenko ea208965d5 Fixed focus requesting in signature balloon 2012-09-13 19:41:46 +04:00
Evgeny Gerashchenko 502aa1141f Moved invokeEditSignature from EditSignatureBalloon to EditSignatureAction, since it's more natural now. 2012-09-13 19:41:45 +04:00
Evgeny Gerashchenko 331456bab4 Removed "Delete" button from edit signature balloon. 2012-09-13 19:41:45 +04:00
Evgeny Gerashchenko 2a8687b4a5 Added "Delete" context menu action. 2012-09-13 19:41:45 +04:00
Evgeny Gerashchenko 11bba8dd77 Fixed line y-coordinate calculation for popup menu action. Popup menu invocation doesn't move caret, so we can't rely on caret position. 2012-09-13 19:41:45 +04:00
Evgeny Gerashchenko fe126b2d99 Added context menu to Kotlin signature icon with "Edit" action. 2012-09-13 19:41:45 +04:00
Evgeny Gerashchenko 091e1f9601 Using UIUtil instead of manual checking for action click. 2012-09-13 19:41:45 +04:00