Alexey Sedunov
1d03f9f151
Fix caching of light class data for nested classes
2013-12-24 12:10:46 +04:00
Nikolay Krasko
bbf1dff818
KT-4158 Autopopup completion selects irrelevant keyword and confuses typing
...
#KT-4158 Fixed
2013-12-23 16:43:15 +04:00
Pavel V. Talanov
5408c6ea77
Conversion on copy paste:
...
Copy elements that are partially selected as text
2013-12-22 16:50:07 +04:00
Pavel V. Talanov
3a4b7e07f8
Conversion on copy paste:
...
Copy element as text in case it can't be converted
2013-12-22 16:50:05 +04:00
Pavel V. Talanov
ab19669c43
Conversion on copy paste:
...
Only convert elements that are wholly selected
2013-12-22 16:50:04 +04:00
Pavel V. Talanov
1464d1f7ad
Conversion on copy paste:
...
Introduce tests for conversion on copy paste
Don't insert additional end of line after each converted element (not needed since converter takes care of formatting)
Add test for some of the trivial cases of conversion on copy paste
2013-12-22 16:50:01 +04:00
Valentin Kipyatkov
914a566094
Smart completion: anonymous object creation + rewrote some code using LookupElementDecorator
2013-12-20 18:49:11 +04:00
Valentin Kipyatkov
9627a335c2
Smart completion: no items of unresolved types
2013-12-20 18:49:10 +04:00
Valentin Kipyatkov
24b68e7bdf
Completion: better replacement range calculation for both basic and smart completions
2013-12-19 16:07:46 +04:00
Valentin Kipyatkov
d28705a5ec
Smart completion to ignore context after the caret
2013-12-19 16:07:46 +04:00
Valentin Kipyatkov
843a005aec
Fixed KT-4318 Keyword should be selected in completion if there's exact match
...
#KT-4318 Fixed
2013-12-17 21:17:56 +04:00
Nikolay Krasko
dbc1f6b42c
Fix autopopup completion with irrelevant variants after typing 'f' suffix for float number
...
#KT-4312 Fixed
2013-12-17 17:43:13 +04:00
Natalia Ukhorskaya
7a9d822070
'As' function for constants
2013-12-17 15:00:30 +04:00
Alexey Sedunov
e13abf2444
KT-4274 #Fixed
2013-12-17 01:41:19 +04:00
Valentin Kipyatkov
f22ba73a92
Smart completion: enum members to be listed after qualifier too
2013-12-16 21:23:09 +04:00
Valentin Kipyatkov
db77eb54d7
Smart completion: java static members, enum members and class object members added
2013-12-16 21:23:08 +04:00
Nikolay Krasko
372106b914
KT-1043 'Implement Methods' throws a ClassCastException
...
#KT-1043 Obsolete
2013-12-16 19:39:42 +04:00
Svetlana Isakova
4c41d19eb1
interpret class in class object as static nested class
...
removed hack in TaskPrioritizer for import class from class object
2013-12-16 16:24:21 +04:00
Alexey Sedunov
fb831a9a2a
Add "Find Usages" tests for local classes/objects
2013-12-12 17:30:57 +04:00
Alexey Sedunov
8981208ac9
Rename "Find Usages" tests
2013-12-12 17:30:57 +04:00
Alexey Sedunov
72c7399df1
Index object declarations as inheritors
2013-12-12 17:30:50 +04:00
Nikolay Krasko
c0df908f0e
Rewrite test to kotlin and add use Json format for tests configure
2013-12-12 15:41:11 +04:00
Svetlana Isakova
46b77f4472
don't report unnecessary smart cast on receiver
2013-12-11 19:53:50 +04:00
Andrey Breslav
6df3a3042c
Properly handle the case of backing field access qualified with 'this' reference
2013-12-05 13:28:40 +04:00
Andrey Breslav
11fcd64949
Mark expressions for correct recognition by "unreachable code"
2013-12-05 13:02:17 +04:00
Nikolay Krasko
1675e45aee
Enable basic spell check for Kotlin
...
#KT-4272 Fixed
2013-12-02 20:28:38 +04:00
Alexander Udalov
49f8f0af92
Fix highlighting for objects and enum entries
...
JetObjectDeclarationName is now highlighted with KOTLIN_CLASS
2013-12-02 19:56:14 +04:00
Alexander Udalov
e48c91bba4
Fix find usages classification for objects
...
Objects/enum entries are treated as variables as before. Test data for private
object in superclass was changed because now the object (as opposed to the
property) is no longer resolved due to KT-354
2013-12-02 19:56:13 +04:00
Alexander Udalov
e3fffa6b0b
Fix decompiled data for objects and enum entries
...
Also prettify it for enum entries: output only names
2013-12-02 19:56:09 +04:00
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