Commit Graph

9164 Commits

Author SHA1 Message Date
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Alexey Sedunov 6c903a607c Move Declarations: Filter out declarations which are not under source root (including libraries)
#KT-8922 Fixed
2015-09-06 18:09:49 +03:00
Alexey Sedunov c493a76cfb Move Declarations: Forbid inside non-top-level declarations. Show error hint instead of window when invoked from editor
#KT-8993 Fixed
 #KT-8777 Fixed
2015-09-06 18:04:41 +03:00
Alexey Sedunov 14c657d448 Extract Function: Consider reference "broken" if corresponding diagnostics are changed after code fragment extraction
#KT-8633 Fixed
2015-09-06 18:04:39 +03:00
Alexey Sedunov e03067846f Extract Function: Ignore internal smartcasts
#KT-8458 Fixed
2015-09-06 18:04:37 +03:00
Yan Zhulanow add13cae82 lateinit modifier on property 2015-09-05 00:54:18 +03:00
Valentin Kipyatkov 48bccab31e Minor changes on code review 2015-09-04 23:27:38 +03:00
Valentin Kipyatkov fe3e9341a1 Smart completion: no instantiation of anonymous object with uninferred type arguments in code 2015-09-04 23:27:37 +03:00
Valentin Kipyatkov 40de063ebd Smart completion for generic class instantiation to not insert explicit type arguments (for they'll probably be inferred from the expected type) 2015-09-04 23:27:37 +03:00
Valentin Kipyatkov f470fec840 "return emptyList()" & "return emptySet()" in completion 2015-09-04 23:27:37 +03:00
Valentin Kipyatkov 6dca9a4558 Auto-popup completion remebers cancellation for parameter name/type completion only 2015-09-04 23:27:36 +03:00
Valentin Kipyatkov 997aef8fee Smart completion to work when some of previous arguments do not match
#KT-8400 Fixed
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov 7663793e3d Smart completion to work when some of previous arguments have errors (+ fixed testAfterEmptyArgument broken by previous changes) 2015-09-04 23:27:36 +03:00
Valentin Kipyatkov b11f47ec33 Removed unused parameter 2015-09-04 23:27:36 +03:00
Valentin Kipyatkov 8859fd395d Simplified code 2015-09-04 23:27:36 +03:00
Valentin Kipyatkov db4c163539 More correct named arguments completion 2015-09-04 23:27:35 +03:00
Dmitry Jemerov 7cf4d265bb remove converter from run confguration format which was used in some ancient Kotlin plugin versions 2015-09-04 20:36:52 +02:00
Dmitry Jemerov 55640ac885 assorted Find Usages fixes: add missing read actions, better cancellation, fix search of componentN() usages for data class primary constructor parameter, remove workaround for usage of IDEA API which is now public 2015-09-04 18:25:36 +02:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov 31244edec9 Deprecate deprecated in favor of Deprecated 2015-09-04 18:19:31 +03:00
Denis Zharkov 952d45dc8b Deprecate JVM platform annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov 5471a1d18a Add kotlin.external annotation and deprecate kotlin.jvm.native 2015-09-04 18:19:31 +03:00
Denis Zharkov 26f9bd7b63 Deprecate some of JVM flag annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov bbc192fda5 Deprecate suppress annotation in favor of Suppress 2015-09-04 17:23:25 +03:00
Denis Zharkov 11fed1674e Deprecate extension annotation in favor of Extension 2015-09-04 17:23:25 +03:00
Dmitry Jemerov 3597234165 code review 2015-09-04 15:05:15 +02:00
Dmitry Jemerov 1e37927115 remove old usages search implementation 2015-09-04 15:05:14 +02:00
Dmitry Jemerov 9bd68f458f add missing read action (EA-72578) 2015-09-04 15:05:12 +02:00
Dmitry Jemerov ebce992f20 search for members of companion object in KotlinReferencesSearch is optional 2015-09-04 15:05:11 +02:00
Dmitry Jemerov fcb8b796c4 change expected testdata 2015-09-04 15:05:11 +02:00
Dmitry Jemerov 6462bda61c correct equals() for MyRequestResultProcessor 2015-09-04 15:05:10 +02:00
Dmitry Jemerov c2f2e316af usage search for companion object searches for Java usages of its members 2015-09-04 15:05:09 +02:00
Dmitry Jemerov 256791cf02 fix search for usages of Java overrides 2015-09-04 15:05:08 +02:00
Dmitry Jemerov 0bc9ef5c0b replace UsagesSearch with ReferencesSearch in Find Usages 2015-09-04 15:05:08 +02:00
Dmitry Jemerov f76520c771 use standard references search for searching usages of type parameter 2015-09-04 15:05:07 +02:00
Natalia Ukhorskaya c836060f3a Minor: do less work in debug thread during stepping commands for inline functions 2015-09-04 11:40:23 +03:00
Natalia Ukhorskaya 060b6e6b15 Debugger: support stepping out inline function 2015-09-04 11:40:22 +03:00
Natalia Ukhorskaya ba686c701e Debugger for inline functions: check for available strata (faster than compute source position) 2015-09-04 11:40:21 +03:00
Natalia Ukhorskaya 4980780268 Minor: extract method 2015-09-04 11:40:20 +03:00
Natalia Ukhorskaya 73946050c1 Debugger: support stepping over inline function 2015-09-04 11:40:20 +03:00
Natalia Ukhorskaya ff4d557eac Minor: extract method 2015-09-04 11:40:19 +03:00
Alexey Sedunov e4dd30599e Extraction Engine: Forbid extraction of non-singleton qualifiers
#KT-8297 Fixed
2015-09-03 22:06:20 +03:00
Alexey Sedunov 1db7195e94 Extract Function: Fix callee replacement in operation expressions
#KT-8294 Fixed
2015-09-03 22:06:18 +03:00
Alexey Sedunov 1ca3c5e3b8 PSI Unifier: Use convention-based call for array access expressions when comparing elements by resolved calls
#KT-8312 Fixed
2015-09-03 22:06:17 +03:00
Alexey Sedunov d7e79e7f28 Introduce Variable: Forbid inside of type references and 'super' references
#KT-8324 Fixed
2015-09-03 22:06:15 +03:00
Alexey Sedunov fa8fcb53c5 Introduce Variable: Forbid extraction from class initializer (aside of its
body)
 #KT-8329 Fixed
2015-09-03 22:06:13 +03:00
Alexey Sedunov c005fe613f Introduce Variable: Fix extraction of expression from when-entry condition
#KT-8444 Fixed
2015-09-03 22:06:12 +03:00
Alexey Sedunov 3038e2382b Introduce Variable: Forbid in the class body and at the top level
#KT-8735 Fixed
2015-09-03 22:06:11 +03:00
Alexey Sedunov 0f5dff483a Introduce Variable: Proper occurrence search in generated block expression
#KT-7836 Fixed
 #KT-8443 Fixed
 #EA-71411 Fixed
2015-09-03 22:06:09 +03:00
Alexey Sedunov ed090c2b2e Create from Usage: Prefer member declarations over extensions
#KT-9012 Fixed
2015-09-03 22:06:08 +03:00