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

option to include Scaladoc @group in outline view #138

Open
tpolecat opened this issue Jun 30, 2020 · 1 comment
Open

option to include Scaladoc @group in outline view #138

tpolecat opened this issue Jun 30, 2020 · 1 comment

Comments

@tpolecat
Copy link

tpolecat commented Jun 30, 2020

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

In large source files it's sometimes hard to find what I'm looking for. The outline view gives an alphabetic listing, which is great, but sometimes it would be nice to see functional groupings.

Describe the solution you'd like

It would be nice if I had the option to see members within a class placed in sub-folders based on their @group Scaladoc tag, if any. Ungrouped members could be an an Ungrouped folder, as in Scaladoc. Metals could auto-detect this and only introduce group folders when a @group tag is present on at least one class member.

Search terms:

outline, group, scaladoc

@tgodzik
Copy link
Contributor

tgodzik commented Jul 6, 2020

Thanks for reporting! This might indeed be helpful in case of large files, as an alternative if you are using VS Code you can search through the outline using Go to Symbol in Editor:

symbol-search

Not 100% the same, but might be helpful in some cases.

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

2 participants