Commit Graph

18660 Commits

Author SHA1 Message Date
Alexey Sedunov cf5f9424de Implementation Navigation: Add tests for enum entries
#KT-3540 Fixed
2014-11-18 13:25:00 +03:00
Alexey Sedunov 7556acf029 Light Classes: Provide light classes (as well as light fields) for enum entries 2014-11-18 13:24:57 +03:00
Alexey Sedunov a6479bfc90 Light Classes: Do not add "final" modifier to enum light classes 2014-11-18 13:24:56 +03:00
Alexey Sedunov 7170209760 Move: Suggest creating Kotlin file if it doesn't exist
#KT-5379 Fixed
2014-11-18 13:24:55 +03:00
Valentin Kipyatkov d061c3d771 Completion: bold members from immediate class 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 79cfe2bac4 Completion tests: added ability to test presentation text attributes 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 7410c36e3a Completion: moved signatures from "item text" to tail
#KT-5652 Fixed
2014-11-17 22:06:16 +03:00
Valentin Kipyatkov b2f2c9ac75 Code formatting 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov b7e9d96af2 Smart completion includes constructor parameters for instantiation items 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov d421e7ac72 Code refactoring 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 58a67a2bf3 Use our own tail handler 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 7077e22dd3 More tests 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 03b3cf7480 Completion: better space key handling 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 656ed01b94 Code completion: more precise detection of "just typing" 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 7b7e992515 Code completion: '=' char supported for all items + it inserts spaces around '=' 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 08f43dcbf8 Renamed classes 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 3ecae800af Code completion: fixed comma key behavior for function with parameters + more tests 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 57692b1a37 Code completion: space after comma on selecting item with comma key 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 3ebc681eec Behavior on typing chars with code completion lookup is completely defined by our own handler + added tests for this handler + fixed a few bugs related to this behavior 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov f36208718e Smart completion: fixed lookup string behaviour for "::xxx" items 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov dfc8c9be16 Dropped redundant override 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov 836b4aa0f0 Smart completion: fixed lookup string for anonymous object item 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov e256d14075 Smart completion: 2 lookup strings for static member items 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov 2b33501471 Smart completion: fixed items ordering issue 2014-11-17 22:06:14 +03:00
Stanislav Erokhin caf44969a4 Add support for check diagnostic parameters in test. 2014-11-17 17:45:06 +03:00
Stanislav Erokhin 5a192f58ea Create AbstractDiagnosticWithParametersRenderer with renderParameters method. 2014-11-17 17:45:06 +03:00
Stanislav Erokhin 12f2c0861f Added DiagnosticFactoryToRendererMap.put(Renderers.MultiRenderer) 2014-11-17 17:45:05 +03:00
Stanislav Erokhin 65c9ea2465 Fix variance problems. 2014-11-17 17:45:05 +03:00
Stanislav Erokhin c10c1ad7f6 Fix wrong containingDeclaration for property type parameter. 2014-11-17 17:45:05 +03:00
Stanislav Erokhin b69ed539ea Fix descriptor renderer for LazyType 2014-11-17 17:45:04 +03:00
Stanislav Erokhin b7c473f59e Update lazy.log files 2014-11-17 17:45:01 +03:00
Stanislav Erokhin 2033042d33 Make candidates lazy in ResolutionTask & ResolutionTaskHolder 2014-11-17 17:38:52 +03:00
Stanislav Erokhin eb50e4adb3 Inject StorageManager to ResolutionTaskHolder 2014-11-17 17:38:52 +03:00
Stanislav Erokhin b7f7a3349d Rename ResolutionTaskHolder.java -> ResolutionTaskHolder.kt 2014-11-17 17:38:52 +03:00
Stanislav Erokhin f59d54e64f Convert ResolutionTaskHolder to kotlin 2014-11-17 17:38:51 +03:00
Nikolay Krasko b5fb27b485 LTDA: Register script files in packages slice 2014-11-17 16:15:26 +03:00
Nikolay Krasko 365319a8e6 LTDA: Make supertypes in lazy type parameters be recorded in order of declaration 2014-11-17 16:15:26 +03:00
Nikolay Krasko 261d4293ae LTDA: Don't read CONSTRUCTOR slice in backend
Usages from DECLARATIONS_TO_DESCRIPTORS are left
2014-11-17 16:15:25 +03:00
Nikolay Krasko 5657d30125 LTDA: Move prohibited 'class object' to the list with extra class objects descriptors in lazy resolve 2014-11-17 16:15:24 +03:00
Nikolay Krasko a2ddaeca77 LTDA: Make BuiltinsReferenceResolver compatible with Lazy TDA 2014-11-17 16:15:24 +03:00
Nikolay Krasko cb2a9168a7 Dropped redundant interface 2014-11-17 16:15:23 +03:00
Nikolay Krasko e1d51e9879 Minor: code enhancements 2014-11-17 16:15:22 +03:00
Nikolay Krasko 27e9f9c926 Don't duplicate overloaded functions in getting all descriptors 2014-11-17 16:15:22 +03:00
Nikolay Krasko 38256d3240 toString() for filter 2014-11-17 16:15:21 +03:00
Alexander Udalov 93696ff9bd Make Array.indices extension property, move to stdlib
This is not something that needs to be intrinsified. Note that compiler
optimizations are still possible and the fact whether 'indices' is a member or
an extension is irrelevant to the optimizer
2014-11-17 15:20:44 +03:00
Alexander Udalov 36a9a99b4f Minor, fix formatting in Arrays.kt in stdlib 2014-11-17 15:02:39 +03:00
Alexander Udalov 74d00979d4 Use newly built compiler for kotlin2js instead of bootstrap
Otherwise it's impossible to make any change in built-ins: the bootstrap
compiler is not able to compile the new stdlib because stdlib is designed to
compile against the built-ins of the same version, but bootstrap compiler is
only aware of old built-ins which it has in its classpath
2014-11-17 15:02:38 +03:00
Alexander Udalov 128c938965 Make Array.size() a function instead of a property
Also add a deprecated extension property to help migration. This is done to
unify getting size of arrays and collections
2014-11-17 15:02:38 +03:00
Alexander Udalov bc238d5f4c Regenerate tests 2014-11-17 14:08:45 +03:00
Natalia Ukhorskaya 7f56c815fb Debugger: add module info to key for type mapper in JetPositionManager 2014-11-17 11:45:10 +03:00