Skip to content

Implement override def completions.#570

Merged
olafurpg merged 1 commit intoscalameta:masterfrom
olafurpg:auto-import
Mar 18, 2019
Merged

Implement override def completions.#570
olafurpg merged 1 commit intoscalameta:masterfrom
olafurpg:auto-import

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