Commit Graph

8180 Commits

Author SHA1 Message Date
Valentin Kipyatkov f089d1ef55 Code refactoring 2015-06-15 18:27:21 +03:00
Valentin Kipyatkov 3d0c3e225e Added test for second press completion for inaccessible 2015-06-15 18:27:21 +03:00
Valentin Kipyatkov 483da9607c KT-4893 Code completion should not show multiple functions with the same signature
#KT-4893 Fixed
2015-06-15 18:27:21 +03:00
Sergey Mashkov 4c0e7e32e7 KT-8080 RemoveExplicitTypeArgumentsIntention crashes with AssertionError 2015-06-15 17:38:24 +03:00
Valentin Kipyatkov 4deefce603 KT-7901 Auto import is not suggested
KT-7229 Completion for extension functions with complex capture

 #KT-7901 Fixed
 #KT-7229 Fixed
2015-06-15 17:10:05 +03:00
Michael Nedzelsky 0877c09b80 fix EA-69474 - IAE: KotlinAbiVersionIndex$INDEXER$.map 2015-06-15 16:20:29 +03:00
Alexander Udalov 4cfbf5886b Get rid of unneeded MessageCollector implementations 2015-06-15 15:42:40 +03:00
Denis Zharkov bb49bfcea9 Colors & Fonts page: Get rid of obsolete syntax and add labels' highlighting
#KT-8059 Fixed
2015-06-15 14:07:42 +03:00
Pavel V. Talanov 705f35450f Refactor setting dependencies for ModuleDescriptors 2015-06-13 20:36:47 +03:00
Pavel V. Talanov b3b7da22d4 Module(Production/Test)SourceInfo#dependencies() is cached 2015-06-13 20:36:43 +03:00
Denis Zharkov e3c3af6aab Change MISSING_CONSTRUCTOR_KEYWORD severity to error
And adjust testData
2015-06-12 11:23:13 +03:00
Denis Zharkov eb7114bd53 Add 'constructor' keyword in whole project where needed 2015-06-12 09:55:15 +03:00
Denis Zharkov 980499e331 Drop javaClass in annotations related things from inspections/quickfixes 2015-06-12 09:55:09 +03:00
Denis Zharkov 26864a4407 Get rid of annotation syntax deprecation related things 2015-06-12 09:23:32 +03:00
Denis Zharkov 200dee2761 Replace deprecated annotations in whole project 2015-06-12 09:23:32 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Denis Zharkov 053dcf3abf Effectively turn off completion tests with file keyword
Completion does not work with new syntax: see KT-8036
2015-06-12 09:23:31 +03:00
Michael Nedzelsky ed262a2a2a fix KT-8032 Mixed platform library in JVM module causes JS warning about unsupported format
#KT-8032 Fixed
2015-06-12 02:09:53 +03:00
Valentin Kipyatkov 366a2be8a7 KT-7989 ReplaceWith replacement adds redundant type arguments for platform types
Highlighting of redundant type arguments made more strict about platform types

 #KT-7989 Fixed
2015-06-11 23:30:22 +03:00
Valentin Kipyatkov 2203fb3231 Renamed intention class 2015-06-11 23:30:22 +03:00
Yan Zhulanow 571c9073fa Add AnalyzeCompletedHandlerExtension 2015-06-11 14:50:32 +03:00
Alexey Sedunov 95438c7b5d Light Classes: Fix ClassCastException for KotlinNoOriginLightField 2015-06-11 13:52:59 +03:00
Alexey Sedunov bbc644f4c8 Refactoring: Unify getClassOrObject() and getContainingClassOrObject() functions in constructor PSI 2015-06-11 13:52:58 +03:00
Alexey Sedunov bfabb40955 Find Usages: Skip KotlinNoOriginLightMethod to avoid NPE (to be be fixed later) 2015-06-11 13:52:55 +03:00
Alexey Sedunov 2a73247566 Find Usages: Rename test class and move test data 2015-06-11 13:52:54 +03:00
Alexey Sedunov 81440815e1 Light Classes: Retain original declarations for nested decompiled classes 2015-06-11 13:52:53 +03:00
Alexey Sedunov ca8e2d4956 Navigation: Implement proper getOriginalElement() for Kotlin declarations.
Run find usages tests with library for both original and navigation elements. Drop duplicating tests. Simplify test class.
TODO: Some usages are not found yet since light methods built from library files do not retain original declarations
2015-06-11 13:52:52 +03:00
Alexey Sedunov ba0000dde1 Navigation: Fix navigation to library sources for Kotlin constructors 2015-06-11 13:52:50 +03:00
Alexey Sedunov e2d758463f Find Usages: Support primary constructors
#KT-7881 Fixed
2015-06-11 13:52:49 +03:00
Alexey Sedunov 1ea2c24562 Light Classes: Primary constructor fixes 2015-06-11 13:52:48 +03:00
Alexey Sedunov 608ce59f15 Resolution: Resolve primary constructor references to primary constructor
itself if it's explicitly present in PSI
2015-06-11 13:52:47 +03:00
Alexey Sedunov b049455aa4 Presentation: Support constructors in JetFunctionPresenter 2015-06-11 13:52:46 +03:00
Alexey Sedunov 034af9e7f2 PSI: Extract JetConstructor class 2015-06-11 13:52:45 +03:00
Alexey Sedunov 64ae0c0036 Find Usages: Add file grouping to test data 2015-06-11 13:52:43 +03:00
Natalia Ukhorskaya d4bf5faeec Fix validation of field breakpoints for package classes with several files 2015-06-11 12:15:09 +03:00
Natalia Ukhorskaya da263ce090 Show all kotlin properties in 'Add field watchpoint' dialog 2015-06-11 12:15:07 +03:00
Natalia Ukhorskaya cc5045a333 Fix warnings 2015-06-11 12:15:05 +03:00
Natalia Ukhorskaya e99bd89139 Copy AddFieldBreakpointDialog from IDEA 2015-06-11 12:15:01 +03:00
Natalia Ukhorskaya 19fe6c58fa FieldWatchpoints: reload breakpoint type if property changed 2015-06-11 12:14:59 +03:00
Natalia Ukhorskaya 0a1bfcec04 Remove delegate to JavaFiledBreakpoint 2015-06-11 12:14:57 +03:00
Natalia Ukhorskaya b1f9341ab4 Rewrite filters panel 2015-06-11 12:14:55 +03:00
Natalia Ukhorskaya 14f90f15e5 Field WatchPoints: add ability to stop at initializer 2015-06-11 12:14:53 +03:00
Natalia Ukhorskaya d7375e0dc4 Create custom panel for field watchpoints 2015-06-11 12:10:19 +03:00
Natalia Ukhorskaya d198a9fa7f Minor: move class to separate file 2015-06-11 12:10:19 +03:00
Natalia Ukhorskaya 9f041b9555 Field watchpoints: render message in status bar properly 2015-06-11 12:10:18 +03:00
Natalia Ukhorskaya 32d0057a7f Support filed breakpoints on properties without backing fields 2015-06-11 12:10:17 +03:00
Natalia Ukhorskaya 1c135e7ac7 Minor: rename test 2015-06-11 12:10:16 +03:00
Natalia Ukhorskaya 1ed9ea44a9 Line numbers for traits 2015-06-11 12:10:16 +03:00
Natalia Ukhorskaya 04db433ab5 Minor: Evaluate expression tests, support resume instruction 2015-06-11 12:10:15 +03:00
Zalim Bashorov 07bb0ce481 Minor: remove files temporary copied from IDEA 2015-06-10 21:39:21 +03:00