Commit Graph

20 Commits

Author SHA1 Message Date
Evgeny Gerashchenko ee539e7da5 Replaced sure() invocation with '!!' operator in suggester test. 2012-09-17 18:00:21 +04:00
Nikolay Krasko c587a1375f KT-112 Cannot rename a class on a constructor call site
#KT-112 Obsolete
2012-09-06 00:00:53 +04:00
Nikolay Krasko e7287ba8f4 KT-2242 formatting problems: function literal passed outside the parentheses - fix test data in affected tests
#KT-2242 Fixed
2012-08-21 16:16:22 +04:00
Alexander.Podkhalyuzin 48533ca8d2 Fixed KT-2072: do not suggest to use type inference in Introduce Variable in case if expression type depends on expected type. 2012-05-23 18:58:39 +04:00
Alexander.Podkhalyuzin b9267dc7cf Fixed KT-2071: Cannot Introduce Variable from function literal. 2012-05-23 15:58:55 +04:00
Dmitry Jemerov 88c4778055 rename Kotlin methods used in Java code 2012-05-22 19:09:39 +02:00
Dmitry Jemerov 09cf7ac2aa find usages and rename work for Kotlin classes called from Java code (KT-1641)
#KT-1641 fixed
2012-05-22 19:09:38 +02:00
Alexander.Podkhalyuzin 8db0546052 Do not check function names in scope to suggest name for introduce variable refactoring (local values can overload function names from upper scopes). 2012-05-21 18:29:01 +04:00
Nikolay Krasko 3b29b32903 Remove analyzeProjectWithCache with caching on project. It's used nowhere, gives cycles in resolve and produce second copy of binding context.
KT-1792 UI freeze and AssertionError in log
 #KT-1792 fixed
2012-04-17 15:03:07 +04:00
Alexander.Podkhalyuzin b8e1e1dd75 Fixed name suggester for getter/setter names. Added names suggested by call before "sure" call. +Test 2012-04-04 14:34:30 +04:00
Nikolay Krasko fe97ed0155 Fix test - avoid file renaming for now 2012-02-24 15:06:27 +04:00
Alexander.Podkhalyuzin c9c81ed70f Patched test to avoid package renaming. 2012-02-22 13:57:33 +04:00
Nikolay Krasko 80a40ae175 Rename folders with tests. 2012-02-20 19:31:00 +04:00
Nikolay Krasko 1e2ef9fbf1 KT-1294 Class rename fails to update import statement and breaks the code - test for kotlin class rename 2012-02-20 15:54:05 +04:00
Nikolay Krasko 300fafc90d KT-1351 References are not updated after java private package class rename - test 2012-02-20 15:16:51 +04:00
Nikolay Krasko 00fa077c34 KT-1294 Class rename fails to update import statement and breaks the code - add test for different packages and public java class. 2012-02-20 15:16:50 +04:00
Alefas c643b1cf45 Fixed KT-1295, first part of removing 'println'. Undo part is still not working. 2012-02-15 19:38:42 +04:00
Alefas 6fe52d15b4 Few fixes to Introduce Variable (no new features added)
Added few tests to Introduce Variable
More strict requirements for expressions to introduce it.
2012-02-08 17:07:38 +04:00
Alefas 1d88960a19 Name suggester + tests.
Fixed commented introduce variable tests.
2012-02-07 18:22:38 +04:00
Alefas c8b4e5ec74 Introduce Variable feature (in pre-alpha quality).
Problems:
1. Still problems with containers, due to new for me JetContainerNode.
2. Needs name suggester
3. Needs name validator
4. Needs type annotation adding
5. Needs changing to var and checking write access of usages
6. Needs final modifier adding
7. Some problems on class and file level. Should be fixed. Problems with inplace rename on this positions. Additionally possibly should be added proper work with expressions on class body level and namespace/file level. It parsed as error now.
8. Needs much more tests than just 6.
2012-02-01 19:42:06 +04:00