Commit Graph

86 Commits

Author SHA1 Message Date
Valentin Kipyatkov fa02a15212 One more test for completion 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 9b3cbc6f25 Fixed completion for safe call 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 17442617bb Synthetic extensions suggested in completion 2015-07-16 13:49:13 +03:00
Natalia Ukhorskaya 75edfa6527 Debugger: do not resolve symbols on breakpoint line in Evaluate Expression 2015-07-16 13:08:31 +03:00
Mikhail Glukhikh 1eac4d67de "annotation" is now parsed as an identifier. It is no longer a soft keyword.
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped.
A set of annotations and their options tests.
A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files).
STUB_VERSION increased. Some quick fixes slightly changed.
2015-07-14 16:24:55 +03:00
Svetlana Isakova 4c8b75928e Added tests
#KT-6179 Fixed
  #KT-8132 Fixed
2015-07-10 15:05:10 +03:00
Denis Zharkov 151231ef1a Adjust testData
Standard JDK collections purely implement kotlin.Mutable* with non-platform arguments
2015-07-09 16:36:47 +03:00
Valentin Kipyatkov 4dc7081dc4 Completion: fixed filtering shadowed declarations for generic functions 2015-07-08 16:28:54 +03:00
Valentin Kipyatkov 3f74cc6351 More consistent presentation for different completion items producing lambda's 2015-07-08 16:28:53 +03:00
Valentin Kipyatkov 1f79955275 Completion: more intuitive presentation of function items that insert lambda 2015-07-08 16:28:53 +03:00
Valentin Kipyatkov 88dd86d603 Fixes: use isExactFunctionOrExtensionFunctionType() to detect when lambda can be passed 2015-07-08 16:28:52 +03:00
Valentin Kipyatkov 6b78a53c3d More tests 2015-07-08 16:28:52 +03:00
Valentin Kipyatkov 91c4bf7530 Renamed test data 2015-07-08 16:28:35 +03:00
Valentin Kipyatkov 75d668bc19 Adapted completion in lambda signatures to modern syntax 2015-07-08 16:28:35 +03:00
Valentin Kipyatkov 60ea98f870 Moved/renamed test data 2015-07-08 16:28:34 +03:00
Evgeny Gerashchenko 0451debda4 Supported excluded packages/classes in completion.
#KT-2413 in progress
2015-07-08 14:28:38 +03:00
Yan Zhulanow 9cb88a9c21 Fix muted completion test for the @file keyword 2015-07-07 16:35:24 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Valentin Kipyatkov afa46f1c95 Filtering out type parameters that are not visible at the completion point 2015-06-25 21:58:16 +02:00
Valentin Kipyatkov 73fd4ad57f Fixed small inconsistency in presentation for nested classes 2015-06-25 21:58:15 +02:00
Valentin Kipyatkov 01e56dc571 Fixed test data 2015-06-25 21:58:15 +02:00
Valentin Kipyatkov 776d198ea5 Disabled parameter name&type completion for annotation type constructor 2015-06-25 21:57:15 +02:00
Valentin Kipyatkov ecbc7ba5b6 Parameter name completion allows user prefix part in the name + more strict prefix matcher used 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov 8520235934 Fixed deprecated ordering and quick doc for java and compiled classes in completion 2015-06-25 21:57:14 +02:00
Valentin Kipyatkov 84ba634c3e Parameter names from current file get higher priority + number of occurrences matters 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov c6fd04dcac No duplication for parameter name/types from current file and from classes 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov ce6668b5ba Fixed class names shortening 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov 17500cef98 Completion of parameter name/types from the current file 2015-06-25 21:57:13 +02:00
Valentin Kipyatkov 22ad1389f5 Parameter name completion: no insertion on just typing 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov c0126b08c3 Parameter name completion: added more tests for ordering 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov 437478e694 Parameter name completion: suppressed auto-insertion 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov 6478c7d460 Ordering of parameter name suggestions by type relevance 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov e2991b1412 Disabled parameter name completion where it makes no sense 2015-06-25 21:57:12 +02:00
Valentin Kipyatkov 0e045b9478 Completion of parameter name+type works for val/var parameters 2015-06-25 21:57:11 +02:00
Valentin Kipyatkov 8210d3091f Initial implementation of KT-6427 Completion to use Java name suggestion to complete function parameters
(+ filtered out synthetic Kotlin classes from completion)
2015-06-25 21:57:11 +02:00
Valentin Kipyatkov e0f1bde20a Renames 2015-06-25 21:57:11 +02:00
Mikhail Glukhikh 8d25c20169 Introduction of sealed classes
Sealed classes can be derived only by their own inner classes or objects.
Their constructors cannot be called explicitly, so compiler knows all their descendants.
Incompatible modifier checks (final, abstract). Impossible with interface, object, enum.
A pack of tests provided.
2015-06-25 19:07:13 +03:00
Valentin Kipyatkov b301b22f47 KT-4822 Wrong scope is used for local variable name completion
#KT-4822 Fixed
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov 985d69880f Better tests 2015-06-15 18:27:22 +03:00
Valentin Kipyatkov 7b553ef3a7 Shadowed globals filtered out too 2015-06-15 18:27:22 +03:00
Valentin Kipyatkov abc9c1ab02 Non-imported extensions from different packages do not shadow each other 2015-06-15 18:27:22 +03:00
Valentin Kipyatkov 8d11ab9866 Non-imported extensions are excluded when shadowed by members or something 2015-06-15 18:27:21 +03:00
Valentin Kipyatkov 3d0c3e225e Added test for second press completion for inaccessible 2015-06-15 18:27:21 +03:00
Valentin Kipyatkov 483da9607c KT-4893 Code completion should not show multiple functions with the same signature
#KT-4893 Fixed
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov 4deefce603 KT-7901 Auto import is not suggested
KT-7229 Completion for extension functions with complex capture

 #KT-7901 Fixed
 #KT-7229 Fixed
2015-06-15 17:10:05 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Denis Zharkov 053dcf3abf Effectively turn off completion tests with file keyword
Completion does not work with new syntax: see KT-8036
2015-06-12 09:23:31 +03:00
Valentin Kipyatkov 8243d27fb2 Smart completion: argument with "*" is not necessary the only one for vararg parameter 2015-06-08 15:33:58 +03:00
Valentin Kipyatkov 0d992ee38f Moved tests 2015-06-08 15:33:58 +03:00
Valentin Kipyatkov 54e9a46f12 Smart completion: fixed in argument with "*" 2015-06-08 15:33:58 +03:00