Igor Yakovlev
8a7aac728d
Fix invalid signature for UL method
...
Fixed #KT-32245
2020-04-22 12:26:51 +03:00
Igor Yakovlev
ed3ae785fb
Fix invalid signature for generic UL method
...
Fixed #KT-38348
2020-04-22 12:26:51 +03:00
Vladimir Dolzhenko
e951f1a43a
Find Usages and Go to declaration of element used via import alias
...
#KT-18619 Fixed
2020-03-20 14:59:24 +00:00
Nikolay Krasko
4d0fc1dc22
Remove 182 support
...
#KT-33536 Fixed
2019-08-30 12:13:44 +03:00
Nikolay Krasko
6176373713
Test data update for JavaWithGroovyInvoke since 183
2019-07-24 17:28:01 +03:00
Nikolay Krasko
699e3397d9
Warn about bad options in usage parsers in tests
2018-11-29 13:31:04 +03:00
Nikolay Krasko
71bdda0980
Do not use Kotlin in Java files in find usages tests
2018-08-09 12:25:50 +03:00
Nikolay Krasko
44d3b8fb1a
Ignore sub-queries for other operators with the same receiver (KT-18566)
...
ExpressionsOfTypeProcessor searches for all occurence of expression
with given type. It start from usages of the class, searches for sub-classes,
declarations that return those classes, usages of these declarations,
and so on.
During this search, find usages for all operators that return the
subject type is executed as sub-queries. Full search for such queries
can't give addition types. And it also shouldn't give additional scopes
for search, because same scopes should be located by operands. In other
words, if sub-query can spot the scope of usage starting from the same
type, the original query should also process same scope.
#KT-18566 Fixed
2017-06-20 16:53:05 +03:00
Nikolay Krasko
0cd3e4f3a4
Minor: JetFile -> KtFile
2017-05-18 20:00:17 +03:00
Nikolay Krasko
c0b545085a
Search statics java declarations through star imports
2017-05-03 18:03:39 +03:00
Nikolay Krasko
2d51d72708
Use classes to increase search pattern for static declarations
...
Static common names like 'INSTANCE', 'create' can give many irrelevant
references in the project.
#KT-17000 Fixed
#KT-14974 Fixed
2017-05-03 18:03:39 +03:00
Nikolay Krasko
7ee58be515
Don't fall back to full search because of reference in fqname
2017-05-03 18:03:39 +03:00
Nikolay Krasko
111f0b1e66
Avoid full references search for languages without PsiClass (KT-14974)
...
Make smart type search work for Groovy.
#KT-14974 Fixed
2017-04-21 15:12:07 +03:00
Nikolay Krasko
d0a26cf052
Log shifting to plain text search for tests
2017-04-18 15:25:08 +03:00
Nikolay Krasko
6e3016284a
Test find usages behaviour when failing to text search on Groovy files
...
Set test directory to directory with test files (not relative to
findUsages folder). This way test will be configured as if all testdata
is under source root (previously it was copied into package under path
with findUsages) and resolvers will see classes under root package.
#KT-14974 In Progress
2017-04-18 15:25:08 +03:00
Dmitry Jemerov
f255f2a1e0
Optimize isReferenceTo() when searching for PsiMethod usages
...
Avoid resolving references when we know from context that a reference
at given location can't resolve to a PsiMethod.
2017-03-30 15:33:11 +02:00
Dmitry Jemerov
9594147c55
Find Usages checks that the signature of the method a property usage resolves to matches the signature of the method being searched
...
#KT-15291 Fixed
2017-02-02 12:44:54 +01:00
Valentin Kipyatkov
8d16af41a9
Fixed test data
2016-09-07 19:04:48 +03:00
Valentin Kipyatkov
d7a94ac470
Fixed find usages for Java's invoke()
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov
478556890a
KT-13605 Find Usages fails to find usages of component function defined in Java
...
#KT-13605 Fixed
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov
0158ff46f3
Fixed operator references search for functions declared in Java
2016-09-07 19:04:43 +03:00
Dmitry Jemerov
14037f099c
correctly find usages of overridden Java method through synthetic accessors
...
#KT-12869 Fixed
2016-07-14 23:32:02 +02:00
Alexey Sedunov
89816c5f12
References: Support implicit references to annotation method 'value'. Support Find Usages/Rename on these references
...
#KT-12657 Fixed
(cherry picked from commit 68d0d84)
2016-06-28 15:07:28 +03:00
Dmitry Jemerov
060c285715
search for Kotlin convention usages of Java methods
...
#KT-5960 Fixed
2016-06-07 14:50:16 +02:00
Nikolay Krasko
a71d1c24ff
Mass test data update: find usages doesn't contain column anymore
2016-04-05 00:39:46 +03:00
Alexey Sedunov
9c360ef05a
Find Usages: Look for as-property usages of Java methods
2015-10-24 19:50:53 +03:00
Dmitry Jemerov
457e40a0b8
fix a few more tests
2015-10-12 11:11:31 +02:00
Valentin Kipyatkov
5e97387e8d
Public utility to detect read/write access for an expression
...
Implemented ReadWriteAccessDetector which gives read/write access in Highlight Usages and Find Usages
+ More correct UsageType detection
2015-08-19 20:46:37 +03:00
Valentin Kipyatkov
13f0d3ca23
Initial implementation of usage search for get/set methods in form of synthetic extension
2015-07-16 13:49:16 +03:00
Alexey Sedunov
e2d758463f
Find Usages: Support primary constructors
...
#KT-7881 Fixed
2015-06-11 13:52:49 +03:00
Alexey Sedunov
64ae0c0036
Find Usages: Add file grouping to test data
2015-06-11 13:52:43 +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
d19e6337a3
Find Usages: Support of secondary constructors and delegation calls
2015-03-21 03:29:03 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +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
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
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
Alexey Sedunov
bc9b2bf657
Add "Find Usages" tests for nested/inner classes and objects
2013-11-06 14:26:34 +04:00
Alexey Sedunov
f99e6e6765
Fix usage type detection for static members of Java classes and members of nested classes
2013-11-06 14:26:33 +04:00
Alexey Sedunov
40900ac16c
Reuse Java usage types
2013-11-06 14:26:32 +04:00
Alexey Sedunov
a0e90f38a2
"Find Usages": add tests for Kotlin usages of Java declarations
2013-11-06 14:26:30 +04:00