Commit Graph

24655 Commits

Author SHA1 Message Date
Valentin Kipyatkov cd6d8ffa98 Basic completion prefers right type in lambda value 2015-08-10 17:49:36 +03:00
Valentin Kipyatkov 96109230eb Fixed crash on runtime 2015-08-10 17:49:35 +03:00
Valentin Kipyatkov 200c99e722 Reordered methods + minor 2015-08-10 17:49:35 +03:00
Valentin Kipyatkov 7016a087c3 Refactoring 2015-08-10 17:49:35 +03:00
Valentin Kipyatkov 2728047acd No useless null in return value of ExpectedInfos.calculate 2015-08-10 17:49:35 +03:00
Valentin Kipyatkov e6f5cefce3 Basic completion shows items from smart completion after "as" + do not insert any tail in basic completion 2015-08-10 17:49:35 +03:00
Valentin Kipyatkov be0a0e4401 Items filtered out from smart completion take lower priority in ordinary one + lower priority for Enum.valueOf 2015-08-10 17:49:35 +03:00
Valentin Kipyatkov 2a8dcabbce Filtering of smart completion items in ordinary completion 2015-08-10 17:49:34 +03:00
Valentin Kipyatkov af2b6588c0 Ordinary completion includes some items from smart completion + changed priority for multi-args item in smart completion
#KT-8580 Fixed
2015-08-10 17:49:34 +03:00
Valentin Kipyatkov 73b98aba17 Moving logic into ExpectedInfos 2015-08-10 17:49:34 +03:00
Valentin Kipyatkov c76f6333a0 Minor 2015-08-10 17:49:34 +03:00
Valentin Kipyatkov b475860327 Moved classes 2015-08-10 17:49:34 +03:00
Valentin Kipyatkov 9497143b26 Smart completion works in initializer of variable with unknown type (the same as ordinary completion)
#KT-8691 Fixed
2015-08-10 17:49:34 +03:00
Valentin Kipyatkov 22e79d89f4 Completion sorts items by name similarity in intializer of variable with no explicit type 2015-08-10 17:49:33 +03:00
Valentin Kipyatkov 9cba912fe5 Ordinary completion prefers item matching expected name 2015-08-10 17:49:33 +03:00
Valentin Kipyatkov 07311234db "this" with matching type are preferred in ordinary completion 2015-08-10 17:49:33 +03:00
Valentin Kipyatkov 2b61f4c552 KT-4915 Smart completion should work for auto-casted 'this'
#KT-4915 Fixed
2015-08-10 17:49:33 +03:00
Valentin Kipyatkov 44d277af87 Completion prefers items matching expected type(s) 2015-08-10 17:49:33 +03:00
Valentin Kipyatkov 99f604f1c3 Refactored smart completion so that completion in for-loop range and after "in" are covered by ExpectedInfo's 2015-08-10 17:48:53 +03:00
Mikhail Glukhikh 89e0d310e3 Deprecated enum syntax removed: idea completion tests 2015-08-10 16:24:19 +03:00
Mikhail Glukhikh 022e7d1169 Deprecated enum syntax removed: most idea tests 2015-08-10 16:24:16 +03:00
Mikhail Glukhikh b2653ad1e9 Deprecated enum syntax removed: most compiler tests 2015-08-10 16:24:12 +03:00
Mikhail Glukhikh 90f94b47db Deprecated enum syntax removed: JS plugin tests 2015-08-10 16:24:08 +03:00
Mikhail Glukhikh b87bbfc3e0 Deprecated enum syntax removed: change signature tests 2015-08-10 16:24:04 +03:00
Mikhail Glukhikh 076ac4f5ee Create class from usage fix: enum entries are created with new constructor syntax 2015-08-10 16:24:01 +03:00
Mikhail Glukhikh fe716d7e56 Change signature fix: correct parameter add / remove from enum constructor calls, relevant test fixes 2015-08-10 16:23:57 +03:00
Mikhail Glukhikh 8405a9a021 Enum syntax: source code fixed 2015-08-10 16:23:53 +03:00
Nikolay Krasko 0ccdf1d43b J2K: JetClassFileDecompiler.java converter 2015-08-10 13:07:42 +03:00
Nikolay Krasko 99b70b49c4 J2K: JetClassFileDecompiler.java file rename 2015-08-10 13:07:39 +03:00
Nikolay Krasko 99444c4eea Update to 142.3728.3 2015-08-10 13:07:37 +03:00
Nikolay Krasko 0b35aa69a3 Update since to 142.3553.1 2015-08-10 13:07:35 +03:00
Dmitry Jemerov e7044f33ef Merge pull request #736 from jsyeo/fix-broken-link
Fix broken link in README.md
2015-08-09 15:36:34 +02:00
Jason Yeo 089a4e8779 Fix broken link in README.md 2015-08-09 07:21:01 +08:00
Zalim Bashorov 7e250ab2ca Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.
2015-08-08 02:08:19 +03:00
Zalim Bashorov 36f69d9fd6 Minor: move some properties of AbstractIncrementalJpsTest to constructor 2015-08-08 02:08:19 +03:00
Zalim Bashorov 5017153c72 Provide LookupLocation when lookup simple name 2015-08-08 02:08:18 +03:00
Zalim Bashorov ca4f975451 Track lookups to package and class member scopes 2015-08-08 02:08:17 +03:00
Zalim Bashorov 7cd678e03b Add ability to provide custom LookupTracker from JPS 2015-08-08 02:08:17 +03:00
Zalim Bashorov e1ed5667d4 Add API to record lookups and introduce KotlinLookupLocation to store the processing JetElement 2015-08-08 02:08:16 +03:00
Zalim Bashorov 0978e9f169 Minor: move LookupLocation to org.jetbrains.kotlin.incremental.components 2015-08-08 02:08:16 +03:00
Zalim Bashorov 2aa4c383cd UsageLocation -> LookupLocation 2015-08-08 02:08:15 +03:00
Zalim Bashorov 96696c6846 UsageCollector -> LookupTracker 2015-08-08 02:08:14 +03:00
Alexey Sedunov 7125989c69 Pull Up: Java -> Kotlin interoperability
#KT-5803 Fixed
2015-08-07 23:30:12 +03:00
Alexey Sedunov 556285f2c7 PSI: Added addAnnotationEntry() function 2015-08-07 23:30:10 +03:00
Alexey Sedunov e331f13a32 J2K Converter: Support class references as top-level elements 2015-08-07 23:30:09 +03:00
Alexey Sedunov a9783ffe81 Pull Up: Kotlin -> Java interoperability 2015-08-07 23:30:08 +03:00
Alexey Sedunov ffc56a7c31 Pull Up: Move Kotlin -> Kotlin tests to separate directory 2015-08-07 23:30:06 +03:00
Alexey Sedunov a695202846 Pull Up: Minor: Use property access syntax 2015-08-07 23:30:05 +03:00
Alexey Sedunov c4ec694c9f Minor: Move class to proper package 2015-08-07 23:30:04 +03:00
Alexey Sedunov 6e142d3f62 Create From Usage: Allow extension properties on Java interfaces 2015-08-07 23:30:02 +03:00