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
Denis Zharkov
37d7327482
Implement visitPrimaryConstructor in LazyDeclarationResolver
...
It's need to prevent exception when trying to analyze each declaration
node within class
#KT-7279 Fixed
#KT-7315 Fixed
2015-04-07 19:31:30 +03:00
Alexey Sedunov
11675322ee
Find Usages: Fix exception in the search of class with default parameters in primary constructor
2015-03-30 21:10:24 +03:00
Alexey Sedunov
d19e6337a3
Find Usages: Support of secondary constructors and delegation calls
2015-03-21 03:29:03 +03:00
Evgeny Gerashchenko
c652cc16dc
Classified usages as type parameters correctly.
...
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko
51fb4910a1
Classified usages in up casts correctly.
...
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko
e752dd0a80
Classified usages in "is" of when entry correctly.
...
#KT-7047 fixed
2015-03-20 19:34:17 +03:00
Evgeny Gerashchenko
efccde2c0b
Finding implicit usages of companion object in containing class.
2015-03-20 19:34:15 +03:00
Denis Zharkov
d1308ebf84
Don't report unused symbol if secondary constructor used
...
#KT-6997 Fixed
2015-03-18 10:56:29 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Evgeny Gerashchenko
22a41e8012
Introduced category for default object usages.
2015-03-16 14:11:41 +03:00
Evgeny Gerashchenko
9bcf9dceef
Supported default objects in class usages.
2015-03-16 14:11:37 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko
8ba15937f9
KT-6820 Find usages doesn't find delegated properties when searching get/set/propertyDelegated functions
...
#KT-6820 fixed
2015-03-05 18:42:18 +03:00
Nikolay Krasko
f3919db592
Find usages and reference to delegation origin
2015-02-24 21:52:52 +03:00
Pavel V. Talanov
a1f4c06a49
Update test data that mentioned old JvmAbi constants
2015-02-16 15:38:34 +03:00
Nikolay Krasko
0f3971323f
Go to Declaration does not work on usage of constant from class object in Java (KT-6172)
...
#KT-6172 Fixed
2015-02-13 20:28:51 +03:00
Alexander Udalov
44840d07a8
Rename jet -> kotlin in idea: caches, findUsages, references, stubindex
2015-01-13 01:15:10 +03:00
Alexey Sedunov
c8cb5f8c29
Find Usages: Fix reference matching for declarations located in libraries
...
#KT-5762 Fixed
2015-01-12 22:55:31 +03:00
Alexander Udalov
d384e50a97
Rename jet -> kotlin in frontend: PSI
...
org.jetbrains.jet.lang.psi -> org.jetbrains.kotlin.psi
2015-01-10 15:52:14 +03:00
Alexey Sedunov
dd647416f8
Find Usages: Change .text extension to .txt in test data
2014-12-18 21:06:02 +03:00
Alexey Sedunov
b5fb09b8bc
Find Usages: Support text-file search of Kotlin declarations
2014-12-16 17:24:54 +03:00
Evgeny Gerashchenko
6abe5a425c
Finding usages (which have references) in text when plaint text occurrences are not searched.
2014-12-15 19:24:04 +03:00
Alexey Sedunov
74cdecd829
Find Usages: Restrict search scope of class object private declarations to
...
the containing class
2014-12-08 16:30:00 +03:00
Alexey Sedunov
2ec4494c02
Find Usages: Add tests for enum entries
2014-11-18 13:25:03 +03:00
Alexey Sedunov
b09684024b
Generate light classes for Kotlin inner classes
...
#KT-6237 Fixed
2014-11-13 17:27:33 +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
Andrey Breslav
19afb2fcb8
Make candidate resolver force-resolve type arguments on argument count mismatch
2014-11-10 17:24:05 +02:00
Alexey Sedunov
a13f334df2
Find Usages: Restrict search scope for private class members
...
#KT-6124 Fixed
2014-10-28 19:15:03 +03:00
Andrey Breslav
391b57077b
KT-5976 Parser recovery is poor on object with parameters
...
#KT-5976 Fixed
2014-10-15 12:22:35 +04:00
Alexey Sedunov
0d220c68ea
Find Usages: Fix reference check for the case of multiple resolve results
2014-10-14 01:59:51 +04:00
Alexey Sedunov
1353e7f56b
Find Usages: Disable by-convention search of invoke(). Improve scanner
...
accuracy when indexing possible references to component functions
2014-10-06 14:23:49 +04:00
Zalim Bashorov
30208d5532
Minor: drop semicolon in package declaration everywhere.
2014-09-16 19:32:37 +04:00
Alexey Sedunov
ebcac73874
Find Usages: Skip overriden descriptors which have no corresponding declaration (EA-58371)
2014-09-05 17:39:56 +04:00
Alexey Sedunov
d226a11c8e
Find Usages: Add support of naming conventions
...
#KT-1356 Fixed
2014-08-08 18:59:47 +04:00
Alexander Udalov
de0f751207
Replace object$ -> OBJECT$, instance$ -> INSTANCE$ in the project
2014-07-26 00:21:05 +04:00
Alexey Sedunov
1452ffec6d
Find Usages: Classify package usages
...
#KT-4882 Fixed
2014-06-25 19:08:03 +04:00
Alexey Sedunov
4678a5866a
Light Classes: Track original declaration for Kotlin light fields
...
#KT-4902 Fixed
2014-05-28 21:06:01 +04:00
Alexey Sedunov
cceb66d632
Implement structural grouping of Kotlin declaration usages
...
#KT-4742 Fixed
2014-03-25 18:01:06 +04:00
Natalia Ukhorskaya
9f3b73986a
Update to IDEA 13.1 (134.1007)
2014-02-17 10:45:48 +04:00
Alexey Sedunov
d549257bfc
Allow to find usages of Java class via references to its constructor #KT-4521 Fixed
2014-02-10 12:25:52 +04:00
Nikolay Krasko
5f71511788
Test for "KT-3769 Find usages gives no result for overrides"
...
#KT-3769 Obsolete
2014-02-04 12:31:36 +04:00
Nikolay Krasko
e937e3aa9c
Fix syntax errors in test
2014-01-17 17:28:06 +04:00
Alexey Sedunov
1d03f9f151
Fix caching of light class data for nested classes
2013-12-24 12:10:46 +04:00
Alexey Sedunov
fb831a9a2a
Add "Find Usages" tests for local classes/objects
2013-12-12 17:30:57 +04:00
Alexey Sedunov
8981208ac9
Rename "Find Usages" tests
2013-12-12 17:30:57 +04:00
Alexander Udalov
e48c91bba4
Fix find usages classification for objects
...
Objects/enum entries are treated as variables as before. Test data for private
object in superclass was changed because now the object (as opposed to the
property) is no longer resolved due to KT-354
2013-12-02 19:56:13 +04:00
Alexey Sedunov
1b8205273b
Search constructor-declared properties together with class declarations
2013-11-07 20:44:25 +04:00