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
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
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
0b35aa69a3
Update since to 142.3553.1
2015-08-10 13:07:35 +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
Alexey Sedunov
7125989c69
Pull Up: Java -> Kotlin interoperability
...
#KT-5803 Fixed
2015-08-07 23:30:12 +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
Alexander Udalov
f3857cbb89
Change overriddenDescriptors' type from Set to Collection
...
So that the easiest way of constructing a HashSet in the implementation will be
not the only possible way to implement getOverriddenDescriptors(). If there's
not too many overridden descriptors, an implementation may decide to return a
small list for example instead
2015-08-07 23:01:23 +03:00
Alexander Udalov
942ab9ef6d
Make 'hasDefaultValue' an extension on ValueParameterDescriptor
...
To avoid storing a Boolean and a boolean. It isn't called frequently enough to
justify this wasted space for each parameter of every function out there
2015-08-07 23:01:20 +03:00
Nikolay Krasko
c13396d92f
Refactoring: inline method
2015-08-07 19:14:20 +03:00
Nikolay Krasko
5fe81d67a3
Refactoring: move function and avoid return lambda
2015-08-07 19:14:18 +03:00
Denis Zharkov
5323310950
Use LookupCancelWatcher as component instead of service
2015-08-07 19:14:09 +03:00
Natalia Ukhorskaya
93a3d3a4c4
Fix compilation error
2015-08-07 19:14:07 +03:00
Dmitry Jemerov
43bbed495b
code review
2015-08-07 11:41:50 +02:00
Dmitry Jemerov
c29ebfbb04
KotlinAnnotatedElementsSearcher: handle local scope; correctly handle import aliases
2015-08-07 11:41:49 +02:00
Dmitry Jemerov
df21eee761
KotlinAnnotatedElementsSearcher: cleanup after J2K; correctly handle consumer returning false
2015-08-07 11:41:44 +02:00
Dmitry Jemerov
6b5a227752
KotlinAnnotatedElementsSearcher: J2K
2015-08-07 11:41:43 +02:00
Dmitry Jemerov
b2553ccc38
KotlinAnnotatedElementsSearcher: rename to .kt
2015-08-07 11:41:42 +02:00
Alexey Tsvetkov
0688afbb0c
Introduce ClassDataProvider
2015-08-06 19:31:06 +03:00
Denis Zharkov
41d4af2cb9
Implement rendering of raw types
...
Also add some clarification in spec
2015-08-06 08:18:18 +03:00
Denis Zharkov
460c719753
Make constructor of JetTypeImpl private, introduce factory methods
2015-08-06 08:18:18 +03:00
Mikhail Glukhikh
5b31560808
x?.y is now nullable even if y is Unit + three tests + codegen test fix + source code fix #KT-7936 Fixed #KT-8347 Fixed
2015-08-05 12:26:01 +03:00
Valentin Kipyatkov
6df218df52
Fixed test data
2015-08-04 18:05:57 +03:00
Valentin Kipyatkov
a7db995f05
Correct icon shown for synthetic extensions
2015-08-04 18:05:57 +03:00
Valentin Kipyatkov
d5f95cf126
Correct visibility for non-public SAM-adapters
2015-08-04 18:05:56 +03:00
Valentin Kipyatkov
2eb04db95a
Extension SAM-adapters shown in completion
2015-08-04 18:05:56 +03:00
Valentin Kipyatkov
321bf40b65
Fixed compilation
2015-08-04 18:05:56 +03:00
Valentin Kipyatkov
729085ec9a
Iniital implementation of synthetic extensions for SAM-adapter functions (non-static only)
2015-08-04 18:05:55 +03:00
Valentin Kipyatkov
4187be2fe5
KT-8255 Intention actions popup: there are duplicates between quickfixes and intentions
...
#KT-8255 Fixed
2015-08-04 17:57:02 +03:00
Dmitry Jemerov
00ec19a709
use correct API for converting URL to string
2015-08-04 14:53:07 +02:00
Mikhail Glukhikh
992c019c1e
Redundant modifier targets introduced (abstract / open on interface, final on enum or object)
2015-08-03 19:42:00 +03:00
Mikhail Glukhikh
722a078968
15 separate modifier diagnostics are gone now
2015-08-03 19:41:53 +03:00
Mikhail Glukhikh
4bd48c4796
Regular modifier checker implemented (initial version). A set of tests fixed accordingly.
...
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT.
A set of modifier diagnostics is not in use now (but not deleted yet).
2015-08-03 19:41:50 +03:00
Mikhail Glukhikh
dfaed3fef3
Binary or runtime repeatable annotations are not allowed for JVM. Some tests fixed accordingly.
2015-08-03 19:41:45 +03:00
Dmitry Jemerov
f51107b502
enlarge use scope scope of PSI elements in built-in sources to Project and Libraries (to counteract the effect of https://github.com/JetBrains/intellij-community/commit/897d7cabe6d482182ae6d54a1b158f80b1652d75 )
2015-08-03 18:16:53 +02:00