Skip to content
New issue

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

Add codeActionsOnSave per language #103775

Closed
jramiresbrito opened this issue Aug 2, 2020 · 4 comments
Closed

Add codeActionsOnSave per language #103775

jramiresbrito opened this issue Aug 2, 2020 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@jramiresbrito
Copy link

When you work with multiple languages, there are also multiple linters that require some specific configurations. So in some cases I need to have codeActionsOnSave enabled and some cases don't.
But actually this setting does not support per-language configuration. Would be nice to have support on paste per-language as we have support on save.

feature-request

@ChildishGiant
Copy link

This'd also be nice for if I wanted to autosave when writing in one lang and not to in another.

@jrieken jrieken assigned mjbvz and unassigned jrieken Aug 10, 2020
@mjbvz mjbvz added feature-request Request for new features or functionality and removed feature-request Request for new features or functionality labels Aug 11, 2020
@mjbvz
Copy link
Contributor

mjbvz commented Aug 11, 2020

What is editor.codeActionsOnPaste? Does it come from an extension?

editor.codeActionsOnSave can already be set per language

@mjbvz mjbvz added the info-needed Issue requires more information from poster label Aug 11, 2020
@jramiresbrito
Copy link
Author

What is editor.codeActionsOnPaste? Does it come from an extension?

editor.codeActionsOnSave can already be set per language

You're right. But it would be nice to also set Actions on Paste. Having this available I would format the code on Paste.

@mjbvz
Copy link
Contributor

mjbvz commented Aug 11, 2020

Please open a feature request for running code actions on paste (there may already be an issue tracking this).

Closing this since it looks like codeActionsOnSave is working as expected

@mjbvz mjbvz closed this as completed Aug 11, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants