Commit Graph

27332 Commits

Author SHA1 Message Date
Mikhail Glukhikh 994feafd6e Lookup fixed to search for SyntheticFieldDescriptor inside MethodContext 2015-10-26 13:36:34 +03:00
Mikhail Glukhikh 98e0771ffa Abstract var setter visibilities: now only private setters are forbidden 2015-10-26 11:55:34 +03:00
Mikhail Glukhikh 5ebbdd9f58 Cleanup: implicit nothing return type is now an error 2015-10-26 11:55:30 +03:00
Alexander Udalov 9d7cc25228 Fix code style settings after language was renamed to Kotlin 2015-10-25 15:52:04 +03:00
Alexey Sedunov 3ba55914c1 Create Test: Postpone J2K conversion until smart mode (matters if the user decides to add library in the Create Test dialog) 2015-10-24 19:50:57 +03:00
Alexey Sedunov b6c01c0f94 Minor: Move DumpService-related functions to dumbUtils.kt 2015-10-24 19:50:56 +03:00
Alexey Sedunov 8d3296e08d Change Signature: Search & process as-property usages of Java methods (This ixes some muted tests on Change Signature for properties).
Improve test data
2015-10-24 19:50:55 +03:00
Alexey Sedunov ad0c12935b Find Usages: Include super declarations when highliting usages in the current file 2015-10-24 19:50:54 +03:00
Alexey Sedunov 9c360ef05a Find Usages: Look for as-property usages of Java methods 2015-10-24 19:50:53 +03:00
Alexey Sedunov 7e9222f70a Extraction Engine: Set default visibility to 'public' 2015-10-24 19:50:52 +03:00
Alexey Sedunov 3fd6864461 Extraction Engine: When extracting to enum class body, place new declaration after the last entry
#KT-9629 Fixed
2015-10-24 19:50:52 +03:00
Alexey Sedunov 40f2a983cc Formatter: Spacing before after semicolon in enum classes 2015-10-24 19:50:51 +03:00
Alexey Sedunov 98b3919824 J2K: KtClassBody 2015-10-24 19:50:50 +03:00
Alexey Sedunov d8864544d2 J2K: Rename KtClassBody (.java -> .kt) 2015-10-24 19:50:49 +03:00
Alexey Sedunov ca87e7933f Move: Drop Java on-demand static imports of facade class members when original facade is eliminated due to Move refactoring
#KT-9624 Fixed
2015-10-24 19:50:48 +03:00
Alexey Sedunov 5dc0e7f2d5 Extraction Engine: Use original topmost descriptors when validating extracted code (fixes 'mutablyFlexibleType' test which failed after migration to generic contains/remove/etc. members in collections) 2015-10-24 19:50:48 +03:00
Alexey Sedunov 07259fa090 Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass 2015-10-24 19:50:47 +03:00
Nikolay Krasko 3c07bc3df7 Import all components and delegates accessors if possible 2015-10-23 22:07:52 +03:00
Alexander Udalov 1517a099d0 Search for JvmName also among use-site targeted annotations
#KT-9699 Fixed
2015-10-23 19:03:50 +03:00
Alexander Udalov ae4c7b5a61 Minor, rename codegen tests on platformName and platformStatic 2015-10-23 19:03:49 +03:00
Michael Bogdanov 18f3eb87e4 INSTANCE field deprecated in companion object
Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object

 #KT-9692 Fixed
2015-10-23 17:39:27 +03:00
Nikolay Krasko 7927185cc7 More fixes in version regexp and move override-version call to the place where compiler is downloaded 2015-10-23 13:17:08 +03:00
Svetlana Isakova c167a77c8a Filter annotations while substituting compound type 2015-10-22 21:55:17 +03:00
Svetlana Isakova f00af72e0f Fixed 'OnlyInputTypes' working with platform types 2015-10-22 21:55:16 +03:00
Svetlana Isakova b24cb2a326 Fixed 'OnlyInputTypes' working with number types 2015-10-22 21:55:14 +03:00
Svetlana Isakova 9877fe1a26 Fixed the call completer
to update the type of the argument expression correctly
2015-10-22 21:55:13 +03:00
Svetlana Isakova 06e90cf6a1 Annotated the return type of 'elvis' function with @Exact
fun <T> ELVIS(T?, T): @Exact T
2015-10-22 21:55:12 +03:00
Svetlana Isakova 7150be7c67 Minor: fixed error message 2015-10-22 19:09:46 +03:00
Valentin Kipyatkov 27ef6fab21 Accessor completion uses code style settings 2015-10-22 18:48:19 +03:00
Valentin Kipyatkov 74f2d60e19 No duplicate property accessor should be allowed 2015-10-22 18:48:19 +03:00
Valentin Kipyatkov 6eba45febd KT-9661 Code completion of "get" and "set" in property accessors
#KT-9661 Fixed
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov 798223b0e4 Better presentation for use site targets in completion 2015-10-22 18:48:18 +03:00
Valentin Kipyatkov b7809ed94a Functions to properties 2015-10-22 18:48:18 +03:00
Valentin Kipyatkov 6cfb30bb81 KT-9388 Code completion inserts use-site annotation target with superfluous chars
#KT-9388 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov fabf3e5e84 More correct keyword completion after "@" 2015-10-22 18:48:18 +03:00
Valentin Kipyatkov 235399f784 KT-8036 Completion does not suggest file after @ in file header
#KT-8036 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov 33a0673f49 Minor 2015-10-22 18:48:17 +03:00
Valentin Kipyatkov 5d3145c3c3 Fixed KT-7431 org.jetbrains.kotlin.idea.quickfix.AutoImportFix memory leak
#KT-7341 Fixed
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov b26a590614 KT-7844 Completion for top level classes should propose the file name
#KT-7844 Fixed
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov eb8fb80325 ScrollType.CENTER for create from usage 2015-10-22 18:48:17 +03:00
Valentin Kipyatkov 0a520f8bdd More creation by pattern instead of text 2015-10-22 18:48:17 +03:00
Valentin Kipyatkov 612f9b1041 Comments and formatting preseving added 2015-10-22 18:48:17 +03:00
Valentin Kipyatkov 7c8967ea4e Refactored to use creation of expression by pattern instead of plain text 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov 311bd5f25d One more test added 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov a3d9085ddd Disabled "Convert to get/set call" intention where it did not work correctly anyway 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov c6978d6b69 KT-9450 «Replace overloaded operator with function call» breaks code for index access result saved to variable
#KT-9450 Fixed
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov 6baef687ef Minor 2015-10-22 18:48:16 +03:00
Valentin Kipyatkov ab04ae4956 KT-9365 Code completion does not suggest annotation names at type usage
#KT-9365 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 197218a512 KT-9389 Code completion inserts annotation FQN into annotation list
#KT-9389 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 66310806ca KT-9628 Intention&inspection to replace use of "set" operator function with []
#KT-9628 Fixed
2015-10-22 18:48:15 +03:00