Zulip Chat Archive
Stream: general
Topic: Unnecessary simpa code action
Bhavik Mehta (Oct 09 2024 at 15:05):
Can the unnecessary simpa linter be accompanied by a code action?
Ruben Van de Velde (Oct 09 2024 at 15:24):
Speaking of, didn't we have a code action for deprecated lemmas or is that just broken for me?
Yaël Dillies (Oct 09 2024 at 15:37):
We have two code snippets deprecated
and deprecated alias
(I encourage people to use them more!), and I believe @Damiano Testa wrote a deprecate to
code action
Damiano Testa (Oct 09 2024 at 15:43):
I had an update_deprecation
prototype, but it was round about the time when it looked like refactor
would get merged, so I left it hanging.
Damiano Testa (Oct 09 2024 at 15:43):
I can look into it again, if there is a desire for it.
Ruben Van de Velde (Oct 09 2024 at 16:25):
No, I meant when using the deprecated lemma
Eric Wieser (Oct 09 2024 at 16:30):
This feels like it should be part of core
Eric Wieser (Oct 09 2024 at 16:30):
If core says "did you mean foo
" when you write bar
, it should be providing an action to replace bar
with foo
at the same time.
Last updated: May 02 2025 at 03:31 UTC