Pavel V. Talanov
dfef9aa6e9
Select first new parameter in JetChangeSignatureDialog by default
2013-11-12 14:15:50 +04:00
Pavel V. Talanov
3ddcf40518
Run "Add function parameter" fix silently if current usage is the only usage of the function
2013-11-12 14:15:49 +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
Pavel V. Talanov
967030e7c1
Minor: Fix message in JetBundle
2013-11-12 14:15:45 +04:00
Valentin Kipyatkov
a7f11e6852
Very initial implementation of smart completion
2013-11-11 21:46:05 +04:00
Nikolay Krasko
fa0c3e52c5
Generate out of block modification tests
2013-11-08 18:41:23 +04:00
Nikolay Krasko
2975198b4c
Attempt to simplify hashCode and equals login in JetLookupObject
2013-11-08 18:41:22 +04:00
Nikolay Krasko
3e94246c45
Add ability to use ctrl+click in decompiled kotlin files
2013-11-08 18:41:21 +04:00
Zalim Bashorov
98e9b387b6
JetCompiler (non JPS) -> K2JvmTranslatingCompiler;
...
K2JSCompiler (non JPS) -> K2JsTranslatingCompiler.
2013-11-08 18:14:22 +04:00
Zalim Bashorov
1409dd7812
Refresh FS after compilation for js and sourcemap files.
2013-11-08 18:14:21 +04:00
Zalim Bashorov
4cea0a3de4
Fix build after change api
2013-11-08 18:14:21 +04:00
Zalim Bashorov
5dd4eb780e
Extracted OutputFileFactory interface.
2013-11-08 18:14:20 +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
Alexey Sedunov
cfaeca88bf
Reuse property search for parameters
2013-11-07 20:44:23 +04:00
Alexey Sedunov
58f7a3efbf
Refactor search helpers: replace some classes with traits
2013-11-07 20:44:23 +04:00
Andrey Breslav
fd73dc3dce
Fix tests after stdlib rearrangement
2013-11-07 13:56:17 +04:00
Alexey Sedunov
9038798e55
Update to IDEA 132.947 EAP
2013-11-07 13:33:17 +04:00
Alexey Sedunov
dfef1a37ac
Add comments to usage check functions
2013-11-06 14:26:39 +04:00
Alexey Sedunov
f40fb623a6
FindUsagesTest: Add overriding property without accessors
2013-11-06 14:26:38 +04:00
Alexey Sedunov
e2e8a02fbb
isConstructor optimization
2013-11-06 14:26:37 +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
60022ddb56
Rename FindUsagesTest
2013-11-06 14:26:35 +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
828f24406c
Move search helper options to constructor parameters
2013-11-06 14:26:32 +04:00
Alexey Sedunov
ec8eb97e0e
Disable override search for non-virtual properties
2013-11-06 14:26:31 +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
e1fa8628ec
Implement search helpers for Kotlin declarations
2013-11-06 14:26:26 +04:00
Alexey Sedunov
790fb2acff
Implement UsagesSearch
2013-11-06 14:26:26 +04:00
Alexey Sedunov
6502f21144
JetUsageTypeProvider: Eliminate SELECTOR type, replace class with object
2013-11-06 14:26:25 +04:00
Alexey Sedunov
657b4a164c
Translate find usage options to Kotlin
2013-11-06 14:26:24 +04:00
Alexey Sedunov
992c7055a5
Translate FindUsagesUtils to Kotlin
2013-11-06 14:26:23 +04:00
Alexey Sedunov
8ca3f6a1ad
Translate JetFindUsagesProvider to Kotlin
2013-11-06 14:26:22 +04:00
Alexey Sedunov
d491f0337e
Translate KotlinFindUsagesHandlerFactory to Kotlin
2013-11-06 14:26:21 +04:00
Erokhin Stanislav
bb6fd90bd9
JS backend: move StringBuilder to java.lang. Fix append return type.
2013-11-05 20:55:49 +04:00
Zalim Bashorov
1c1c138046
Update to IDEA 132.839 EAP
2013-10-30 19:37:14 +04:00
Pavel V. Talanov
3e205d162e
Formatting: exactly one space after if keyword
2013-10-29 21:03:39 +04:00
Pavel V. Talanov
77d316902c
Formatting: exactly one space after for keyword
2013-10-29 21:03:38 +04:00
Andrey Breslav
ffd9b80f76
JavaClassDescriptor interface extracted
2013-10-29 14:21:55 +04:00
Nikolay Krasko
ec42bfd1b2
Don't ask for modules in disposed project
2013-10-25 21:01:35 +04:00
Nikolay Krasko
2b3a6b5f57
Prevent multiple declarations of update check when many files have changed
2013-10-25 21:01:02 +04:00
Andrey Breslav
3bb14c2d4e
Throwing FileComparisonFailure enables opening test data file in diff dialog right from the test console
2013-10-25 19:55:42 +04:00
Andrey Breslav
de64768b5c
Useless code removed
2013-10-25 19:55:42 +04:00
Andrey Breslav
720dcbbd0d
Useless code removed
2013-10-25 19:55:42 +04:00