Commit Graph

7302 Commits

Author SHA1 Message Date
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 01b8718ac7 Minor. More proper short-circuit check. 2015-04-08 15:33:49 +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 d24d750d34 Added workaround for bug in IDEA test framework. Without it, tests didn't make much sense. 2015-04-08 15:14:14 +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
Evgeny Gerashchenko a2bc9cd7de Added optimization for isReferenceTo. It quickly says false for
references from non-source code to anywhere except same file.
2015-04-08 14:38:04 +03:00
Michael Nedzelsky 28f320498c remove AbstractNavigateToLibraryTest 2015-04-08 01:15:24 +03:00
Michael Nedzelsky c09acf89e5 NavigateToLibrarySourceTestGenerated: add tests for projects with kotlin/jvm and kotlin/js modules 2015-04-08 01:15:21 +03:00
Michael Nedzelsky 054d905374 add NavigateToStdlibSourceTest 2015-04-08 01:15:18 +03:00
Michael Nedzelsky 7b17ae3b8b add testUtils 2015-04-08 01:15:15 +03:00
Michael Nedzelsky c0e6fa62a0 NavigateToLibrarySourceTest -> NavigateToLibrarySourceTestGenerated 2015-04-08 01:15:13 +03:00
Michael Nedzelsky 039b9a8e16 JetCotoImplementationTest -> KotlinGotoImplementationTestGenerated 2015-04-08 01:15:09 +03:00
Alexander Udalov 0202217135 Fix JVM signatures involving multi-dimensional array types
Apparently ASM's Type#getElementType returns the type of the array even if it's
multi-dimensional, so the loop was incorrect
2015-04-07 20:06:23 +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 8f07960fd4 Debugger: do not use DelegatedPropertyRenderer for fields with name = delegate 2015-04-07 18:53:10 +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
Nikolay Krasko a77aae8789 KT-7245 HTML Markup in toolwindow caption
#KT-7245 Fixed
2015-04-07 15:59:04 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib 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 8f01130e8e Minor code corrections after review 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 2efa851115 Used correct function for fetching elements in range instead of strange one from daemon.impl 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 0918d5ce79 Minor 2015-04-07 00:00:29 +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 0ed7d228f6 Got rid of conversionScope parameter for JavaToKotlinConverter 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 751f952536 Code improvements 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 4b32db5c5e KT-5289 J2K: Should show progress when conversion takes time
#KT-5289 Fixed
2015-04-07 00:00:28 +03:00
Zalim Bashorov 79739b7090 Fix build. 2015-04-06 18:20:00 +03:00
Valentin Kipyatkov 412ab8f8b8 Split module idea into idea, idea-core and idea-completion 2015-04-06 14:28:40 +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
Valentin Kipyatkov 93d9e78047 Minor 2015-04-04 22:15:45 +03:00
Valentin Kipyatkov 29149add09 KT-7247 PsiErrorElementImpl cannot be cast to org.jetbrains.kotlin.psi.JetElement
#KT-7247 Fixed
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov 54ea6113d7 Replaced addTypeParameterDescriptor with addClassifierDescriptor - it does the same 2015-04-03 17:16:22 +03:00
Valentin Kipyatkov 0162980ff7 Refactored code in QualifiedExpressionResolver so that WritableScope.import* methods are not used anymore 2015-04-03 17:16:21 +03:00
Ilya Gorbunov 51321c8b36 Remove deprecated isNullOrEmpty declaration, fixed usage. 2015-04-03 12:13:11 +03:00
Michael Nedzelsky 1c7e1ddf26 JS: remove LibrarySourcesConfigWithCaching, introduce LibrarySourceConfig.Builder 2015-04-03 05:36:18 +03:00
Alexander Udalov 3c1ead726b Minor, rename jdkFromIdeaHome -> mockJdk 2015-04-02 21:57:52 +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 d78573059e Fixed import insertion on paste broken sometime ago 2015-04-02 21:10:54 +03:00