Commit Graph

6728 Commits

Author SHA1 Message Date
Valentin Kipyatkov 1912f5b919 writeImportToFile removed from interface 2015-02-12 18:18:03 +03:00
Valentin Kipyatkov 2d6ed5dd42 One more usage switched to use of new import insertion method 2015-02-12 18:18:03 +03:00
Valentin Kipyatkov 2d4b1d9219 Switched to use of new import insertion API in a test (but had to use a hack!) 2015-02-12 18:18:02 +03:00
Valentin Kipyatkov 8a64f7ae84 Removed utility not needed anymore 2015-02-12 18:18:02 +03:00
Valentin Kipyatkov b091eaa3cd Fixed KT-2483 "Add import" quick fix offers adding import to non-API class
#KT-2483 Fixed
2015-02-12 18:18:02 +03:00
Valentin Kipyatkov 546836d5dd Fixed bug with importing some of SAM-constructors and factory functions
#KT-3449 Fixed
2015-02-12 18:18:01 +03:00
Valentin Kipyatkov 2c5953dbe6 Dropped confusing method signature 2015-02-12 17:34:51 +03:00
Valentin Kipyatkov e57799ca00 KT-3521 Import suggestions icons are always classes
#KT-3521 Fixed
2015-02-12 17:34:51 +03:00
Valentin Kipyatkov 8f7cf38e67 Switched to use of new method for import insertion 2015-02-12 17:34:51 +03:00
Valentin Kipyatkov 20c62a2835 *-imports inserted by default in non-test mode 2015-02-12 17:34:50 +03:00
Valentin Kipyatkov 4fff1f44bb Fixed bug in import insertion: it did not work with descriptors taken before modifications 2015-02-12 17:34:50 +03:00
Natalia Ukhorskaya 7a4b291c85 Debugger: implement compiling evaluator 2015-02-12 12:16:48 +03:00
Natalia Ukhorskaya 91e745704a Debugger: temporary copy some utils functions from idea 2015-02-12 12:16:47 +03:00
Natalia Ukhorskaya 3864f182da Debugger: return void value for empty code fragment 2015-02-12 12:16:46 +03:00
Natalia Ukhorskaya 187806d061 Debugger: remove usage of JDIEval during finding local variable in frame because it invokeMethod (loadClass) for find field type which invalidates frame 2015-02-12 12:16:46 +03:00
Natalia Ukhorskaya 3802957c15 Debugger: add tests for accessing outer class members from lambda inside inner class 2015-02-12 12:16:45 +03:00
Alexander Udalov 9f74d64d03 Avoid using FQNAME_TO_CLASS_DESCRIPTOR slice where module exists 2015-02-11 18:37:13 +03:00
Alexander Udalov 1e8d8d0a99 Cleanup FqNamesUtil.kt
Delete unused, move some utilities to fqNameUtil.kt in IDE, rewrite comments
2015-02-11 18:37:11 +03:00
Alexander Udalov 37ec103d6a Regenerate tests 2015-02-11 18:10:33 +03:00
Alexey Sedunov 3614a0a3de Quickfix Test (multifile): Check changes in extra files 2015-02-11 14:45:15 +03:00
Alexey Sedunov e75bd1b41b Create from usage: Support extension members for Java classes 2015-02-11 14:45:14 +03:00
Alexey Sedunov 9f3ba50dc5 Extract function: Do not report conflicts for fake overrides/delegates of the same callable declaration 2015-02-11 14:45:12 +03:00
Alexey Sedunov cef9996ba7 Intentions: Convert extension receiver to parameter and vice versa 2015-02-11 14:40:28 +03:00
Alexey Sedunov 7b6160b92f Change Signature: Make JetChangeSignatureData read-only and use JetDelegatingMethodDescriptor for refactoring configuration 2015-02-11 14:40:27 +03:00
Alexey Sedunov fecfc93e63 Change Signature: Support conversion between extension and non-extension functions (UI) 2015-02-11 14:40:27 +03:00
Alexey Sedunov 96866a108f Change Signature: Support conversion between extension and non-extension functions 2015-02-11 14:40:26 +03:00
Alexey Sedunov b31da56e09 Shorten References: Introduce shortening options 2015-02-11 14:40:25 +03:00
Alexey Sedunov e68481557e Shorten References: Support 'this' simplification 2015-02-11 14:40:22 +03:00
Alexey Sedunov 3a7ae4303a Change Signature: Translate JetParameterUsage to Kotlin 2015-02-11 14:40:21 +03:00
Alexey Sedunov a406068aa1 Change Signature: Rename JetParameterUsage.java to .kt to keep history 2015-02-11 14:40:20 +03:00
Valentin Kipyatkov b03b96f202 Fixed optimization in IterableTypesDetector which did not work from the beginning + make it work on FuzzyType 2015-02-10 16:13:51 +03:00
Valentin Kipyatkov b2275ae424 Better equals in FuzzyType + do not need to treat not used parameters as free 2015-02-10 16:13:51 +03:00
Valentin Kipyatkov 3c573d555a Smart completion: heuristic parameter types for some methods like Collection.contains() 2015-02-10 16:13:51 +03:00
Valentin Kipyatkov 3b6b9a45e2 Refactored code to avoid code duplication 2015-02-10 16:13:51 +03:00
Valentin Kipyatkov 6d06436c34 KT-6376 Smart completion should work after "in" and "!in"
#KT-6376 Fixed
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov 8f688ab7b7 Renamed 2015-02-10 16:13:50 +03:00
Valentin Kipyatkov eae244c308 Grouped test data for smart completion by folders 2015-02-10 16:13:50 +03:00
Valentin Kipyatkov fb7cd623ae Moves and renames 2015-02-10 16:13:50 +03:00
Valentin Kipyatkov a32029f1fc Smart completion for for loop range to use loop variable type if defined 2015-02-10 16:13:50 +03:00
Valentin Kipyatkov f057445f6e KT-5035 Smart completion should work after "in" keyword in for loop
#KT-5035 Fixed
2015-02-10 16:13:50 +03:00
Andrey Breslav a35c6b1566 AdditionalTypeCheckers introduced to factor out approximation logic later 2015-02-10 06:55:46 +01:00
Andrey Breslav 0e972acf8c == turned into a safe-call 2015-02-10 06:55:46 +01:00
Dmitry Jemerov 7827bbf64b Standard library documentation updates. 2015-02-09 19:19:29 +01:00
Alexander Udalov 339a38b69b Minor, use module.resolveTopLevelClass() utility 2015-02-09 21:14:03 +03:00
Alexander Udalov 4128655893 Report incomplete hierarchy error
This is the case when you reference a Java class in Kotlin whose superclass is
not resolved. Previously this fact was swallowed by LazyJavaClassDescriptor
leading to mysterious compilation errors

 #KT-5129 Fixed
2015-02-09 21:14:02 +03:00
Alexey Sedunov baaabecaf9 Shorten references: Do not process shortened elements since they become invalid (and can't be analyzed) 2015-02-09 13:02:05 +03:00
Valentin Kipyatkov c915d2b0cd Auto-import popup uses new algorithm for import insertion 2015-02-09 13:02:04 +03:00
Valentin Kipyatkov 0967ccb1cd Filtering out nested elements for reference shortening 2015-02-09 13:02:04 +03:00
Valentin Kipyatkov 033b626a08 Fixed test data 2015-02-09 13:02:04 +03:00
Valentin Kipyatkov 78be48ace8 Minor refactoring 2015-02-09 13:02:03 +03:00