Skip to content

case classes and companion objects #396

@Kelvin-Lee

Description

@Kelvin-Lee

lsif-java version: 0.7.2

Type of code: case classes

Expected behavior: Instantiations of case classes should reference the case class definition in precise code intelligence. This is consistent with IntelliJ behavior.

Actual behavior: If a companion object is not defined, code intelligence falls back to search-based code intelligence. If a companion object is defined, code intelligence references the companion object instead.

case class Test(a: String) {}
case class Test(a: String) {}
object Test {}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions