- addCommands(
commands: CommandRegistry,
settingRegistry: ISettingRegistry,
trans: IRenderMime.TranslationBundle,
id: string,
isEnabled: () => boolean,
tracker: WidgetTracker<
IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
>,
defaultBrowser: FileBrowser,
extensions: IEditorExtensionRegistry,
languages: IEditorLanguageRegistry,
consoleTracker: null | IConsoleTracker,
sessionDialogs: ISessionContextDialogs,
shell: IShell,
): void Returns void
Wrapper function for adding the default File Editor commands