class EditorHandler
implements IEditorHandler
import { EditorHandler } from "https://deno.land/x/smx@v0.6.0/src/modules/editor/handler.ts";
Constructors
new
EditorHandler(unnamed 0: { settings: ISettingsManager; config: IConfigHandler; runner: IRunProcess; })Methods
edit(path: string, editor?: string): Promise<void>
get(name: string): EditorConfig | undefined
getDefault(type: "folder" | "file" | "diff"): EditorConfig | undefined
setDefault(): Promise<void>
editor: string,
type: "folder" | "file" | "diff",
_: boolean,