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

Extract nested definition to the separate file #360

Open
kpodsiad opened this issue Oct 9, 2023 · 0 comments
Open

Extract nested definition to the separate file #360

kpodsiad opened this issue Oct 9, 2023 · 0 comments

Comments

@kpodsiad
Copy link
Member

kpodsiad commented Oct 9, 2023

Is your feature request related to a problem? Please describe.

It is possible to extract toplevel definition to the separate file e.g. case class, but it's not possible for the nested definition.

Describe the solution you'd like

What I'd like to do is to extract nested definition like the following

object X {
  trait Foo
}

Describe alternatives you've considered

do it manually or use Intellij ;)

Additional context

No response

Search terms

code action, extract

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

No branches or pull requests

1 participant