Commit Graph

4664 Commits

Author SHA1 Message Date
Valentin Kipyatkov 601fe05cb0 Moved methods for checking extensions applicability from TipsManager to extensionUtils.kt (and made them all extension methods) 2014-11-19 16:01:19 +03:00
Valentin Kipyatkov 153b53baa8 Moved method checkIsExtensionCallable from ExpressionTypingUtils to TipsManager (converting it to Kottlin) 2014-11-19 16:01:19 +03:00
Valentin Kipyatkov e0da6247af Completion: bold immediate members for extensions too 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov a26388ef63 Completion: corrected presentation for extension properties 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov 386c67925f Completion: do not bold top-level functions 2014-11-19 12:56:47 +03:00
Alexey Sedunov 7170209760 Move: Suggest creating Kotlin file if it doesn't exist
#KT-5379 Fixed
2014-11-18 13:24:55 +03:00
Valentin Kipyatkov d061c3d771 Completion: bold members from immediate class 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 7410c36e3a Completion: moved signatures from "item text" to tail
#KT-5652 Fixed
2014-11-17 22:06:16 +03:00
Valentin Kipyatkov b2f2c9ac75 Code formatting 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov b7e9d96af2 Smart completion includes constructor parameters for instantiation items 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov d421e7ac72 Code refactoring 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 58a67a2bf3 Use our own tail handler 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 03b3cf7480 Completion: better space key handling 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 656ed01b94 Code completion: more precise detection of "just typing" 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 7b7e992515 Code completion: '=' char supported for all items + it inserts spaces around '=' 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 08f43dcbf8 Renamed classes 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 3ecae800af Code completion: fixed comma key behavior for function with parameters + more tests 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 57692b1a37 Code completion: space after comma on selecting item with comma key 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 3ebc681eec Behavior on typing chars with code completion lookup is completely defined by our own handler + added tests for this handler + fixed a few bugs related to this behavior 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov f36208718e Smart completion: fixed lookup string behaviour for "::xxx" items 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov dfc8c9be16 Dropped redundant override 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov 836b4aa0f0 Smart completion: fixed lookup string for anonymous object item 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov e256d14075 Smart completion: 2 lookup strings for static member items 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov 2b33501471 Smart completion: fixed items ordering issue 2014-11-17 22:06:14 +03:00
Natalia Ukhorskaya 7f56c815fb Debugger: add module info to key for type mapper in JetPositionManager 2014-11-17 11:45:10 +03:00
Alexey Sedunov da915aee7e Call Hierarchy: Do not interrupt caller hierarchy on non-local caller of local root declaration
#KT-6183 Fixed
2014-11-13 17:27:31 +03:00
Alexey Sedunov 558e038ba5 Extract Function: Replace non-denotable parameter types with their super types when possible
#KT-6187 Fixed
2014-11-13 17:27:29 +03:00
Alexey Sedunov c487cc7838 Create From Usage: Do not generate unnecessary/skip necessary empty lines 2014-11-13 17:27:24 +03:00
Alexey Sedunov 2e7cbab453 Create From Usage: Create package by reference expression/type reference 2014-11-13 16:43:12 +03:00
Alexey Sedunov fd4fa9a042 Create Class From Usage: Allow user to choose a target directory when creating class in the specific package 2014-11-13 16:43:06 +03:00
Natalia Ukhorskaya a9f9049223 Evaluate expression: fix exception for breakpoints on object header (for accessor methods) 2014-11-13 09:47:11 +03:00
Natalia Ukhorskaya 0a97481184 Mark lineNumbers for synthetic accessors 2014-11-13 09:47:10 +03:00
Valentin Kipyatkov eb25e47a51 Temporarily disabled optimization for faster non-imported extensions completion because it causes duplicated items, added test for this problem 2014-11-12 22:23:20 +03:00
Valentin Kipyatkov b13c0f2248 Renamed methods 2014-11-12 21:57:50 +03:00
Valentin Kipyatkov 5f5d2de5e0 Moved KindFilter and DescriptorKindExclude out of JetScope, moved constants as well and renamed them 2014-11-12 21:57:49 +03:00
Valentin Kipyatkov 8e992abe58 Minor 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov 95b3885aa5 Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov 6711567d9a More correct types filtering in code completion 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov 2512962134 Faster completion of non-imported extensions 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov c040c53f51 Optimization to not fetch objects in separate pass 2014-11-12 21:25:00 +03:00
Valentin Kipyatkov 19f9f27675 No double-filtering 2014-11-12 21:25:00 +03:00
Valentin Kipyatkov fe5dbbf9b3 More efficient code completion + fixed a few bugs 2014-11-12 21:25:00 +03:00
Valentin Kipyatkov f31832dea9 Smart completion optimization 2014-11-12 21:25:00 +03:00
Valentin Kipyatkov 6f2da4930a Descriptor kind filter replaced with bit mask 2014-11-12 21:24:59 +03:00
Valentin Kipyatkov 5f4220427f Smart completion does not need SAM-constructor in declarations from scope + it's present even when not imported 2014-11-12 21:24:59 +03:00
Valentin Kipyatkov c7527e4a4d Name filters filter by Name instead of String 2014-11-12 21:24:57 +03:00
Valentin Kipyatkov 78169f73a6 Completion to pass nameFilter to getDescriptors() calls 2014-11-12 21:24:56 +03:00
Valentin Kipyatkov 1983a9f3da Replaced usages of JetScope.getAllDescriptors() with JetScope.getDescriptors() (where makes sense) 2014-11-12 21:24:55 +03:00
Natalia Ukhorskaya 12b4fc7ad9 Resolve codeFragments with context of JetClass 2014-11-12 15:13:37 +03:00
Natalia Ukhorskaya a86e0336c9 Fix EA-60377 - readAccess for isSubclass 2014-11-12 11:52:41 +03:00