Nikolay Krasko
33240f167d
Add else entry for when quick fix
2012-10-25 18:55:52 +04:00
Andrey Breslav
b5385788a3
Don't generate UNNECESSARY_SAFE_CALL on variables of generic type <T: Any?>
2012-10-25 17:05:28 +04:00
Natalia.Ukhorskaya
cacb2a6761
Change tooltip message for deprecated items
2012-10-24 11:56:43 +04:00
Natalia.Ukhorskaya
37288a337b
#KT-2981 Fixed Show deprecated items after not deprecated in completion list
2012-10-23 13:21:59 +04:00
Nikolay Krasko
a3b86f5f8b
Special behaviour for space completion char on function literal insertion
2012-10-23 12:14:53 +04:00
Andrey Breslav
80039d8533
A warning for redundant '?' in types
2012-10-19 19:24:14 +04:00
Andrey Breslav
a7b6b34e29
Properly determine what classes to show in Kotlin completion:
...
Classes like Int and jet.Iterable should are not visible from Java
since they are erased at runtime. We call such classes non-physical,
they have to be added to completion manually.`
2012-10-18 19:57:18 +04:00
Natalia.Ukhorskaya
62d8153ada
Map java.land.Deprecated to jet.deprecated
...
Change testData for deprecated annotation
#KT-2947 Fixed
2012-10-18 19:14:04 +04:00
Nikolay Krasko
11da503c62
KT-2962 auto completion support for extension functions
...
#KT-2962 Fixed
2012-10-18 14:52:37 +04:00
Andrey Breslav
9387c974bd
Resolving references to builtins: first loading Unit.jet, and then the rest of the library
...
Test data fixed to get rid of jet.src directory
2012-10-17 14:38:22 +04:00
Andrey Breslav
ee5b50cb1b
Incorrect comparison to default bound fixed
2012-10-17 13:48:07 +04:00
Svetlana Isakova
e7cbff14ef
mark last parenthesis instead of value argument list
2012-10-16 20:14:52 +04:00
Svetlana Isakova
0d4d576fed
fixed exception in renderer for type inference error
2012-10-16 17:28:24 +04:00
Nikolay Krasko
04670d5d6e
Navigate to symbol for kotlin properties
2012-10-16 15:38:26 +04:00
Nikolay Krasko
440f781a93
Insert one additional space for function literals
2012-10-15 20:45:35 +04:00
Natalia.Ukhorskaya
20352b3810
Highlight references to deprecated things accordingly
...
#KT-2925 Fixed
2012-10-12 15:23:04 +04:00
Natalia.Ukhorskaya
7de6c30506
Add tests for ClassInheritorsSearch and AnnotatedMembersSearch
...
Add test for junit
2012-10-05 12:07:31 +04:00
Nikolay Krasko
86d8be76cb
EA-39162 Exception while trying to wrap method with default parameters
2012-09-27 18:52:58 +04:00
Alexander Udalov
38a42bdb79
Do not wrap built-in function in JetLightClass (EA-38770)
...
Built-in top-level functions are located in jet.namespace class.
JetStandardClasses.isStandardClass() now checks that a given fqName starts with
"jet.", instead of searching it in the standard scope, to prevent this kind of
errors in the future
2012-09-27 16:30:59 +04:00
Svetlana Isakova
a27abfe355
tests fixed
2012-09-24 15:24:21 +04:00
Svetlana Isakova
85f3dbf4fc
added annotations for Collections and Arrays
2012-09-24 14:18:04 +04:00
Andrey Breslav
2abe2e581d
AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull
2012-09-20 18:12:57 +04:00
Nikolay Krasko
8c50b0ce9d
KT-2424 Invoking completion adds unnecessary FQ name
...
#KT-2424 Obsolete
2012-09-20 16:50:16 +04:00
Nikolay Krasko
c7af6de16b
KT-1187 Wrong unnecessary completion
...
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Nikolay Krasko
b301bbe1f9
Don't activate top level completion in user types after dot
2012-09-20 16:50:08 +04:00
Nikolay Krasko
f1059271b2
Udate test framework for confidence tests. Move type directive to test files
2012-09-20 16:49:36 +04:00
Nikolay Krasko
1ba4e5aee0
KT-2128 Code completion after number with dot - don't complete on '.' only in ".."
...
#KT-2128 Fixed
2012-09-20 14:53:08 +04:00
Andrey Breslav
bd0eab5202
Tuple migration quick fix now appears only on tupels shorter than 4
...
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Andrey Breslav
3aaed57a66
Quick fix to replace sure() calls with !!
2012-09-18 20:27:09 +04:00
Andrey Breslav
36b5573f4d
A quick fix to replace tuples (expressions and types) by Unit, Pair and Triple
...
Changes are made to all files in the project
This quick-fix is to be removed in the next milestone
#KT-2358 In Progress
2012-09-18 20:27:09 +04:00
Andrey Breslav
5eaa5b396b
Removing usages of tuples from test data
...
(KT-2358 Drop tuples)
#KT-2358 In progress
2012-09-18 20:27:09 +04:00
Nikolay Krasko
5ff1c4007d
Don't complete keywords for upper case prefix
2012-09-18 19:54:20 +04:00
Nikolay Krasko
ab1095a84e
Formatter: remove unnecessary spaces in value and type parameter lists
2012-09-18 19:26:53 +04:00
Nikolay Krasko
e29182b2fb
Don't indent { for functions on new lines
2012-09-18 19:26:52 +04:00
Nikolay Krasko
72fb2c0d02
KT-2242 Fix {<space>(a: Int) -> a } case
...
#KT-2242 Fixed
2012-09-18 19:26:51 +04:00
Evgeny Gerashchenko
8aa13a301c
Added standard library reference resolver test cases with equals and toString functions.
2012-09-17 18:01:40 +04:00
Evgeny Gerashchenko
07259e7683
Added completion handler test with built-in extension function.
2012-09-17 18:01:15 +04:00
Evgeny Gerashchenko
c6a040a380
Removed sure() function from built-ins.
2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko
ee539e7da5
Replaced sure() invocation with '!!' operator in suggester test.
2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko
d825fb25a0
KT-1651 Navigation to enum constants doesn't work for libraries with and without source code
...
#KT-1651 fixed
2012-09-17 16:27:14 +04:00
Nikolay Krasko
8d551c8947
Don't create OutOfBlock modification inside mulitdeclarations
2012-09-14 21:19:59 +04:00
Evgeny Gerashchenko
2f89352d80
Added AUTOCAST mark when expression is used as for-loop iterable.
2012-09-14 16:12:16 +04:00
Nikolay Krasko
7ad0fd56f3
EA-39175 Completion fails if MultiDeclaration is present on top level in file
2012-09-13 21:06:18 +04:00
Nikolay Krasko
a95ba27b7d
KT-2758 Errors in lazy resolve: Unknown TYPEDEF
...
Unknown declaration: TYPEDEF: Unknown declaration: TYPEDEF
#KT-2758 Fixed
EA-38287 Fixed
2012-09-13 21:06:18 +04:00
Nikolay Krasko
40f559bcdc
Additional test for wrapping functions
2012-09-13 21:06:17 +04:00
Evgeny Gerashchenko
08fc54d969
Fixed test data after IDEA update.
2012-09-13 19:07:58 +04:00
Svetlana Isakova
0d1790a4f4
alternative signature applies for names
...
mapped in standard library (and differs from auto transformed Java signature)
e.g.Collections.copy(MutableList, List)
2012-09-13 17:28:31 +04:00
Natalia.Ukhorskaya
60bdae9d75
Prohibit body for annotation class
...
#KT-1886 Fixed
2012-09-13 16:27:48 +04:00
Alexander Udalov
954003872d
Do not generate erroneous classes in SIGNATURES mode
...
Add an assertion that this never happens in other modes.
(fixes EA-37034)
2012-09-13 16:20:25 +04:00
Alexander Udalov
ccfa5f8c2c
Do not lookup expressions in closures when building signatures
...
#KT-2764 Fixed
(EA-38857)
2012-09-12 21:16:47 +04:00