Valentin Kipyatkov
4e283fd62f
Added a test
2015-04-02 10:17:01 +03:00
Valentin Kipyatkov
784b4a8aeb
Minor code changes after code review
2015-04-02 10:17:00 +03:00
Valentin Kipyatkov
b45b462bdf
Not imported extension functions are always listed in code completion
2015-04-02 10:17:00 +03:00
Valentin Kipyatkov
0243280668
Extension callables index is built correctly when using alias imports
2015-04-02 10:09:26 +03:00
Valentin Kipyatkov
5ba5618718
Extension callables index and its use in completion
2015-04-02 10:09:25 +03:00
Valentin Kipyatkov
36fb14a3fc
KT-6923 Completion shouldn't show private symbols from compiled code
...
#KT-6923 Fixed
2015-04-01 17:46:10 +03:00
Valentin Kipyatkov
3b110f8ef8
KT-7194 No completion for member extension function inside itself
...
#KT-7194 Fixed
2015-04-01 17:46:10 +03:00
Denis Zharkov
418034add3
Prohibit instance access before super call
...
- Before this change members just left unresolved as they were absent in the
specific scope named scopeForSecondaryConstructorHeaderResolution that
created just to prohibit such accesses.
- Now they are resolved the same way as other members, but diagnostic is
repored by in-place injected CallChecker
- Drop obsolete type of class scope
#KT-6995 Fixed
2015-03-27 20:15:00 +03:00
Mikhail Glukhikh
2bc124fa3d
IO second review: empty File.subPath() allowed, OutputStream.bufferedWriter() added,
...
normalize(), startsWith(), endsWith() rewritten, LinesStream --> LinesSequence,
File.replaceBytes() / replaceText() rolled back to writeBytes() / writeText(),
some exception messages formulated more clearly, refactorings, comments,
relativeTo() slightly optimized, additional tests
2015-03-24 19:52:19 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Stanislav Erokhin
639003b8a8
Allowed function parameter without type declaration in the parser
2015-03-12 17:11:52 +03:00
Denis Zharkov
50c8c6f68b
Basic completion within secondary constructors
...
body and delegation call
2015-03-11 17:45:26 +03:00
Valentin Kipyatkov
620fb8683b
KT-6191 Support completion for backing field
...
#KT-6191 Fixed
2015-03-06 22:04:17 +03:00
Valentin Kipyatkov
ffff6226b0
KT-6608 Code completion does not work after $ in string literals
...
KT-5070 Add braces when complete function in string templates
#KT-6608 Fixed
#KT-5070 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov
234555bb33
Fixed KT-6890 No autocomplete for receiver methods and properties in extension property
...
#KT-6890 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov
c5d21e1f45
Fixed KT-6673 Completion: no properties from outside class inside anonymous object
...
#KT-6673 Fixed
2015-03-06 22:04:15 +03:00
Valentin Kipyatkov
114bfbb2ad
Fixed bug with wrong completion in class declaration
2015-03-06 22:04:15 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Pavel V. Talanov
4370b50841
Minor: change rendering of class objects' types in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
ffabe19229
Prohibit accessing nested classes/objects of class object using class literal
...
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov
2053da91dd
Fix EXPRESSION_TYPE target for QualifierReceiver
...
Affected completion from objects in some cases
2015-02-20 14:47:36 +03:00
Pavel V. Talanov
1972c2f177
Update test data for various tests
...
Due to slight semantic changes after class object refactor
2015-02-16 15:38:37 +03:00
Dmitry Jemerov
49cecc35fd
completion in kdoc
2015-02-05 18:30:02 +01:00
Valentin Kipyatkov
eed0def1cb
Completion auto-popup works at the start of function literal
2015-01-14 20:57:28 +03:00
Valentin Kipyatkov
fde1890de9
More tests
...
#KT-1670 Fixed
#KT-2690 Fixed
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov
ec1541a692
No completion auto-popup where parameter name can be
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov
000cde3f7f
KT-6225 Completion of annotations for method parameters
...
#KT-6225 Fixed
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov
ddd63d69e9
KT-6442 Completion of inner class name contains outer name
...
#KT-6442 Fixed
2014-12-29 17:27:28 +03:00
Valentin Kipyatkov
9f6d32f1f6
Fixed EA-63622 - IAE: FqName.validateFqName
2014-12-24 15:48:42 +03:00
Valentin Kipyatkov
91220faf06
KT-6122 Code completion in when in enum extension methods suggests non-qualified enum entry names
...
#KT-6122 Fixed
2014-12-24 15:48:42 +03:00
Natalia Ukhorskaya
449ebc35ef
Debugger: add ability to evaluate expressions on closing bracket
2014-12-23 14:40:25 +03:00
Valentin Kipyatkov
311a3a75c8
Code completion: do not list instance members from context with no instance
...
#KT-6388 Fixed
#KT-4422 Fixed
#KT-5516 Fixed
2014-12-22 18:26:03 +03:00
Valentin Kipyatkov
6ec10b9b6b
Correct completion of nested/inner classes after dot
...
#KT-1889 Fixed
2014-12-18 15:48:27 +03:00
Valentin Kipyatkov
bdf7455578
KT-5986 No code completion for second type argument of HashMap instantiation
...
KT-6406 Code completion in type argument position should not include functions and variables
#KT-5986 Fixed
#KT-6406 Fixed
2014-12-18 15:47:59 +03:00
Valentin Kipyatkov
e9f1ae5886
More clear test data format
2014-12-18 15:47:59 +03:00
Valentin Kipyatkov
cb5c12cda3
Completion of object's in type position - they can be used there
2014-12-18 15:47:59 +03:00
Natalia Ukhorskaya
73d62902d0
Debugger: use partialBodyResolve. Don't compete variables defined after context element
2014-12-12 13:42:35 +03:00
Stanislav Erokhin
d334f3b31c
Fix completion for private_to_this.
2014-12-08 18:24:30 +03:00
Valentin Kipyatkov
de51948883
The test was not correct
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
dfd5e773df
extensionsUtils.kt uses FuzzyType + more correct treatment of receiver nullability there
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
a40db1e794
Completion: for extension functions unsubstituted receiver type shown
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
1d288e6dcc
Completion: multiple extension methods with different substitutions may be shown
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
2c08b3e229
Extension methods shown with type arguments substituted in completion list
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
3df3e57b05
Added tests
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
05bb32545f
Fixed all members are grayed in global context
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
72ff719001
Completion: added package name for global functions/properties in the list
2014-12-03 19:01:48 +03:00
Valentin Kipyatkov
9dc6a82fef
More clear code + better test
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
6502c44928
Immediate extension members are correctly detected for platform types
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
acfd308a7e
Code completion: graying members after dot completion for nullable value
2014-12-03 19:00:57 +03:00
Natalia Ukhorskaya
b056fd7e2e
Add test for completion with runtime type cast
2014-12-03 12:49:38 +03:00