Commit Graph

1477 Commits

Author SHA1 Message Date
Nikolay Krasko 7f657ead85 Fix preventing showing any methods in "Goto Symbols" by kotlin plugin 2013-11-28 19:23:26 +04:00
Andrey Breslav 1234e55e7e Expand statement templates whenever they are mentioned at the beginning of line 2013-11-28 17:57:46 +04:00
Valentin Kipyatkov 47d3e2e1bb Smart completion: this expressions added 2013-11-27 21:00:19 +04:00
Valentin Kipyatkov 29f7318f4f Refactored completion tests to support more flexible input file format 2013-11-27 21:00:19 +04:00
Valentin Kipyatkov 912fb904b8 Smart completion: declarations of type Nothing filtered out 2013-11-27 21:00:18 +04:00
Nikolay Krasko 1bde5a90a4 Add ability to rename java methods with usages in Kotlin 2013-11-27 15:50:46 +04:00
Nikolay Krasko 9bdb97bfe8 Test for renaming file name after class rename 2013-11-27 15:50:45 +04:00
Nikolay Krasko 3aaf90f8aa Test for renaming not base java method with base kotlin method 2013-11-27 15:50:45 +04:00
Nikolay Krasko 26d3168224 Test for KT-4100 'Imports doesn't change after java interface name refactoring'
#KT-4100 Fixed
2013-11-27 00:53:31 +04:00
Nikolay Krasko 722118772a Test for KT-3256 'Can't rename a Kotlin function from Java code'
#KT-3256
2013-11-27 00:53:31 +04:00
Nikolay Krasko a4203fac2f Add test for rename method produced from kotlin function 2013-11-26 19:20:01 +04:00
Nikolay Krasko 97c8e05984 KT-2836 Rename kotlin base function with overrides
#KT-2836 Fixed
2013-11-26 19:20:01 +04:00
Nikolay Krasko ce810d3a55 Generate error tip for rename kotlin package klass from java 2013-11-26 19:20:00 +04:00
Nikolay Krasko 76562f9aa5 KT-3255 Add ability to rename kotlin classes from java
#KT-3255 Fixed
2013-11-26 19:19:59 +04:00
Nikolay Krasko 87fac21310 Auto generate test for rename 2013-11-26 19:19:59 +04:00
Mikhael Bogdanov 868f4841be Inline keyword removal 2013-11-26 12:53:06 +04:00
svtk 8defeef050 made UNREACHABLE_CODE a warning instead of error 2013-11-22 18:57:59 +04:00
Alexey Sedunov 9f5ee13c20 Implement "Merge when" intention 2013-11-20 20:55:58 +04:00
Alexey Sedunov 6b971fa50c Implement custom TargetElementEvaluator KT-4190 #Fixed 2013-11-18 18:33:33 +04:00
Valentin Kipyatkov 3fe55c997f Smart completion: changed test data to use Any instead of Object 2013-11-18 17:54:09 +04:00
Valentin Kipyatkov acb5bb2b07 Smart completion: auto-casted types supported 2013-11-18 17:54:09 +04:00
Nikolay Krasko 74c321ba73 Test for absence static warnings 2013-11-15 19:41:26 +04:00
Nikolay Krasko 8f12db341e Remastering of documentation provider
- Remove whole file resolve
- Take already resolved element
- Get kotlin element behind the wrapper directly
- Remove outdated isKotlinDeclaration method
- More tests
2013-11-15 19:41:16 +04:00
Natalia Ukhorskaya bacf8b58f3 Update to 132.1071 2013-11-15 17:10:46 +04:00
Valentin Kipyatkov 2d3b0ffc0b Smart completion: offer class instantiating choice 2013-11-13 20:17:45 +04:00
Nikolay Krasko 80ab043d21 Tweak spacing in do-while 2013-11-13 19:08:53 +04:00
Nikolay Krasko dddde11c6a Configure spacing after 'while' in while statement 2013-11-13 19:08:52 +04:00
Nikolay Krasko 7587e8ffcb Insert space between ) and statement body 2013-11-13 19:08:51 +04:00
Nikolay Krasko c50804a3f3 Add spaces after ) and around 'else' in 'if' 2013-11-13 19:08:51 +04:00
Andrey Breslav c4ecb9663a Basic utility for rendering DataFlowValues 2013-11-13 14:36:34 +04:00
Pavel V. Talanov f9a2b09a4e Add(Remove)ParameterQuickFix is not available for unmodifiable files 2013-11-12 14:15:57 +04:00
Pavel V. Talanov 3e97203f85 Check that target functions can be modified in JetChangeSignature 2013-11-12 14:15:56 +04:00
Pavel V. Talanov 959ab2b20c Enum class objects values and valueOf functions have kind SYNTHESIZED 2013-11-12 14:15:51 +04:00
Pavel V. Talanov 66cc9b2cc7 Show error hint when trying to refactor synthesized function 2013-11-12 14:15:48 +04:00
Pavel V. Talanov f032b6e236 Eliminate redundant descriptorToDeclaration call from factory for "Change signature" quick fixes 2013-11-12 14:15:47 +04:00
Pavel V. Talanov 8c95884ad2 Add new functionality to "Change signature" refactoring
Extract single point of entry for all change signature refactorings and fixes (remove parameter, add parameter)
Change signature now affects overriding functions as well
Ask the user whether he wants to refactor base function(s) or the selected one if appropiate
Fix a problem with descriptorToDeclaration in JetChangeSignatureHandler
Rename: JetFunctionPlatformDescriptor -> JetMethodDescriptor
2013-11-12 14:15:46 +04:00
Valentin Kipyatkov a7f11e6852 Very initial implementation of smart completion 2013-11-11 21:46:05 +04:00
Alexey Sedunov 1b8205273b Search constructor-declared properties together with class declarations 2013-11-07 20:44:25 +04:00
Alexey Sedunov 52ffd52a4e Implement "Find Usages" for value/type parameters 2013-11-07 20:44:25 +04:00
Andrey Breslav fd73dc3dce Fix tests after stdlib rearrangement 2013-11-07 13:56:17 +04:00
Alexey Sedunov f40fb623a6 FindUsagesTest: Add overriding property without accessors 2013-11-06 14:26:38 +04:00
Alexey Sedunov 78a7afe70e FindUsagesTest: Add usages of extensions for functions declared in objects 2013-11-06 14:26:36 +04:00
Alexey Sedunov bc9b2bf657 Add "Find Usages" tests for nested/inner classes and objects 2013-11-06 14:26:34 +04:00
Alexey Sedunov f99e6e6765 Fix usage type detection for static members of Java classes and members of nested classes 2013-11-06 14:26:33 +04:00
Alexey Sedunov 40900ac16c Reuse Java usage types 2013-11-06 14:26:32 +04:00
Alexey Sedunov a0e90f38a2 "Find Usages": add tests for Kotlin usages of Java declarations 2013-11-06 14:26:30 +04:00
Alexey Sedunov f41cfa2b8b "Find Usages": separate Kotlin and Java tests 2013-11-06 14:26:29 +04:00
Alexey Sedunov f1a7d707a0 Implement "Find usages" using UsagesSearch (classes, functions, properties) 2013-11-06 14:26:27 +04:00
Alexey Sedunov 6502f21144 JetUsageTypeProvider: Eliminate SELECTOR type, replace class with object 2013-11-06 14:26:25 +04:00
Erokhin Stanislav bb6fd90bd9 JS backend: move StringBuilder to java.lang. Fix append return type. 2013-11-05 20:55:49 +04:00