-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Bind command for explorer.newFolder #7843
Conversation
Are there steps to trigger these commands by using this extension? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
explorer.newFolder
works well for me
but after triggering workbench.view.explorer
I've got the following error in the browser's console:
rpc-protocol.ts:376 Uncaught (in promise) TypeError: Converting circular structure to JSON
--> starting at object with constructor 'SplitPanel'
| property '_layout' -> object with constructor 'ViewContainerLayout'
--- property '_parent' closes the circle
at JSON.stringify (<anonymous>)
at Function.push.../../packages/plugin-ext/lib/common/rpc-protocol.js.MessageFactory.replyOK (rpc-protocol.ts:376)
at rpc-protocol.ts:231
Created sample plugin, that simply calls Theia's internal command Created following depends on issue. |
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
05356a7
to
2d14f55
Compare
Updated description w/ PR's title. Excluded bind for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked it again with Red Hat Didact extension. Create Folder command works well.
What it does
This changes proposal adds bind for VS Code built-in command
explorer.newFolder
[1].[1] microsoft/vscode/src/vs/workbench/contrib/files/browser/fileActions.ts#L112-L131
Signed-off-by: Vladyslav Zhukovskyi vzhukovs@redhat.com
How to test
Needed for Didact extension.
Review checklist
Reminder for reviewers