Commit Graph

2241 Commits

Author SHA1 Message Date
Natalia Ukhorskaya dab9411c5d Mark line numbers for bridges in closures 2014-11-13 09:47:10 +03:00
Natalia Ukhorskaya 0a97481184 Mark lineNumbers for synthetic accessors 2014-11-13 09:47:10 +03:00
Valentin Kipyatkov eb25e47a51 Temporarily disabled optimization for faster non-imported extensions completion because it causes duplicated items, added test for this problem 2014-11-12 22:23:20 +03:00
Valentin Kipyatkov fe5dbbf9b3 More efficient code completion + fixed a few bugs 2014-11-12 21:25:00 +03:00
Valentin Kipyatkov 5f4220427f Smart completion does not need SAM-constructor in declarations from scope + it's present even when not imported 2014-11-12 21:24:59 +03:00
Nikolay Krasko e8a2039396 Use JetTestUtils.assertEqualsToFile in usages tests to simplify fixing test data 2014-11-12 20:37:45 +03:00
Nikolay Krasko c2a544d475 Remove syntax error from java files in usage test data 2014-11-12 20:37:43 +03:00
Natalia Ukhorskaya c9e5099307 Add test for KT-6240: create custom renderer for generic class
#KT-6240 Open
2014-11-12 15:17:21 +03:00
Natalia Ukhorskaya 12b4fc7ad9 Resolve codeFragments with context of JetClass 2014-11-12 15:13:37 +03:00
Nikolay Krasko 95a2dce627 Remove warning and add tests when this warning had been reproducible 2014-11-11 17:33:12 +03:00
Alexey Sedunov afeb03f383 Create From Usage: Create class by annotation entry/super-call delegation specifier 2014-11-11 14:42:48 +03:00
Alexey Sedunov 1b1eb10979 Create From Usage: Create class by constructor call 2014-11-11 14:42:45 +03:00
Alexey Sedunov b8f68acdbb Create From Usage: Create class by reference expression 2014-11-11 14:42:42 +03:00
Alexey Sedunov 1f14d93412 Create From Usage: Create class by type reference 2014-11-11 14:42:39 +03:00
Alexey Sedunov 7123ca8ea0 Name suggester: Respect type parameter name when suggesting name for
variables based on that type parameter
2014-11-10 21:10:39 +03:00
Alexey Sedunov f81c2d5ff7 Name suggester: Improve name suggestion strategy for type parameters 2014-11-10 21:10:37 +03:00
Alexey Sedunov 2f98af1a8e Callable Builder: Do not skip unused type parameters 2014-11-10 21:10:35 +03:00
Alexey Sedunov 42a74f55da Create From Usage: Remove "from usage" words from action text 2014-11-10 21:10:29 +03:00
Andrey Breslav 19afb2fcb8 Make candidate resolver force-resolve type arguments on argument count mismatch 2014-11-10 17:24:05 +02:00
Svetlana Isakova fad4261448 KT-6132 No smart completion for argument of java static method
#KT-6132 Fixed
2014-11-08 10:36:25 +03:00
Valentin Kipyatkov d4275e1110 Added test for KT-6132 2014-11-08 10:36:25 +03:00
Natalia Ukhorskaya 42257218b6 Fix tests after adding lineNumber for functions without return expression 2014-11-07 17:18:02 +03:00
Natalia Ukhorskaya d4b0977381 Debugger: stop at closing bracket for functions without return statement 2014-11-07 15:10:41 +03:00
Natalia Ukhorskaya 55590e00a5 Evaluate expression: add ability to evaluate expression suspending on class header 2014-11-06 16:21:54 +03:00
Natalia Ukhorskaya 4eb93c06b1 Write line numbers for bridge methods (line for class header) 2014-11-06 16:21:52 +03:00
Natalia Ukhorskaya 0047655ed3 Debugger: fix stepping in when 2014-11-06 14:27:06 +03:00
Michael Bogdanov 221784b0f3 Mark linenumber on statement end 2014-11-06 11:48:50 +03:00
Valentin Kipyatkov bfdb756e22 Fixed formatting of doc-comments for parameters 2014-10-31 21:08:52 +03:00
Valentin Kipyatkov f0b93f3de3 Fixed highlighting range for errors in class object 2014-10-31 21:08:52 +03:00
Valentin Kipyatkov d394625771 Fixed override/implement 2014-10-31 21:07:51 +03:00
Valentin Kipyatkov cf04ba4943 Corrected test data 2014-10-31 21:07:51 +03:00
Valentin Kipyatkov 84ba96900a Fixed formatter to work correctly with comments inside declaration nodes 2014-10-31 21:07:51 +03:00
Valentin Kipyatkov 41685f0ba3 Fixing declaration ranges in decompiled code - comment "/* compiled code */" now is inside property 2014-10-31 21:07:49 +03:00
Pavel V. Talanov 5fb4f41030 Rename test data folder: libraries -> decompiler 2014-10-31 18:12:20 +03:00
Pavel V. Talanov 3b59a513b0 Approximating flexible types in decompiled text 2014-10-31 15:04:46 +03:00
Pavel V. Talanov b728ba2b1e Test function types in decompiler 2014-10-31 15:04:45 +03:00
Andrey Breslav 70db76b219 Typo fixed in a diagnostic message 2014-10-29 18:43:48 +03:00
Alexey Sedunov cede5ac58b Create From Usage: Fix type substitution for no-receiver calls 2014-10-28 19:15:06 +03:00
Alexey Sedunov abbbd198fd Create From Usage: Use supplied type arguments to infer function type parameters 2014-10-28 19:15:05 +03:00
Alexey Sedunov a13f334df2 Find Usages: Restrict search scope for private class members
#KT-6124 Fixed
2014-10-28 19:15:03 +03:00
Valentin Kipyatkov 11fd8fe392 Convert to expression body: fixed type selection for public override 2014-10-28 15:40:11 +03:00
Nikolay Krasko d1fe9b71ef Make line break before '}' optional
#KT-6142 Fixed
2014-10-28 01:50:51 +04:00
Nikolay Krasko 0cd95b5514 Formatter: empty lines between declarations 2014-10-28 01:50:50 +04:00
Alexander Udalov 685a1c38e2 Fix indent in built-in sources 2014-10-27 17:17:26 +03:00
Natalia Ukhorskaya d9ac8155da Debugger: wrong stepping through the loop with continue label
#KT-5776 Fixed
 #KT-5664 Fixed
2014-10-24 15:59:39 +04:00
Natalia Ukhorskaya ffba1b6fa0 Debugger tests: render line properly 2014-10-24 15:59:38 +04:00
Natalia Ukhorskaya 3900ee34ae Debugger tests: move stepping tests 2014-10-24 15:59:37 +04:00
Natalia Ukhorskaya cce22c0df9 Debugger: implement getSourcePosition for fields 2014-10-24 15:59:36 +04:00
Valentin Kipyatkov 304c826b47 Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below
#KT-6128 Fixed
2014-10-24 15:14:26 +04:00
Valentin Kipyatkov d13fd19a63 Added feature to "Convert to expression body" intention: selection for easier explicit type removal 2014-10-24 14:19:41 +04:00