Conversation
|
@dhruvmanila -- I feel like, ideally, the Quick Fix actions would still be available here. What do you think? |
|
Yeah, I think that's correct but we need to make sure that it's only available as a Quick Fix actions and not Source code actions. So, the |
|
@dhruvmanila - Do you think that should apply always for |
By This actually reminds me of It seems that the ES Lint extension doesn't apply the code actions if it's negated in the above list but it still shows the diagnostics and provides code actions to fix it manually. This manual application also includes the "Fix all" code action. So, it's only the code actions on save where it's excluded. I think this is an ideal behavior from an editor perspective and the "manual" / "automatic" invocation of code actions can be known by the server as it's encoded in the request payload. |
|
Yeah, I think we want something like |
|
I guess that's right, we cannot use the existing |
|
Yeah, sounds right to me. So we'd need both a setting in |
|
Opened #12709 to keep track of this. |
Summary
It's common for users to want to disable
F401fixes in the editor. Otherwise, imports you just added get removed on-save. I think we should add this as a first-class editor setting.