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

Show 'Source' actions in file explorer context menu #53180

Open
mjbvz opened this issue Jun 27, 2018 · 2 comments
Open

Show 'Source' actions in file explorer context menu #53180

mjbvz opened this issue Jun 27, 2018 · 2 comments
Assignees
Labels
editor-code-actions Editor inplace actions (Ctrl + .) feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities
Milestone

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jun 27, 2018

Feature request
Show source actions in the file explorer context menu. This would allow triggering actions such as organize imports on file

I believe this would require a new activation event and a new way to present source actions (instead of using the editor right click context menu)

Alternatives

  • A generic source context menu could be contributed by an extension

  • Or individual extensions could contribute new items to the file explorer context menu

@mjbvz mjbvz added the feature-request Request for new features or functionality label Jun 27, 2018
@mjbvz mjbvz added the editor-code-actions Editor inplace actions (Ctrl + .) label Jun 27, 2018
@mjbvz
Copy link
Contributor Author

mjbvz commented Jul 12, 2018

A few extensions that implement source code actions use the active text editor, which would means that their actions would not work here:

@mjbvz
Copy link
Contributor Author

mjbvz commented Mar 18, 2019

Needs more thought. We don't have nested context menus in the file explorer currently. It's also not clear how we would activate an extension for this (such as if you click on ts file without ever having started the TS extension previously)

May be better left up to an extension too

@mjbvz mjbvz modified the milestones: March 2019, Backlog Mar 18, 2019
@mjbvz mjbvz added the help wanted Issues identified as good community contribution opportunities label Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-code-actions Editor inplace actions (Ctrl + .) feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities
Projects
None yet
Development

No branches or pull requests

2 participants