Skip to content
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

Implement override def completions. #570

Merged
merged 1 commit into from Mar 18, 2019
Merged

Conversation

olafurpg
Copy link
Member

This commit implements a new completion feature to override methods from
a supertype.

new Iterable[Int] {
  // before completion
  def iterat<COMPLETE>
  // after completion
  def iterator: Iterator[Int] = ???
}

Fixes #540

2019-03-18 12 48 11

This commit implements a new completion feature to override methods from
a supertype.

```scala
new Iterable[Int] {
  // before completion
  def iterat<COMPLETE>
  // after completion
  def iterator: Iterator[Int] = ???
}
```
@olafurpg olafurpg mentioned this pull request Mar 18, 2019
@olafurpg olafurpg merged commit eed14e2 into scalameta:master Mar 18, 2019
@olafurpg olafurpg deleted the auto-import branch March 18, 2019 12:53
@jvican
Copy link
Contributor

jvican commented Mar 18, 2019

I'm excited about this change. It is improving on the state-of-the-art support that IntelliJ has for completing/overriding members in definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement auto-import
2 participants