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

Make autofill case class arguments more visible #7274

Open
tgodzik opened this issue Mar 6, 2025 · 1 comment
Open

Make autofill case class arguments more visible #7274

tgodzik opened this issue Mar 6, 2025 · 1 comment
Labels
improvement Not a bug or a feature, but something general we can improve presentation-compiler Something relating to the presentation compiler

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Mar 6, 2025

Describe the bug

I think this was actually reported multiple times that people wanted to use such a feature but weren't aware of it.

Currently it only shows up if you do write "auto...". Maybe we should show it more prominent or via code action so that it's easier to use.

Expected behavior

No response

Operating system

None

Editor/Extension

None

Version of Metals

v1.5.1

Extra context or search terms

No response

@tgodzik tgodzik added improvement Not a bug or a feature, but something general we can improve presentation-compiler Something relating to the presentation compiler labels Mar 6, 2025
@majk-p
Copy link
Member

majk-p commented Mar 7, 2025

Currently it only shows up if you do write "auto...". Maybe we should show it more prominent or via code action so that it's easier to use.

I didn't realize this feature existed either. Typing "auto" is not an intuitive DX to me. Code action sounds right. It could also show up when invoking "Trigger Sugges" (or however it's called when pressing ctrl+space).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Not a bug or a feature, but something general we can improve presentation-compiler Something relating to the presentation compiler
Projects
None yet
Development

No branches or pull requests

2 participants