Commit Graph

2839 Commits

Author SHA1 Message Date
Valentin Kipyatkov 965f3da2b1 Fixed bug with bad conversion on paste when top-level java class copied 2015-04-13 11:05:31 +03:00
Alexey Sedunov da14222c4a Introduce Parameter: Do not apply to expressions of type Unit or Nothing 2015-04-10 21:57:07 +03:00
Valentin Kipyatkov 498f24b98b KT-7291 Copy/paste of java declaration with preceding comment omitted does not convert it to Kotlin propertly
#KT-7291 Fixed
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov bfadd489a3 Imports on paste tests: generate result if does not exist and use default target file text 2015-04-09 19:09:09 +03:00
Valentin Kipyatkov 4a3592be50 Imports on paste: don't try to import symbols not visible from current module 2015-04-09 19:09:09 +03:00
Valentin Kipyatkov ea7732883e Tests: use errors dump instead of ALLOW_UNRESOLVED_REFERENCE 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 84a6f72ab3 Imports on paste: fixed overloaded extensions import 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 8d31a5c3a6 Imports on paste: do not suggest to import already imported extensions 2015-04-09 19:09:08 +03:00
Valentin Kipyatkov 93f1210f25 Imports on paste: added checking of symbols to import into test + fixed bug on copy/paste import/package directive 2015-04-09 19:09:08 +03:00
Alexey Sedunov 918eda0c9b Introduce Parameter: Do not suggest containers of object and non-inner classes 2015-04-09 13:49:24 +03:00
Alexey Sedunov 80134b9b2b Introduce Parameter: Support parameters without default values 2015-04-09 13:49:23 +03:00
Alexey Sedunov 13776f5bbd Introduce Parameter: Duplicate search & replace 2015-04-09 13:49:22 +03:00
Alexey Sedunov 3bb86a63cc Introduce Parameter: Remove parameters which become unused after occurrence replacement 2015-04-09 13:49:21 +03:00
Alexey Sedunov 53a6827ad8 Introduce Parameter: Initial support 2015-04-09 13:49:20 +03:00
Alexey Sedunov 4af608ef84 Parser: Recovery for parameter with missing name 2015-04-09 13:49:17 +03:00
Michael Bogdanov 99496f8f52 Update some test due smap generation 2015-04-09 09:25:26 +03:00
Evgeny Gerashchenko 5c0a81fae1 Minor. Renamed test data. default object -> companion object. 2015-04-08 21:15:28 +03:00
Evgeny Gerashchenko 4ba0d2aba5 Updated quasi-indeterministic test data. After introducing new line marker provider, which invokes lazy resolution, diagnostic is reported on different element. 2015-04-08 21:15:28 +03:00
Michael Nedzelsky 15ebab4f7e JS: add tests for quickfix: autoimport for Kotlin/Javascript projects 2015-04-08 16:50:45 +03:00
Evgeny Gerashchenko 53ef521a8f Deparenthesizing this expression. 2015-04-08 16:44:45 +03:00
Evgeny Gerashchenko d7928b7251 Added test cases with labeled diff. 2015-04-08 16:43:34 +03:00
Evgeny Gerashchenko 4c5bfaeb8b Checking for different receiver in implicit calls. They are considered not recursive. 2015-04-08 16:37:41 +03:00
Evgeny Gerashchenko 015da2f8ca More proper code to check if lambda is inlined. Parameter of inline function can be annotated with "noInline". 2015-04-08 15:14:15 +03:00
Evgeny Gerashchenko 33e34c759d KT-2190 Highlight usages invoked on "throw" or "return" should highlight all exit-points of function
#KT-2190 fixed
2015-04-08 15:14:13 +03:00
Evgeny Gerashchenko 86f91ade1a Minor. Fixed syntax error in test data. 2015-04-08 15:14:11 +03:00
Evgeny Gerashchenko 6041d566d9 Line markers for recursive calls. 2015-04-08 15:14:10 +03:00
Evgeny Gerashchenko 85e9f2207e Minor. Moved test data to subdirectory. 2015-04-08 14:38:04 +03:00
Denis Zharkov 37d7327482 Implement visitPrimaryConstructor in LazyDeclarationResolver
It's need to prevent exception when trying to analyze each declaration
node within class

 #KT-7279 Fixed
 #KT-7315 Fixed
2015-04-07 19:31:30 +03:00
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