Describe the Bug
Pyrefly advertizes support for source.fixAll code action in the initialize response:
{
"capabilities": {
"callHierarchyProvider": true,
"codeActionProvider": {
"codeActionKinds": [
"quickfix",
"refactor.extract",
"refactor.rewrite",
"refactor.delete",
"refactor.move",
"refactor.inline",
"source.fixAll"
]
},
},
// ...
}
This should actually be source.fixAll.pyrefly which then would allow the editor to only target purefly-specific fixes with:
"editor.codeActionsOnSave": {
"source.fixAll.pyrefly": true
},
Otherwise it's only possible to use:
"editor.codeActionsOnSave": {
"source.fixAll": true
},
which then can trigger fixes from other servers that might be running on the file.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response
Describe the Bug
Pyrefly advertizes support for
source.fixAllcode action in theinitializeresponse:{ "capabilities": { "callHierarchyProvider": true, "codeActionProvider": { "codeActionKinds": [ "quickfix", "refactor.extract", "refactor.rewrite", "refactor.delete", "refactor.move", "refactor.inline", "source.fixAll" ] }, }, // ... }This should actually be
source.fixAll.pyreflywhich then would allow the editor to only target purefly-specific fixes with:Otherwise it's only possible to use:
which then can trigger fixes from other servers that might be running on the file.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response