Commit Graph

1339 Commits

Author SHA1 Message Date
Andrey Breslav aa6a509e8d A navigation test for one fake override 2013-08-28 13:52:46 +04:00
Andrey Breslav 9fa8ee10dc Tests for navigation to property delegates' accessors 2013-08-28 13:49:52 +04:00
Andrey Breslav 16d656c7af Fixing tests after adding a new intention 2013-08-27 15:58:22 +04:00
Andrey Breslav 3002ac96f0 Supported converting member properties to extensions
Additionally, we now generate <selection>throw UnsupportedOperationException()</selection> when a missing body is added
2013-08-27 15:03:27 +04:00
Andrey Breslav c02f0a7d04 Intention to convert a member to an extension 2013-08-27 15:03:27 +04:00
Pavel V. Talanov 385c15d0e2 Restructure JetDecompiledData
JetDecompiledData now stores file text and uses descriptors serialized to String to find declarations
2013-08-26 17:58:51 +04:00
Andrey Breslav 6f5c3358ae Fix test data 2013-08-22 12:18:12 +04:00
Nikolay Krasko eaf0c2cb84 Fix problem of getting reference and parameter in functional literal inside other parameter (EA-48757) 2013-08-19 14:44:50 +04:00
Nikolay Krasko 3fd265e34a Remove assert about error type for removing type annotation 2013-08-16 18:28:06 +04:00
Nikolay Krasko 26f14a67ee Fix "Descriptor of property not available in binding context" assert for declarations in bodies 2013-08-16 18:28:05 +04:00
Alexey Sedunov 497d3c6706 Simplify "Find Usages" test data, Move configuration options to test files 2013-08-13 15:26:24 +04:00
Alexey Sedunov 76c81aa3f0 Add support of extension search 2013-08-13 15:26:08 +04:00
Alexey Sedunov ced288452c Implement "Find usages with options" for kotlin functions 2013-08-13 15:25:04 +04:00
Alexey Sedunov ea7a377bea Find usages test: Move test data out of code 2013-08-13 14:53:50 +04:00
Alexey Sedunov 2704328160 Implement "Safe Delete" refactoring for value parameters 2013-08-01 15:41:34 +04:00
Alexey Sedunov 203e80debe Implement "Safe Delete" refactoring for type parameters
Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java

Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java

Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-07-29 19:24:53 +04:00
Alexey Sedunov 0b53ffe4d8 Restructure "Safe Delete" test data directories
Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-07-29 19:24:27 +04:00
Alexey Sedunov 639336b2f5 Implement "Safe Delete" refactoring for properties 2013-07-29 19:24:13 +04:00
Nikolay Krasko 7ec170f6ec Fix absence of reference for type parameters 2013-07-29 18:20:09 +04:00
Nikolay Krasko 2b0232307c Fix error on getting descriptor for class object 2013-07-27 03:57:30 +04:00
Nikolay Krasko b0b173eb5a Resolve descriptors in error class objects 2013-07-27 03:57:24 +04:00
Nikolay Krasko a69b2883ee Make resolve session be able to resolve class parameters 2013-07-27 03:57:23 +04:00
Nikolay Krasko 51f690ed4d Refactor additional resolve for reference in packages 2013-07-27 03:57:21 +04:00
Nikolay Krasko 9167e4f1ee Make resolve session be able to resolve class constructor parameters 2013-07-27 03:57:20 +04:00
Nikolay Krasko 27efc3b202 Additional resolve for annotations in lazy resolve 2013-07-27 03:57:18 +04:00
Nikolay Krasko b6be094724 Force resolve imports for elements in imports 2013-07-27 03:57:17 +04:00
Nikolay Krasko 2621df3243 Auto generate reference tests 2013-07-27 03:57:13 +04:00
Nikolay Krasko cb19450d8d Refactor multi-reference tests 2013-07-27 03:57:10 +04:00
Nikolay Krasko 970586bfdd Use directive configuring in resolve reference tests 2013-07-27 03:57:10 +04:00
Evgeny Gerashchenko a13092e525 Supported inlining constant properties. 2013-07-24 16:03:01 +04:00
Evgeny Gerashchenko 5aa4672d32 Adding parameter types for functions if necessary.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko 0367f1836d Adding type arguments if necessary.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko c22f54055e Supported vals initialized after.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko 72ed74ab9a Adding {} in string template if necessary.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko 55b221776b Inline adds parentheses when it is necessary.
Test data for Remove Unnecessary Parentheses was updated, since parentheses in foo && (bar && baz) is not "unnecessary": removing it changes program semantics.

 #KT-2637 in progress
2013-07-23 21:43:04 +04:00
Evgeny Gerashchenko a9a960fd38 Basic local val inlining support.
#KT-2637 in progress
2013-07-23 21:43:04 +04:00
Alexey Sedunov cd6b6e4934 Implement "Safe Delete" refactoring for named functions
Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java
2013-07-19 19:53:50 +04:00
Alexey Sedunov f2dd8a6b60 Implement "Safe Delete" refactoring for classes and objects 2013-07-12 21:06:05 +04:00
Alexey Sedunov 21d6666c26 Implement Kotlin usage classification 2013-07-10 18:46:10 +04:00
Alexey Sedunov 6e513f067f KT-3736 Fixed: "Move Statement Down doesn't work to improperly formatted code" 2013-07-10 18:46:09 +04:00
Alexey Sedunov 3a881672e8 KT-3732 "Move statement" should respect DSLs 2013-07-09 18:33:33 +04:00
Alexey Sedunov 4a19d4f77b Fix "Move statement" for the cases when nested closure is used (KT-3735) 2013-07-08 19:16:58 +04:00
Nikolay Krasko 21fa398380 KT-3750 When without else
#KT-3750 Fixed
2013-07-08 13:04:58 +04:00
Nikolay Krasko 37e4402822 Complete only imported classes on auto-typing and first completion and set up invocation count 2013-07-04 21:22:22 +04:00
Nikolay Krasko f0a10b70c1 Fix wrong unnecessary completion for the case of force completion
#KT-1187 Fixed
2013-07-04 20:49:31 +04:00
Nikolay Krasko 141c544775 KT-3729 Quick documentation support
#KT-3729 Fixed
2013-07-04 20:48:26 +04:00
Evgeny Gerashchenko 06bfb1d017 KT-3472 Can't navigate to source by clicking on a SAM constructor
#KT-3472 fixed
2013-07-02 14:06:08 +04:00
Evgeny Gerashchenko 1f2676becd Ignoring SAM adapters when checking for unimplemented methods or methods to override. 2013-06-25 20:17:45 +04:00
Alexey Sedunov d019c23395 Implement general expresion remover 2013-06-21 19:32:14 +04:00
Alexey Sedunov 0b634cc918 Implement Unwrap/Remove for try expressions 2013-06-21 19:32:09 +04:00