-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completion base support #22
Conversation
build.gradle
Outdated
@@ -23,6 +23,7 @@ allprojects { | |||
jcenter() | |||
mavenLocal() | |||
mavenCentral() | |||
maven { url '/home/ileasile/maven_repo/repo_1/maven' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
this.codeOnLoad = ArrayList() | ||
} | ||
|
||
fun receiver(receiver: KotlinReceiver): KotlinReplProperties { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need in setter methods, all fields in Kotlin are properties and optional getters/setters can be added if needed (https://kotlinlang.org/docs/reference/properties.html)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I know this, but this was auto-converted from Java :)
val receivers = listOf(kt) | ||
implicitReceivers.invoke(receivers) | ||
|
||
Unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to return Unit here
Completion works on TAB.
The following tokens are took int account: