Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Dmitry Jemerov
736b496f6a
drop deprecated @platformName and @platformStatic annotations
2015-11-02 17:00:44 +01:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Pavel V. Talanov
ba84214bd0
Fix test data for rename test
...
(cherry picked from commit aee4f25)
2015-10-19 16:03:18 +03:00
Valentin Kipyatkov
c8135fe4f2
Removed obolete syntax for enum entries in test data
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Pavel V. Talanov
225e5abc92
Test renaming empty file
2015-10-15 15:49:43 +03:00
Mikhail Glukhikh
6914d09297
Old backing field with dollar is now forbidden
2015-10-09 21:06:26 +03:00
Alexey Sedunov
896e1d8bc9
Rename: Drop 'override' keyword when renaming function/property without bases
...
#KT-4790 Fixed
2015-10-01 17:35:27 +03:00
Alexey Sedunov
2f251b9216
Rename: Drop 'operator' keyword if new name doesn't correspond to any convention
...
#KT-9357 Fixed
2015-10-01 17:35:26 +03:00
Alexey Sedunov
44fd9d17ed
Resource Bundles: Add Rename tests for bundle files and properties
...
#KT-6946 In Progress
2015-09-25 17:18:00 +03:00
Denis Zharkov
73799e2c3c
Replace deprecated lambda syntax in testData
...
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Stanislav Erokhin
8efbf4fc32
Fixed testdata -- removed package import
2015-09-18 21:00:20 +03:00
Dmitry Jemerov
35de13a6b2
update Java references to file class when a file is renamed
2015-09-14 18:03:55 +02:00
Dmitry Jemerov
ab58dc3586
allow returning multiple PsiMethod wrappers for a JetFunction or JetPropertyAccessor; use that for handling Java usages through old-style and new-style facades
...
#KT-9102 Fixed
2015-09-14 18:03:55 +02:00
Denis Zharkov
952d45dc8b
Deprecate JVM platform annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00
Dmitry Jemerov
37c40c9a23
change the origin of light methods for property accessors to the property itself
2015-08-31 12:18:25 +02:00
Dmitry Jemerov
e283dbb8f4
when renaming a companion object, filter out references to companion object via its containing class, which shouldn't be updated by the rename
2015-08-31 12:08:13 +02:00
Dmitry Jemerov
e99316d22e
rename tests: defaultObject -> companionObject
2015-08-31 12:08:12 +02:00
Dmitry Jemerov
c7b26ed7ca
improve support for renaming overriding methods in enum entries
...
#KT-8891 Fixed
2015-08-28 15:49:07 +02:00
Dmitry Jemerov
63d477e355
fix broken merge; support for renaming primary constructor parameter which declares an overridden property
2015-08-27 21:15:47 +02:00
Dmitry Jemerov
3e5c687e9d
additional tests to verify that cases from KT-4793 are fixed
...
#KT-4793 Fixed
2015-08-27 21:15:47 +02:00
Dmitry Jemerov
ef4b32db0d
fix find usages and rename for primary constructor properties
...
#KT-8807 Fixed
2015-08-27 21:15:46 +02:00
Dmitry Jemerov
18223dfaaa
update backing field references when renaming Kotlin property
...
#KT-7905 Fixed
2015-08-27 14:31:17 +02:00
Dmitry Jemerov
704e72eee1
correcty find Java usages of static methods generated for companion object members annotated as jvmStatic
...
#KT-8902 Fixed
2015-08-24 18:12:13 +02:00
Dmitry Jemerov
056d8dfd9f
correcty index escaped identifiers
...
#KT-8846 Fixed
2015-08-24 15:47:28 +02:00
Dmitry Jemerov
d9a854608b
test to verify that renaming fields of local objects works
...
#KT-6528 Fixed
2015-08-24 15:12:45 +02:00
Dmitry Jemerov
b45af1d47a
the source for a parameter of the generated copy() function is the corresponding constructor parameter
...
#KT-8698 Fixed
2015-08-24 12:20:40 +02:00
Mikhail Glukhikh
022e7d1169
Deprecated enum syntax removed: most idea tests
2015-08-10 16:24:16 +03:00
Dmitry Jemerov
23dca520d5
ensure that a JetEnumEntry is equivalent to a KotlinLightEnumConstant
...
#KT-5057 Fixed
2015-07-30 16:36:18 +02:00
Valentin Kipyatkov
b6027a0efe
Changed synthetic properties naming for getters starting with "is"
2015-07-21 08:32:49 +03:00
Valentin Kipyatkov
cf2aa73ee6
Fixed wrong test data
2015-07-21 08:32:49 +03:00
Valentin Kipyatkov
63614c5892
Initial implementation of renaming extension property usages on getter or setter rename
2015-07-16 13:49:16 +03:00
Alexey Sedunov
1506531e59
Rename: Fix class rename by constructor reference
2015-06-18 19:28:01 +03:00
Evgeny Gerashchenko
88f2a4be52
KT-7651 IllegalArgumentException on attempt to rename class when it has anonymous subclasses
...
#KT-7651 fixed
#EA-69049 fixed
2015-06-17 13:14:06 +03:00
Alexey Sedunov
62f9672461
Rename: Fix field identifier replacement #KT-8018 Fixed
2015-06-16 21:15:40 +03:00
Alexey Sedunov
d2c33c13a6
Change Signature/Rename: Fix renaming of extension function parameter
2015-06-16 21:15:27 +03:00
Evgeny Gerashchenko
24c533df32
KT-6285 Rename refactoring doesn't rename named arguments when rename function parameters or private val/var constructor parameters
...
Just added test. Works automatically since rename parameter now delegates to change signature.
#KT-6285 fixed
2015-05-22 17:18:08 +03:00
Evgeny Gerashchenko
2568fc92cb
Supported Kotlin in Java's automatic parameter renamer.
2015-05-22 17:18:07 +03:00
Evgeny Gerashchenko
1e46469bb1
Automatic renaming parameter in hierarchy.
2015-05-22 17:18:06 +03:00
Mikhail Glukhikh
cf741cb868
Enum parsing changed: first entries, then members. Grammar fixed accordingly.
...
A set of compiler tests and some plugin tests changed accordingly.
Compiler Kotlin code changed accordingly.
2015-05-15 16:13:27 +03:00
Alexander Udalov
62d0d5c77f
Minor, fix error message when renaming package facade
2015-05-14 18:40:49 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Dmitry Jemerov
b1c4a5670a
provide element type name for multi-declaration entries; enable in-place rename for those; show local properties as "variable"
...
#KT-7627 Fixed
2015-05-12 16:18:03 +02:00
Dmitry Jemerov
093878bd06
correctly implement JetSimpleNameReference.getTextRange() so that it doesn't include the @ character for references in labels
...
#KT-7560 Fixed
2015-04-30 16:12:03 +03:00
Dmitry Jemerov
1d8786dabf
allow renaming functions which are members of anonymous objects
...
#KT-5857 Fixed
2015-04-29 20:09:17 +02:00
Evgeny Gerashchenko
9a4fbd35bd
Supported Kotlin usages of Java class in automatic variable renamer.
2015-04-22 11:33:28 +03:00
Evgeny Gerashchenko
a9f9ca4ccb
Supported Java usages in automatic variable renamer.
2015-04-22 11:33:27 +03:00