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
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
Natalia Ukhorskaya
3287744415
Add common JetElement for imports: JetImportList
2013-10-25 13:55:40 +04:00
Natalia Ukhorskaya
796dad5798
Do not expand imports after optimizing
2013-10-25 11:05:02 +04:00
Alexey Sedunov
93e906ef5f
Filter usages in import directives
2013-10-23 23:00:30 +04:00
Alexey Sedunov
c3c0925de1
Add support of local declarations
2013-10-23 23:00:28 +04:00
Alexey Sedunov
46b14784e1
Fixed KT-4105: Can't find usages of private function
2013-10-23 23:00:27 +04:00
Nikolay Krasko
669104538d
Tests for shadowing and redeclaration
2013-10-23 20:43:38 +04:00
Alexey Sedunov
cf8555349e
Fix detection of constructor calls and delegates in supertype specifiers
2013-10-23 14:19:47 +04:00
Alexey Sedunov
12a460a145
KT-4043 "Find usages ignores class names usages as class objects"
2013-10-21 17:18:46 +04:00
Svetlana Isakova
14cff91fed
improved diagnostic message test
...
added ability to denote required message type (text or html)
2013-10-16 20:41:25 +04:00
Svetlana Isakova
2f02427c57
changed DiagnosticMessageTest
...
added test arguments to test data
2013-10-16 20:41:23 +04:00
Svetlana Isakova
4666b0f50c
refactoring: removed logic of rendering 'expected type mismatch' error from constraint system
2013-10-16 19:51:53 +04:00
Svetlana Isakova
731efd0781
added declared bound constraints directly to constraint system
...
added status 'hasViolatedUpperBound'
class TypeConstraintsImpl now stores constraint position for each constraint,
so we can filter out bound constraints and find out if the system is successful without them
2013-10-16 19:51:53 +04:00
Nikolay Krasko
0c49b91098
Complete functions with single parameter on typing '{'
...
For KT-4049 When completing a function that takes a lambda and immediately typing '{', swallow the '{'
#KT-4049 Fixed
2013-10-16 18:56:51 +04:00
Alexey Sedunov
71a0d4cc45
KT-4018 When moving members move comments too
2013-10-15 18:44:00 +04:00
Alexey Sedunov
28b3db53fe
Fix irregular PSI structure for classes without body
2013-10-15 18:43:59 +04:00
Alexey Sedunov
bdc908d45f
Fix search of package-level function/property usages in Java code
2013-10-15 18:43:57 +04:00
Andrey Breslav
f05f3f5686
Let the user know that class object bounds are not supported
...
KT-4080 Code analisys show all good, but got compile error
#KT-4080 Fixed
2013-10-15 14:45:22 +04:00