Commit Graph

24992 Commits

Author SHA1 Message Date
Valentin Kipyatkov 6dde70e358 Split LookupElementFactory into 3 classes 2015-08-28 16:22:45 +03:00
Valentin Kipyatkov cff817d03b Moved class 2015-08-28 16:22:45 +03:00
Valentin Kipyatkov 6e6e80cc2a Moved method 2015-08-28 16:22:45 +03:00
Valentin Kipyatkov 363295f6af Moved creation of additional items like special items for functions accepting lambda into LookupElementFactory to provide them in smart completion too 2015-08-28 16:22:44 +03:00
Valentin Kipyatkov 5b3e83d547 Deprecated method usage fix 2015-08-28 16:22:44 +03:00
Valentin Kipyatkov 66719923c2 KT-6050 Support completion for super qualifier
#KT-6050 Fixed
2015-08-28 16:22:44 +03:00
Valentin Kipyatkov 7458000f14 Use DescriptorToSourceUtilsIde because DescriptorToSourceUtils does not work for compiled Kotlin descriptors 2015-08-28 16:22:44 +03:00
Dmitry Jemerov 19eea4bf4e store cached Java file stub in the userdata of a JetFile (project specific), not of VirtualFile (app global) 2015-08-28 15:16:22 +02:00
Nikolay Krasko 1a47d6754d Allow to search marker classes in dumb mode (EA-67309) 2015-08-28 13:44:02 +03:00
Nikolay Krasko 4c9af37526 Can't navigate to SAM adapter function declaration (KT-8918)
#KT-8918 Fixed
2015-08-28 13:43:59 +03:00
Valentin Kipyatkov ab783e052f No override for private to this 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov 4717b17418 Inspection & fix for redundant supertype qualification 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov d62eeb1c25 Better test 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov dcfe9b98d7 Fixed bug with duplicated members in Override Members dialog 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov ccfa48b564 MInor 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 40638de67c Override members does not generate qualified super when not needed 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov dd6702b832 Minor 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 9497856d8e KT-8868 "Implement members" generates unqualified reference for member class/interface
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 14763a7ffa Renames 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov ba33c834c1 Add name to argument intention to work not only on the last argument 2015-08-27 23:21:20 +03:00
Dmitry Jemerov 5e1d8bc503 test for safe delete of data class parameter used as componentN() function in Kotlin code 2015-08-27 21:15:48 +02:00
Dmitry Jemerov 63d477e355 fix broken merge; support for renaming primary constructor parameter which declares an overridden property 2015-08-27 21:15:47 +02:00
Dmitry Jemerov 3e5c687e9d additional tests to verify that cases from KT-4793 are fixed
#KT-4793 Fixed
2015-08-27 21:15:47 +02:00
Dmitry Jemerov ef4b32db0d fix find usages and rename for primary constructor properties
#KT-8807 Fixed
2015-08-27 21:15:46 +02:00
Yan Zhulanow 0c87639514 Fix annotation list parsing: @identifier:[a b c] 2015-08-27 18:16:06 +03:00
Nikolay Krasko 440379dfad Add univeral targets for idea_continuous that can work not only in JB local network 2015-08-27 15:51:57 +03:00
Nikolay Krasko 53db747a55 Use local mirror for getting idea artifacts 2015-08-27 15:51:56 +03:00
Nikolay Krasko 75396ff7bb Remove deprecated targets 2015-08-27 15:51:55 +03:00
Nikolay Krasko a2f30f9619 Add simple pattern pre-check in hasMetadata() 2015-08-27 15:49:18 +03:00
Dmitry Jemerov 18223dfaaa update backing field references when renaming Kotlin property
#KT-7905 Fixed
2015-08-27 14:31:17 +02:00
Dmitry Jemerov 96f2257b23 disable rename refactoring for function literals (KT-8917) 2015-08-27 14:18:55 +02:00
Valentin Kipyatkov 9d7e6600d4 Got rid of allKotlinClasses() method 2015-08-27 13:34:33 +03:00
Valentin Kipyatkov 542fa34c2d KT-8680 Change priority of imported descriptors (user imports vs default imports)
#KT-8680 Fixed
2015-08-27 13:34:33 +03:00
Stanislav Erokhin d92e71861e Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider 2015-08-27 12:01:13 +03:00
Stanislav Erokhin 47f88eb1c1 Created LexicalChainedScope and LexicalScopeImpl 2015-08-27 12:01:12 +03:00
Stanislav Erokhin 2a0159f23b Created JetScope.memberScopeAsFileScope() 2015-08-27 12:01:11 +03:00
Stanislav Erokhin aa3be395a4 Extract WritableScopeStorage from WritableScopeImpl 2015-08-27 12:01:10 +03:00
Stanislav Erokhin 40c3b03a54 Minor. Change return type for method WritableScope.changeLockLevel 2015-08-27 12:01:09 +03:00
Stanislav Erokhin 3152d722cd Fix bug in ScopeUtils. 2015-08-27 12:01:09 +03:00
Stanislav Erokhin aaebe70342 Improved logic of finding conflicts for refactoring actions 2015-08-27 12:01:08 +03:00
Stanislav Erokhin 9a435e332f Fix InnerClassesScopeWrapper - remove properties and functions from this scope. 2015-08-27 12:01:07 +03:00
Stanislav Erokhin 49b294b8b4 Move MutableClassDescriptor to backend module 2015-08-27 12:01:06 +03:00
Stanislav Erokhin a4599ef5e2 Clean up MutableClassDescriptor 2015-08-27 12:01:06 +03:00
Ilya Gorbunov 84d3d42e05 Replace deprecated reverse method usages. 2015-08-27 11:45:44 +03:00
Ilya Gorbunov ca798d8d71 Rename reverse to reversed.
#KT-8171
2015-08-27 11:45:30 +03:00
Alexander Udalov 56e12787a8 Fix exception on overridding var-property with a val constructor parameter
#KT-3810 Fixed
2015-08-27 10:23:49 +03:00
Alexander Udalov 59a15092da Drop old preloader command-line interface, use new one instead 2015-08-27 08:19:51 +03:00
Alexander Udalov 2a93629305 Render original descriptor in the deprecation warning
Otherwise it gets confusing when multiple instantiations of the same deprecated
symbol (e.g. javaClass<T>()) are diagnosed with different type arguments
2015-08-27 08:19:51 +03:00
Alexander Udalov 8d9618348d Move .java and .kotlin extension properties to kotlin.jvm
Delete the old ones in package kotlin.reflect.jvm because otherwise the code
using those functions will become red in a lot less meaningful way (overload
resolution ambiguity) than if they're deleted (unresolved import)

Based on the work originally done by @dnpetrov

 #KT-8380 Fixed
2015-08-27 08:19:50 +03:00
Ilya Gorbunov b8badd59ba Introduce reversed extension for Comparator. 2015-08-27 00:10:11 +03:00