What is the name of the feature that autocompletes parameter name and type if it exists in another function #21134
Answered by lnicola
ZylosLumen asked this question in Q&A
-
| Like if you have |
Beta Was this translation helpful? Give feedback.
Answered by lnicola Nov 26, 2025
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by ZylosLumen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Probably https://github.com/rust-lang/rust-analyzer/blob/45ae0abfedfa5b15d7825ac7e572287c5f45ab7f/crates/ide-completion/src/completions/fn_param.rs, according to the tests in https://github.com/rust-lang/rust-analyzer/blob/45ae0abfedfa5b15d7825ac7e572287c5f45ab7f/crates/ide-completion/src/tests/fn_param.rs.