Commit Graph

24749 Commits

Author SHA1 Message Date
Zalim Bashorov bcacef7bb9 Move all NoLookupLocation instances to the one place to make them more discoverable and close constructor 2015-08-18 12:34:17 +03:00
Zalim Bashorov 69e0f23db9 Classify Location.NO_LOCATION usages 2015-08-18 12:21:31 +03:00
Zalim Bashorov 0ca9c6fd40 Introduce NoLookupLocation and some new constants to classify LookupLocation.NO_LOCATION usages 2015-08-18 12:21:30 +03:00
Zalim Bashorov e692b7b9c4 Minor: no more use default value for location parameter in JetScope members
Temporary introduced overloads which emulated default value behavior
2015-08-18 12:21:30 +03:00
Zalim Bashorov 2df55b5694 Minor: remove obsolete settings 2015-08-18 12:21:29 +03:00
Alexey Sedunov 982655f553 Pull Up: Resolve target light class separately for each Java field usage as it may change along the way 2015-08-17 20:28:18 +03:00
Alexey Sedunov 46fe7dc7a1 Move Directory: Support Kotlin files
#KT-8350 Fixed
 #KT-8351 Fixed
2015-08-17 20:28:17 +03:00
Alexey Sedunov feacefe50a Project View: Fix "Show Members" behavior for Kotlin files
#KT-8409 Fixed
2015-08-17 20:28:16 +03:00
Alexey Sedunov 3edc903daf Move Declarations: Support multiple files
#KT-8431 Fixed
2015-08-17 20:28:14 +03:00
Alexey Sedunov 74ef93fd0c Move Declarations: Do not show "Package doesn't exist" message twice 2015-08-17 20:28:13 +03:00
Alexey Sedunov 3134e58251 J2K Converter: Add copy/paste tests for references in extends/implements clauses 2015-08-17 20:28:11 +03:00
Alexey Sedunov 96f255225b Push Down: Conflict analysis 2015-08-17 20:28:10 +03:00
Alexey Sedunov a66ef47887 Push Down: Initial Support 2015-08-17 20:28:08 +03:00
Alexey Sedunov 5168ccc159 Add/Remove Modifier: Do not add modifier if it's already present in the modifier list 2015-08-17 20:28:05 +03:00
Alexey Sedunov 969b90d301 Move Declarations: Use custom hashing strategy to account for different instances of light elements with common origin 2015-08-17 20:28:04 +03:00
Alexey Sedunov 03f08326fa Move File: Process external and internal usages after all package directives are updated 2015-08-17 20:28:03 +03:00
Valentin Kipyatkov b6c94a9e68 ResolveElementCache works correctly for non-physical files 2015-08-17 14:24:07 +03:00
Evgeny Gerashchenko 4b6991603f Minor. Split test file into two. 2015-08-15 12:29:46 +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
Evgeny Gerashchenko da4be8a0f5 KT-7484 Companion object is marked unused if it's only usages are statically imported from Java
#KT-7484 fixed
2015-08-15 12:29:44 +02:00
Evgeny Gerashchenko 3a4010503e Minor. Renamed test data dir. 2015-08-15 12:29:43 +02:00
Evgeny Gerashchenko fe1d4e38b3 KT-8273 Don't mark serialVersionUID as unused
#KT-8273 fixed
2015-08-15 12:29:42 +02:00
Evgeny Gerashchenko 50dbf080f7 Test for KT-2082 Missing 'Unused expression' warning
#KT-2082 obsolete
2015-08-15 12:29:41 +02:00
Evgeny Gerashchenko 1cf433909b Test for KT-7134 Command line entry point (main function is highlighted as unused)
#KT-7134 obsolete
2015-08-15 12:29:12 +02:00
Natalia Ukhorskaya e3c5e2eca2 Update to IDEA 142.3926.4 2015-08-15 01:40:39 +03:00
Natalia Ukhorskaya 9b0cfd4027 Debugger tests: migrate to new API
(cherry picked from commit 430c718)
2015-08-15 01:40:39 +03:00
Natalia Ukhorskaya be5c1d0a44 Debugger tests: changes in testData
(cherry picked from commit 0e4b133)
2015-08-15 01:40:38 +03:00
Sergey Mashkov 77a8eddb2a Selenium tests module pom.xml: module shouldn't depend to kotlin-js-library as it makes IDEA
detect it as a JavaScript module
2015-08-14 18:51:52 +03:00
Sergey Mashkov 3a323d562d Selenium longer per-test timeout 2015-08-14 18:51:50 +03:00
Valentin Kipyatkov c3ccd6da57 Renamed test data folder 2015-08-14 18:10:41 +03:00
Valentin Kipyatkov b6cf39981f SAM-adapters are sorted as non-extensions in completion and with correct boldness + no parameter names when from compiled 2015-08-14 18:10:41 +03:00
Valentin Kipyatkov 13fc12bbae Moving test data into subfolders 2015-08-14 18:10:40 +03:00
Valentin Kipyatkov 9546e46ae0 Moving test data into java-specific folder 2015-08-14 18:10:40 +03:00
Valentin Kipyatkov ec7c55c9be Synthetic java properties are not always bold in completion and are not sorted as extensions 2015-08-14 18:10:39 +03:00
Valentin Kipyatkov 000d2f0cd1 Lower priority for extensions on own type parameters 2015-08-14 17:38:38 +03:00
Valentin Kipyatkov 9e26d0eacf Graying members from smart cast receiver types that require explicit receiver cast
+ changed immediate member criteria (override member is not counted as immediate anymore)
+ fixed a bug in graying members
2015-08-14 17:38:29 +03:00
Valentin Kipyatkov b21226ac1c More correct calculation of smart casts in smart completion 2015-08-14 17:38:29 +03:00
Valentin Kipyatkov f3e7560593 Enabled test 2015-08-14 17:38:29 +03:00
Valentin Kipyatkov 7b149c10c1 UsePropertyAccessSyntaxIntention: handled case when property type is more specific 2015-08-13 17:29:03 +03:00
Valentin Kipyatkov 6fcb75cfb5 One more test added 2015-08-13 17:29:03 +03:00
Valentin Kipyatkov 1fd4d4fe11 More efficient and correct implementation of conflicts checking in UsePropertyAccessSyntaxIntention 2015-08-13 17:29:02 +03:00
Valentin Kipyatkov a5306d9e4b Minor optimization 2015-08-13 17:29:02 +03:00
Valentin Kipyatkov 0d27e7a259 Faster replacement of get/set to synthetic extensions in converter - don't search for extension property again 2015-08-13 17:29:01 +03:00
Valentin Kipyatkov 21639c4785 J2k post-processings based on diagnostics are included into the common scheme 2015-08-13 17:29:01 +03:00
Valentin Kipyatkov e66d0f71ac Implemented more general scheme of post-processing with intentions in J2K + added replacement of get/set with property access there 2015-08-13 17:29:00 +03:00
Valentin Kipyatkov 671b9f5d56 Finally fixed KT-8751 2015-08-13 15:02:52 +03:00
Sergey Mashkov 2f7193064f #KT-8708 migrate tests to new trimIdent() and prependIndent 2015-08-13 14:40:07 +03:00
Sergey Mashkov 84ef068f5d #KT-8708 refactor trimIndent, trimMargin, replaceIndent, replaceIndentByMargin, prependIndent 2015-08-12 18:45:10 +03:00
Sergey Mashkov b146b0eda9 Remove deprecated function usage 2015-08-12 18:45:10 +03:00
Sergey Mashkov c0078a53e6 Temporary move trimIndent implementations to tests as private members to avoid resolution ambiguity 2015-08-12 18:45:10 +03:00