Commit Graph

38 Commits

Author SHA1 Message Date
Igor Yakovlev d2bdab2ef5 [FIR IDE] Add find usages tests for FIR plugin 2020-09-25 17:26:22 +03:00
Vladimir Dolzhenko 8540f47c15 Fixed FindUsages case on look up implementation getter/setters via property names
#KT-40788 Fixed
#KT-24616 Fixed

back-port from kotlin-ide commit aa5580bb5a7e96b209cdaa1c82f4e485ee001ae8
2020-08-10 22:04:06 +02: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
Toshiaki Kameyama a3252b9480 Unused symbol: fix false positive in anonymous object in top level or companion object
#KT-31800 Fixed
#KT-20868 Fixed
2020-02-21 14:36:18 +01:00
Nikolay Krasko d3ff8c12a4 Use dialog wrapper for controlling behaviour from tests
Known issue: can't use same approach for modifying Java dialogs
behaviour
2017-04-21 15:08:40 +03:00
Alexey Sedunov 5e8cd654ec Find Usages: Fix processing of label references in 'return' expressions
#KT-7516 Fixed
2017-03-19 17:20:17 +03:00
Alexey Sedunov d456aa6ba8 Rename: Fix Find Usages/Rename for parameter references in XML files
#KT-11967 Fixed
2016-04-25 10:38:39 +03:00
Alexey Sedunov 021c88e5ff Find Usages: Fixed searching of Java usages for @JvmStatic properties and @JvmStatic @JvmOverloads functions
#KT-11736 Fixed
2016-04-21 16:40:19 +03: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 1de3faf3f5 Codegen: Fix origin of overloaded methods generated for constructors with @JvmOverloads
Find Usages: Add tests for declarations annotated with @JvmOverloads
 #KT-8534 Fixed
2015-11-02 15:15:34 +03:00
Alexey Sedunov ad0c12935b Find Usages: Include super declarations when highliting usages in the current file 2015-10-24 19:50:54 +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 49033e0002 rename Jet* classes to Kt* 2015-10-19 21:35:30 +02:00
Pavel V. Talanov 3a34dc0efe minor: fixes in test data
(cherry picked from commit 6ea4fbd)
2015-10-19 16:03:16 +03:00
Dmitry Petrov 149e70aa07 Dropping package facades:
- light classes: do not generate light class for package facade
- drop package facades as multifile classes compilation mode support
- get rid of some additional package facade fqName usages
- update tests for light classes
2015-10-19 16:03:16 +03:00
Michael Bogdanov ee6dbac381 Remove synthetic flag from internal members 2015-10-13 10:48:37 +03:00
Dmitry Jemerov 9e6c0e7ee2 code review 2015-09-14 18:05:00 +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
Evgeny Gerashchenko 799368386b KT-6877 Wrong unused function inspection on anonymous object member
#KT-6877 fixed
2015-08-15 12:29:46 +02:00
Alexey Sedunov 64ae0c0036 Find Usages: Add file grouping to test data 2015-06-11 13:52:43 +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
Evgeny Gerashchenko 533935f2c0 KT-7472 function of anonymous class is never used
#KT-7472 fixed
2015-05-14 21:51:07 +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
Nikolay Krasko f3919db592 Find usages and reference to delegation origin 2015-02-24 21:52:52 +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
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
Alexey Sedunov a13f334df2 Find Usages: Restrict search scope for private class members
#KT-6124 Fixed
2014-10-28 19:15:03 +03:00
Alexey Sedunov 0d220c68ea Find Usages: Fix reference check for the case of multiple resolve results 2014-10-14 01:59:51 +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
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
Alexey Sedunov 78a7afe70e FindUsagesTest: Add usages of extensions for functions declared in objects 2013-11-06 14:26:36 +04:00
Alexey Sedunov 40900ac16c Reuse Java usage types 2013-11-06 14:26:32 +04:00
Alexey Sedunov f41cfa2b8b "Find Usages": separate Kotlin and Java tests 2013-11-06 14:26:29 +04:00