We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there any option to run another extension command inside cmd? For example,
cmd
{ "match": "\\.dart", "cmd": "dart-import.fix" }
where dart-import.fix is the command from another extension
dart-import.fix
The text was updated successfully, but these errors were encountered:
Are you aware of the built-in vscode feature, codeActionsOnSave?
codeActionsOnSave
// settings.json { "editor.codeActionsOnSave": { "source.fixAll": true }, }
You can also scope it to a particular language, something like:
"[dart]": { "editor.codeActionsOnSave": { "dart-import.fix": true } },
Sorry, something went wrong.
I am aware of that but I cannot use it to trigger a command from another extension. Basically on save it should trigger this extension - https://github.com/luanpotter/vscode-dart-import
dart-import.fix or source.fixAll does not work like the extension does.
source.fixAll
My question is, is there any way trigger this external extension command on save instead of calling it seperately
No branches or pull requests
Is there any option to run another extension command inside
cmd
?For example,
where
dart-import.fix
is the command from another extensionThe text was updated successfully, but these errors were encountered: