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
Andrey Breslav
c0fce6becd
KT-4209 Make constructors of primitives private
...
#KT-4209 Fixed
2013-11-18 15:09:56 +04:00
Nikolay Krasko
dd44478c2f
Remove "StaticMethodReferencedViaSubclass" warning mute
2013-11-15 19:41:28 +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
Nikolay Krasko
3d3464d163
Wrap cls-methods with kotlin prototypes
2013-11-15 19:41:11 +04:00
Nikolay Krasko
6aeaceae8d
Refactoring: Rename JetClsMethod -> JetPsiMethodWrapper
...
Source element in Kotlin mustn't be wrapped into read-only class-elements
2013-11-15 19:05:47 +04:00
Natalia Ukhorskaya
bacf8b58f3
Update to 132.1071
2013-11-15 17:10:46 +04:00
Alexander Udalov
76e347e530
Minor, rename method
2013-11-14 19:11:20 +04:00
Alexander Udalov
a35f285bcf
Disable "UseOfSystemOutOrSystemErr" inspection in tests
2013-11-14 19:11:18 +04:00
Alexander Udalov
01d8e658aa
Regenerate tests
2013-11-14 19:10:34 +04:00
Andrey Breslav
bd244e0460
Type fixed in the file name
2013-11-13 21:42:02 +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
5e3909ba87
Regenerated
2013-11-13 14:39:16 +04:00
Andrey Breslav
c4ecb9663a
Basic utility for rendering DataFlowValues
2013-11-13 14:36:34 +04:00
Evgeny Gerashchenko
a608612e6b
KT-4183 BuiltInsReferenceResolver$1 startup activity is slow
...
#KT-4183 in progress
2013-11-12 15:50:53 +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
f4c8655fa2
Use DescriptorToDeclarationUtil to get function declaration in JetChangeSignature
2013-11-12 14:15:55 +04:00
Pavel V. Talanov
53acd2c837
Minor: add @NotNull annotations
2013-11-12 14:15:54 +04:00
Pavel V. Talanov
a422523cfb
Fix an exception that can be thrown if quickfix still exists but psi is no longer valid
2013-11-12 14:15:53 +04:00
Pavel V. Talanov
c1d5851060
Minor: fix typo
2013-11-12 14:15:53 +04:00
Pavel V. Talanov
49a7c47276
Prettify code
2013-11-12 14:15:52 +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
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