Hi,
I create a custom extension that uses build-in WorkspaceCommands.NEW_FILE command, my problem is that I do want to use the .txt extension when creating, Is there a quick method to use a custom file extension?
@wss you can re-implement the following method when extending the contribution in your custom extension:
@wss You don’t want to bind it as a new CommandContribution
, but to rebind/replace the original one:
rebind(WorkspaceCommandContribution).to(MyWorkspaceCommandContribution).inSingletonScope();
thanks, got it