Commit Graph

2811 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 649654999f Debugger: add an option for computing delegated properties values in Variables View 2015-04-07 18:53:08 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Stanislav Erokhin b152211096 Added init keyword to testdata 2015-04-07 13:08:51 +03:00
Valentin Kipyatkov bf0798ca86 Added test 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 506f84fb8a KT-5959 Imports should be inserted on paste from java with conversion to Kotlin
#KT-5959 Fixed
2015-04-07 00:00:29 +03:00
Valentin Kipyatkov d0637ccaf4 Conversion from Java on paste: post processing of code really works 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 2227452e7a KT-5203 Do not offer to convert from java on paste if conversion is trivial
#KT-5203 Fixed
2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 8ab12e217d KT-7267 Arguments are replaced by tab when old call was qualified
#KT-7267 Fixed
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov 2c1a0a0c4b Smart completion: expected type instantiation made higher priority than static members 2015-04-04 22:15:45 +03:00
Valentin Kipyatkov e2979614ad KT-7259 Space inserted before parenthesis in completion of call
#KT-7259 Fixed
2015-04-04 22:15:45 +03:00
Alexander Udalov 5b2ffd50d3 Use mock JDK instead of full in IDEA plugin tests 2015-04-02 21:57:51 +03:00
Valentin Kipyatkov 4e283fd62f Added a test 2015-04-02 10:17:01 +03:00
Valentin Kipyatkov 784b4a8aeb Minor code changes after code review 2015-04-02 10:17:00 +03:00
Valentin Kipyatkov b45b462bdf Not imported extension functions are always listed in code completion 2015-04-02 10:17:00 +03:00
Valentin Kipyatkov c54541b269 Functions returning Nothing are indexed even when alias import is used 2015-04-02 10:16:59 +03:00
Valentin Kipyatkov 6a2cc66eb1 Got rid of isProbablyNothing in stubs + fixed exception on some files on indexing stubs 2015-04-02 10:10:31 +03:00
Valentin Kipyatkov 0243280668 Extension callables index is built correctly when using alias imports 2015-04-02 10:09:26 +03:00
Valentin Kipyatkov bff2b2f378 Fixed tests for stubs 2015-04-02 10:09:25 +03:00
Valentin Kipyatkov 5ba5618718 Extension callables index and its use in completion 2015-04-02 10:09:25 +03:00
Valentin Kipyatkov cd18b16407 Partial body resolve: fixed for ! and parenthesis in conditions 2015-04-01 23:21:22 +03:00
Valentin Kipyatkov 698d839eee Added a test 2015-04-01 23:21:22 +03:00
Valentin Kipyatkov f3799a0ce7 Partial body resolve correctly handles elvis operator 2015-04-01 23:21:22 +03:00
Valentin Kipyatkov 176ba937ba Partial body resolve filter works more precisely for if-statements 2015-04-01 23:21:21 +03:00
Pavel V. Talanov a986d913c3 Remove traces of class object constraints feature from parser, frontend, tests and psi 2015-04-01 20:09:34 +03:00
Valentin Kipyatkov 36fb14a3fc KT-6923 Completion shouldn't show private symbols from compiled code
#KT-6923 Fixed
2015-04-01 17:46:10 +03:00
Valentin Kipyatkov 3b110f8ef8 KT-7194 No completion for member extension function inside itself
#KT-7194 Fixed
2015-04-01 17:46:10 +03:00
Valentin Kipyatkov 7e9314bd40 More accurate import conflict detection 2015-04-01 17:10:50 +03:00
Valentin Kipyatkov e22f28c061 Fixed a fail in import insertion 2015-04-01 17:10:50 +03:00
Dmitry Jemerov 6d56618d17 complete KDoc tag names after @, not only at line start
#KT-7139 Fixed

code review
2015-04-01 15:14:20 +02:00
Stanislav Erokhin 4efb0dbf9a Fixed CAPTURED_IN_CLOSURE marker for primary constructor argument
#KT-7131 Fixed
2015-04-01 15:28:09 +03:00
Alexey Sedunov 9247f4f096 Quick-Fixes: Fix type checking scope for type mismatch in call argument 2015-04-01 13:41:27 +03:00
Alexey Sedunov eb594a2897 Extract Function: Approximate non-resolvable types with nearest resolvable supertype when possible
#KT-7120 Fixed
2015-04-01 13:41:26 +03:00
Alexey Sedunov a90d020859 Extraction Engine: Fix extraction of labeled and non-local returns 2015-04-01 13:41:24 +03:00
Alexey Sedunov 3bea49eedd Change Signature: Fix processing of enum constructors
#KT-7170 Fixed
2015-04-01 13:41:23 +03:00
Alexey Sedunov d65b55e147 Change Signature: Fix processing of lambda arguments 2015-04-01 13:41:22 +03:00
Nikolay Krasko ca98b19aba Wrong package light file with package class 2015-04-01 02:02:07 +03:00
Nikolay Krasko 055be2850f Fix accept() in light methods elements to avoid treating them as ClsElements 2015-04-01 02:02:01 +03:00
Nikolay Krasko 4e04d9b887 Add more toString() methods and additional wrapping for Kotlin elements 2015-04-01 02:01:55 +03:00
Nikolay Krasko a109223a07 Minor: fix compile errors in java test data 2015-04-01 02:01:51 +03:00
Denis Zharkov 99f1ab333e Report illegal modifiers and annotations on primary constructor
#KT-7057 Fixed
 #KT-6772 Fixed
2015-03-31 20:20:22 +03:00
Denis Zharkov 717f850470 Setup spacing rules for primary ctor's parts 2015-03-31 20:20:22 +03:00
Denis Zharkov 8e69c06e5a Adjust stub-builder, decompiler and renderer to new PSI structure
of primary ctor
2015-03-31 20:20:22 +03:00
Evgeny Gerashchenko 83f2a08708 Added test with moving file used in Java to other package. 2015-03-31 18:14:00 +03:00
Evgeny Gerashchenko a4d2d6506c Removing import of removed package facade. 2015-03-31 18:13:21 +03:00
Evgeny Gerashchenko f789933683 Fixed updating Java references on moved Kotlin top-level callables. 2015-03-31 18:13:20 +03:00
Alexey Sedunov e9e8be5b4e Create from Usage: Generate secondary constructors by delegator to super-calls 2015-03-30 21:10:29 +03:00
Alexey Sedunov e8b4c43011 Create from Usage: Generate secondary constructors by delegation calls 2015-03-30 21:10:28 +03:00
Alexey Sedunov 9c0bcee9a3 Create from Usage: Generate secondary constructors by call expressions 2015-03-30 21:10:27 +03:00
Alexey Sedunov 11675322ee Find Usages: Fix exception in the search of class with default parameters in primary constructor 2015-03-30 21:10:24 +03:00
Natalia Ukhorskaya 785f7e749f InlineCodegen: find virtual file using findVirtualFileWithHeader 2015-03-30 14:03:24 +03:00