Commit Graph

734 Commits

Author SHA1 Message Date
Denis Zharkov 5c1e17c8e7 Revert "Completion fix for reserved 'async' syntax"
This reverts commit 318f0c89b2.
2016-06-08 18:53:16 +03:00
Denis Zharkov 329fb9d619 Introduce 'coroutine'/'suspend' modifiers 2016-06-08 18:53:16 +03:00
Alexander Udalov 1339286261 Drop undocumented absolute name specification feature with 'package.' 2016-06-01 19:30:03 +03:00
Alexander Udalov ca76e4d426 Support new double colon expressions in IDE code 2016-05-26 22:22:41 +03:00
Ilya Gorbunov a0e8ed7186 Revert: Disable check for "Access to tree elements not allowed in tests" in completion tests. 2016-05-16 20:54:00 +03:00
Stanislav Erokhin f376c418dc Fix SOE related exact annotation and completion 2016-05-16 18:32:16 +03:00
Valentin Kipyatkov e8d518a28f KT-9166 Code completion does not work for synthetic extensions on typing "g"
#KT-9166 Fixed
2016-05-14 12:19:42 +03:00
Valentin Kipyatkov e04c6d1f5c KT-12299 Completion: incorrect priority of property foo over method getFoo in Kotlin-only code
#KT-12299 Fixed
2016-05-14 12:19:42 +03:00
Valentin Kipyatkov 97ad0d5c86 KT-12124 No code completion for a java property in a specific position
#KT-12124 Fixed
2016-05-14 12:19:41 +03:00
Valentin Kipyatkov f6c8ac70fc Moved method getSmartCastVariantsWithLessSpecificExcluded() into IDE 2016-05-14 12:19:41 +03:00
Valentin Kipyatkov fe2953090e Added test for KT-12124 2016-05-14 12:19:40 +03:00
Valentin Kipyatkov dd16eb14e5 KT-12080 Move parameter names higher up in code completion
#KT-12080 Fixed
2016-05-12 22:22:46 +03:00
Alexey Sedunov 4a65b1c65c Code Insight: Support file path references inside of Kotlin string literals
#KT-11704 Fixed
2016-05-12 13:03:02 +03:00
Dmitry Jemerov 42ba14328c move KDoc-related logic shared between IDEA and Dokka to ide-common module 2016-05-10 15:00:15 +02:00
Dmitry Jemerov 94c241443b support @receiver KDoc tag; somewhat more precise tag name completion 2016-05-06 22:11:50 +02:00
Valentin Kipyatkov 16c38a2415 KT-12138 Do not show "::error" in smart completion when any function type accepting one argument is expected
(actually made them lowest priority)

 #KT-12138 Fixed
2016-05-04 17:28:30 +03:00
Valentin Kipyatkov 81e4114c5a Minor 2016-05-04 17:28:29 +03:00
Valentin Kipyatkov 941b415981 KT-12150 Smart completion suggests to compare non-nullable with null
#KT-12150 Fixed
2016-05-04 17:28:29 +03:00
Valentin Kipyatkov 40900b0050 No explicit runWriteAction required 2016-05-04 17:28:29 +03:00
Valentin Kipyatkov 0769c5453f KT-12103 Smart completion for nested SAM-adapter produces short unresolved name
#KT-12103 Fixed
2016-05-04 17:28:29 +03:00
Valentin Kipyatkov b551886889 Code cleanup: removed redundant semicolons 2016-04-29 11:26:25 +03:00
Valentin Kipyatkov a51fe9a9b0 Minor change on code review 2016-04-27 23:47:35 +03:00
Valentin Kipyatkov 45d460a5fa Dropped redundant code which was required for lambda signature completion when the syntax was different
#KT-12033 Fixed
2016-04-27 23:47:34 +03:00
Valentin Kipyatkov 40022e8f7a KT-12068 Special completion item for "[]" get-operator access
#KT-12068 Fixed
2016-04-27 23:47:34 +03:00
Valentin Kipyatkov deb75b3f18 Completion to complete non-imported classes on the first invocation
#KT-8527 Fixed
2016-04-27 23:47:33 +03:00
Valentin Kipyatkov f0dd70d94c KT-11680 Code completion of label for existing return with value inserts redundant whitespace
#KT-11680 Fixed
 #KT-9993 Fixed
2016-04-27 23:46:26 +03:00
Mikhail Glukhikh 84a3f729ca IDEA: unnecessary 'val's removed from constructors 2016-04-27 18:41:52 +03:00
Denis Zharkov 5bc5722051 Load additional JDK functions into built-ins member scope
#KT-5990 Fixed
 #KT-7127 Fixed
 #KT-10370 Fixed
2016-04-25 17:41:08 +03:00
Denis Zharkov e97fa929ea Minor. Replace '== JvmPlatform' with 'is JvmPlatform' 2016-04-25 17:41:08 +03:00
Alexey Sedunov 1635018fe7 Override/Implement: Use function body template when generating functions with default body
#KT-11807 Fixed
2016-04-21 16:40:17 +03:00
Valentin Kipyatkov e6580b0cdb Simplified code 2016-04-20 14:30:54 +03:00
Valentin Kipyatkov 364a8801a3 Correct keyword completion after try in assignment 2016-04-20 14:30:54 +03:00
Valentin Kipyatkov 3dc32fb5db Minor change on code review 2016-04-19 15:22:06 +03:00
Valentin Kipyatkov bade304bf3 Better presentation 2016-04-19 15:22:06 +03:00
Valentin Kipyatkov 022075995b KT-11957 No "catch" and "finally" keywords in completion
#KT-11957 Fixed
2016-04-19 15:22:06 +03:00
Valentin Kipyatkov c7a96401da Refactoring 2016-04-19 15:22:06 +03:00
Valentin Kipyatkov 2a3b87f783 KT-11784 Completion for 'if' statement should add parentheses automatically
#KT-11784 Fixed
2016-04-19 15:22:06 +03:00
Valentin Kipyatkov 6bdf3622ed KT-11890 Completion for callable references does not propose static Java members
#KT-11890 Fixed
2016-04-19 15:22:05 +03:00
Valentin Kipyatkov f3bb3e9c6e KT-11912 String interpolation is not converted to ${} form when accessing this.property
#KT-11912 Fixed
2016-04-19 15:22:05 +03:00
Valentin Kipyatkov bd5af61879 Moved ShortenReferences from idea-analysis to idea-core, added dependency from idea-analysis to idea-core 2016-04-18 17:15:52 +03:00
Valentin Kipyatkov da4dee3716 Moved generateUtil.kt into idea-core 2016-04-18 17:15:52 +03:00
Valentin Kipyatkov b32859cf68 KT-11633 Kotlin code editor applies wrong indentation after completing a statement in data class
#KT-11633 Fixed
2016-04-18 17:15:52 +03:00
Mikhail Zarechenskiy 4c006300ef Move files related to formatting to module 'formatter' as is 2016-04-15 18:15:13 +03:00
Natalia Ukhorskaya a929df6fa1 Debugger, minor: do not throw NPE when receiverTypes are null in completion 2016-04-15 15:58:07 +03:00
Alexander Udalov 76d3246514 Fix type of member references without explicit class on LHS
Type of '::foo' for a function foo in a class A should be KFunction0<Unit>, not
KFunction1<A, Unit>. Continue to report an error in this case, to be maybe
supported in the future
2016-04-12 20:03:51 +03:00
Nikolay Krasko 92f3795a11 New idea works with relative paths in configureByFiles() 2016-04-12 18:30:42 +03:00
Alexey Sedunov a818d4714e Misc: Extract kotlin-ultimate project 2016-04-09 21:13:01 +03:00
Alexey Sedunov f2e2220560 [RESTORED] Spring Support: Implement Spring-specific references 2016-04-08 21:11:15 +03:00
Alexey Sedunov e4a64e7980 [RESTORED] Spring Support: Test framework 2016-04-08 21:09:28 +03:00
Nikolay Krasko 47c7181f2a Extract tests-common module without any actual tests
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00