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

Make the Explorer Level "Create File" and "Create Folder" available so that keybindings can be assigned #13223

Closed
garethfentimen opened this issue Oct 4, 2016 · 2 comments
Assignees
Labels
file-explorer Explorer widget issues

Comments

@garethfentimen
Copy link

  • VSCode Version: 1.5.3
  • OS Version: Win10

This is more of a feature request. In https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/files/browser/fileActions.ts
line 600 there is a class called CreateFileAction. I have noticed this is used in the solution explorer class.

There is a public ID, but when trying to assign a keybinding to this action I get a warning.
http://puu.sh/rxN5l/673879404b.png

command "workbench.files.action.createFileFromExplorer" not found

Would it be possible to make it available?

@Tyriar Tyriar added the file-explorer Explorer widget issues label Oct 5, 2016
@bpasero
Copy link
Member

bpasero commented Oct 5, 2016

#4557

@bpasero bpasero closed this as completed Oct 5, 2016
@bpasero
Copy link
Member

bpasero commented Jan 31, 2017

This is actually already possible for a while via:

  • workbench.action.files.newFile
  • workbench.action.files.newFolder

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

3 participants