Valentin Kipyatkov
dc83d5cf04
Fixed test data
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Alexey Sedunov
1ca3c5e3b8
PSI Unifier: Use convention-based call for array access expressions when comparing elements by resolved calls
...
#KT-8312 Fixed
2015-09-03 22:06:17 +03:00
Alexey Sedunov
d7e79e7f28
Introduce Variable: Forbid inside of type references and 'super' references
...
#KT-8324 Fixed
2015-09-03 22:06:15 +03:00
Alexey Sedunov
fa8fcb53c5
Introduce Variable: Forbid extraction from class initializer (aside of its
...
body)
#KT-8329 Fixed
2015-09-03 22:06:13 +03:00
Alexey Sedunov
c005fe613f
Introduce Variable: Fix extraction of expression from when-entry condition
...
#KT-8444 Fixed
2015-09-03 22:06:12 +03:00
Alexey Sedunov
3038e2382b
Introduce Variable: Forbid in the class body and at the top level
...
#KT-8735 Fixed
2015-09-03 22:06:11 +03:00
Alexey Sedunov
0f5dff483a
Introduce Variable: Proper occurrence search in generated block expression
...
#KT-7836 Fixed
#KT-8443 Fixed
#EA-71411 Fixed
2015-09-03 22:06:09 +03:00
Stanislav Erokhin
aaebe70342
Improved logic of finding conflicts for refactoring actions
2015-08-27 12:01:08 +03:00
Valentin Kipyatkov
db144a6121
Suggestions from expression itself to have higher priority + fixed incorect upper case naming
2015-06-29 19:36:49 +03:00
Valentin Kipyatkov
4a52247ab7
Name validation filters out invisible declarations
2015-06-29 19:36:48 +03:00
Valentin Kipyatkov
de2378f909
Rewritten NameValidatorImpl to be both more efficient and more correct
2015-06-29 19:36:47 +03:00
Valentin Kipyatkov
df5f035760
KT-7716 Introduce Variable's name suggestions often have "1" at the end for no real reason
...
#KT-7716 Fixed
2015-06-29 19:36:46 +03:00
Alexey Sedunov
683a8895df
Introduce Variable: Do not insert unused variable references
...
#KT-7227 Fixed
2015-06-18 19:28:02 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Dmitry Jemerov
f93eeeb563
fix tests by adding missing 'init' keywords to testdata
2015-04-29 14:07:05 +02:00
Alexey Sedunov
40799a0a43
PSI Unifier: Unify references which correspond to the same declaration
...
#KT-5996 Fixed
2015-03-13 23:16:59 +03:00
Alexey Sedunov
c7a71827a7
Introduce Variable: Amend semicolons to updated expression
...
#KT-2098 Fixed
2014-12-25 17:12:16 +03:00
Alexey Sedunov
367b99a156
Extraction refactorings: Do not suggest extraction of type elements
...
#KT-3994 Fixed
2014-12-23 20:43:23 +03:00
Alexey Sedunov
1e5769acfd
Introduce Variable: Remove braces from replaced string template entries when possible
...
#KT-5310 Fixed
2014-12-23 20:43:22 +03:00
Alexey Sedunov
82579f489b
Introduce Variable: Convert property accessor body to block when needed
2014-12-23 20:43:20 +03:00
Alexey Sedunov
e76792d4f2
Introduce Variable: Do not delete original expression if its value is used in enclosing expression
2014-12-23 20:43:18 +03:00
Alexey Sedunov
6084352d37
Introduce Variable: Properly convert function body to block when needed
...
#KT-5353
2014-12-23 20:43:17 +03:00
Alexey Sedunov
a9a30a1b7d
PSI Pattern Matching: Respect type arguments when matching calls
...
#KT-6496 Fixed
2014-12-23 20:43:15 +03:00
Alexey Sedunov
b18b888161
PSI Pattern Matching: Fix matching of !!
...
#KT-6021 Fixed
2014-10-15 15:41:47 +04:00
Alexey Sedunov
855ed81c11
Introduce Variable: Use expression unifier to find duplicates
2014-09-18 13:28:27 +04:00
Alexey Sedunov
76433571f8
Extract Function: Support multiple output values
2014-09-10 16:44:46 +04:00
Alexey Sedunov
cd44bc3fb0
Introduce Variable: Do not compare explicit receivers using ReceiverValue
...
#KT-5319 Fixed
2014-06-25 19:08:04 +04:00
Alexey Sedunov
31a1ec0f05
Improve JetNameValidatorImpl performance
2014-05-12 13:03:03 +04:00
Alexey Sedunov
e052a64767
Introduce Variable: Compare receivers (both implicit and explicit) when looking for expression occurrences
...
#KT-4819 Fixed
2014-04-22 18:45:54 +04:00
Alexey Sedunov
4dec0508a6
ExtractionTest: Change test data layout
2014-04-17 19:01:17 +04:00
Natalia.Ukhorskaya
6bea9999d5
Introduce variable does something really strange for expression in square brackets
...
#KT-2490 Fixed
2013-03-07 15:34:39 +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
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