Mikhail Glukhikh
8de2ff2163
Improve expect / actual markers on one line
...
Before this commit, only one-line enums and annotation classes were
considered. Now we can have enum header on one line and
some entries on another lines, and it still works.
Same with primary constructor parameters.
#KT-22637 Fixed
2018-12-27 19:45:28 +03:00
Mikhail Glukhikh
d7d1b0420d
Do not show non-actual members in actual gutter #KT-27951 Fixed
2018-11-13 10:15:47 +03:00
Mikhail Glukhikh
e39953c4a0
Check also drop-box content in multi-module line marker tests
...
Related to KT-26957
2018-10-26 16:21:49 +03:00
Mikhail Glukhikh
bb19d4c598
Do not create expect / actual markers for parameters & enum entries
...
Part of KT-26957
2018-10-25 18:11:45 +03:00
Alexey Sedunov
b52b07ec79
Test Support: KT-22306
...
Do not show run markers in JS modules when no relevant run configurations are available
#KT-22306 Fixed
2018-07-02 19:15:52 +03:00
Mikhail Glukhikh
cbcd35e2f5
Implement Kotlin sub-classes tooltip to handle MPP correctly
...
Before this commit, Java tooltip was in use which could not
work correctly with expect / actual classes
So #KT-21011 Fixed
2018-06-14 15:42:37 +03:00
Mikhail Glukhikh
232d340118
Expect/actual companion object: set gutter on leaf element
...
May fix KT-21113
2018-06-13 19:23:40 +03:00
Mikhail Glukhikh
cfd1a54463
Do not create expect / actual gutters for primary constructor
...
So #KT-22177 Fixed
So #KT-21063 Obsolete
2018-06-13 19:19:26 +03:00
Pavel V. Talanov
de71598794
Fix line markers for actual enum entries
...
#KT-22632 Fixed
2018-04-04 17:56:35 +02:00
Pavel V. Talanov
e66768cbb3
Rewrite mpp line marker tests to be generated
2018-04-04 17:56:35 +02:00
Mikhail Glukhikh
19beaf57a7
JVM facade: for Java resolve, always use JvmPlatform resolver
...
So #KT-20281 Fixed
2018-02-06 09:50:10 +03:00
Mikhail Glukhikh
3ba6b70f73
Show expect / actual gutter even for incomplete compatibility
...
So #KT-18445 Fixed
So #KT-21115 Fixed
2018-02-06 09:50:00 +03:00
Alexey Sedunov
bd8a4d78fa
Line Markers: Don't show test run line markers for top-level functions
...
#KT-13509 Fixed
2018-01-29 14:48:41 +03:00
Alexey Sedunov
ec85b708c9
Misc: Use delegate with predefined name for fake light methods
...
#KT-21414 Fixed
2017-12-06 14:17:56 +03:00
Alexey Sedunov
4cc1e22a5a
Misc: Support light-methodless members in overrider search
...
In particular, support line markers for expect-class members
and navigation to expect-class members from corresponding base members
2017-10-24 15:43:51 +03:00
Alexey Sedunov
17abce2811
Misc: Support light-classless classes in inheritors search
...
In particular, support line markers for expect-classes
and navigation to expect-classes from their base class
#KT-20329 Fixed
2017-10-24 15:43:51 +03:00
Mikhail Glukhikh
1bf0424b1c
Set line marker on expect constructor '(' if no constructor keyword
2017-10-10 10:44:51 +03:00
Mikhail Glukhikh
4bfaa46c15
Add correct mapping of module descriptor to implementedDescriptor
...
Now implements dependency is taken into account here
Old commonModuleOrNull() was deleted
Test (JVM + 2xCommon) was added
2017-10-10 10:44:44 +03:00
Mikhail Glukhikh
b5e2fa5f94
Add line marker test for type aliases #KT-20164 Fixed
2017-10-10 10:44:39 +03:00
Mikhail Glukhikh
eec8be2c21
Add line marker test for primary constructors #KT-20254 Fixed
2017-10-10 10:44:38 +03:00
Mikhail Glukhikh
0ebe9d576a
Add line marker test for sealed classes #KT-20043 Fixed
2017-10-10 10:44:36 +03:00
Mikhail Glukhikh
4e56fda439
Introduce isExpect/ActualDeclaration in KotlinLineMarkerProvider
...
Treat every member of expect declaration as expect declaration itself
So #KT-18455 Fixed
2017-10-10 10:44:35 +03:00
Mikhail Glukhikh
ceab148b09
Expect/actual markers: handle secondary constructors correctly
...
So #KT-20309 Fixed
2017-10-10 10:44:33 +03:00
Mikhail Glukhikh
fa23471397
Add test for KT-19222 to fix behaviour
...
Issue was fixed together with KT-17374
So #KT-19222 Fixed
2017-09-28 15:15:02 +03:00
Mikhail Glukhikh
6e41bbc2a7
Migration: header->expect & impl->actual in IDEA test data
2017-09-15 18:29:06 +03:00
Mikhail Glukhikh
74f81f38ba
Migration to expect/actual: highlighter markers
2017-09-15 18:26:46 +03:00
Alexey Sedunov
4f647e84c9
Line Marking: Respect @Test/@Ignore annotations in test line markers
...
#KT-16814 In Progress
2017-09-07 17:39:16 +03:00
Alexey Sedunov
386b1fc002
Line Marking: Fix search of overriding methods in platform modules
...
#KT-19212 Fixed
2017-08-15 19:08:25 +03:00
Mikhail Glukhikh
0798e43524
Consider only source-compatible modules in allImplementingModules use-sites
...
So #KT-17400 Fixed
So #KT-15680 Fixed
So #KT-15660 Fixed
Likely also #KT-16838 Fixed
2017-05-02 19:01:31 +03:00
Alexander Udalov
a2e050a3b9
Use correct function to find header for impl in IDE
...
Also do not call isHeader/isImpl because the returned declarations are
guaranteed to be isHeader in findCompatibleHeaderForImpl and isImpl in
findCompatibleImplForHeader
2017-04-20 22:13:32 +03:00
Mikhail Glukhikh
266d36f289
Refactoring: rename header to common in MultiModuleLineMarkerTest
2017-04-20 19:12:13 +03:00
Dmitry Jemerov
cf18c2243f
Fix test: check highlighting only in one direction
...
Otherwise, when we check the highlighting on one of the files, the text
of the other still contains the <lineMarker> annotation and can't be
indexed as valid Kotlin code.
2017-03-20 18:46:10 +01:00
Mikhail Glukhikh
8f57869fc5
Line marker tests for header <----> impl
2016-12-19 17:39:16 +03:00