Yan Zhulanow
bc727a170b
Add 'operator' keyword
2015-09-23 21:25:51 +03:00
Denis Zharkov
67486b867b
Get rid of inlineOptions usages in IDE tests
2015-09-23 12:18:12 +03:00
Denis Zharkov
02b64ce1ed
Parse const as soft modifier keyword
2015-09-23 08:20:56 +03:00
Dmitry Kovanikov
e26fe0b080
Disable completion in repl
2015-09-22 21:11:56 +03:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Alexey Sedunov
8603a36404
IDEA 142.4859.6: Invalidate library cache in setUp() to prevent access to
...
ClsFiles invalidated by the previous test
2015-09-21 18:07:44 +03:00
Ilya Gorbunov
92e66b0d81
Fix deprecations in testData: smart completion and find usages
2015-09-19 04:33:31 +03:00
Stanislav Erokhin
40c7c14aa7
Minor. Use util function getResolutionScope()
2015-09-18 21:00:23 +03:00
Stanislav Erokhin
b51edf9004
Fixed completion for package, import directive and user type.
2015-09-18 21:00:22 +03:00
Stanislav Erokhin
81934b75c2
Suppressed inserting of package import from ImportInsertHelperImpl
2015-09-18 21:00:22 +03:00
Stanislav Erokhin
8efbf4fc32
Fixed testdata -- removed package import
2015-09-18 21:00:20 +03:00
Valentin Kipyatkov
f2b67966ce
EA-72489
...
#EA-72489 Fixed
2015-09-18 15:44:17 +03:00
Denis Zharkov
9c4564a5a6
Get rid of deprecated annotations and modifiers in project code
2015-09-18 09:34:27 +03:00
Denis Zharkov
daa2c8372d
Do not parse '@' as a part of modifier
2015-09-18 09:34:25 +03:00
Mikhail Glukhikh
65b77558a1
Data flow value converted to Kotlin
2015-09-16 16:56:45 +03:00
Mikhail Glukhikh
22229af930
Annotation / modifier checking for setter parameters / for variables / multi declarations, tests, relevant test changes #KT-9145 Fixed
2015-09-16 09:51:37 +03:00
Nikolay Krasko
3d3f64cc7b
Use non-blocking lazy values in completion
2015-09-12 15:16:13 +03:00
Pavel V. Talanov
f673852d98
Test completion of multifile facades in java
2015-09-09 21:22:07 +03:00
Pavel V. Talanov
4106a0d736
Test for completing unimported file facade
2015-09-09 21:21:17 +03:00
Pavel V. Talanov
daaefcc7fd
Test completion of single file facades in java
2015-09-09 21:20:35 +03:00
Denis Zharkov
c449c0d080
Deprecate inlineOption in favor of crossinline modifier
2015-09-09 12:35:19 +03:00
Denis Zharkov
fc447e2d2f
Parse some builtin annotations as modifiers
...
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway
Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00
Valentin Kipyatkov
55558e2969
Use ConstraintSystem.getPartialSubstitutor to get more correct substitution
2015-09-07 19:27:07 +03:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Yan Zhulanow
add13cae82
lateinit modifier on property
2015-09-05 00:54:18 +03:00
Valentin Kipyatkov
48bccab31e
Minor changes on code review
2015-09-04 23:27:38 +03:00
Valentin Kipyatkov
fe3e9341a1
Smart completion: no instantiation of anonymous object with uninferred type arguments in code
2015-09-04 23:27:37 +03:00
Valentin Kipyatkov
40de063ebd
Smart completion for generic class instantiation to not insert explicit type arguments (for they'll probably be inferred from the expected type)
2015-09-04 23:27:37 +03:00
Valentin Kipyatkov
f470fec840
"return emptyList()" & "return emptySet()" in completion
2015-09-04 23:27:37 +03:00
Valentin Kipyatkov
6dca9a4558
Auto-popup completion remebers cancellation for parameter name/type completion only
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
997aef8fee
Smart completion to work when some of previous arguments do not match
...
#KT-8400 Fixed
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
7663793e3d
Smart completion to work when some of previous arguments have errors (+ fixed testAfterEmptyArgument broken by previous changes)
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
b11f47ec33
Removed unused parameter
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
8859fd395d
Simplified code
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
db4c163539
More correct named arguments completion
2015-09-04 23:27:35 +03:00
Mikhail Glukhikh
eab288bdd7
annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
...
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Denis Zharkov
11fed1674e
Deprecate extension annotation in favor of Extension
2015-09-04 17:23:25 +03:00
Valentin Kipyatkov
14c2500261
Added a test
2015-09-03 15:55:54 +03:00
Valentin Kipyatkov
58e79037ed
Renamed tests
2015-09-03 15:55:54 +03:00
Stanislav Erokhin
5ded315cbb
Improved error reporting for candidates with wrong parameter count
2015-09-01 23:37:42 +03:00
Valentin Kipyatkov
e8dc9ede31
Implemented HiddenDeclaration annotation (doc-comment to be added!)
2015-08-29 10:54:59 +03:00
Stanislav Erokhin
4c7bafce45
Global replace JetScope to LexicalScope
2015-08-29 01:45:56 +03:00
Valentin Kipyatkov
a012fd0c7d
Minor changes after code review
2015-08-28 16:22:48 +03:00
Valentin Kipyatkov
02922f3f93
No parameter name&type completion for anonymous function
2015-08-28 16:22:48 +03:00
Valentin Kipyatkov
bd4f1c65c2
Insert type arguments by Tab too
2015-08-28 16:22:47 +03:00
Valentin Kipyatkov
9df3bb8a06
More correct sorting of parameter name&type suggestions in completion
2015-08-28 16:22:47 +03:00
Valentin Kipyatkov
7ef9a9d6d4
Better presentation
2015-08-28 16:22:47 +03:00
Valentin Kipyatkov
2de5229098
Additional item inserting lambda provided by completion when all parameters before the last are optional
2015-08-28 16:22:47 +03:00
Valentin Kipyatkov
dfe4f8e34f
Renamed parameters + slightly more correct logic
2015-08-28 16:22:46 +03:00