Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/smx/src/modules/editor/models.ts>IEditorHandler

Manage and sync scripts, configs and templates between computers
Latest
interface IEditorHandler
import { type IEditorHandler } from "https://deno.land/x/smx@v0.6.0/src/modules/editor/models.ts";

Methods

edit(path: string, editor?: string): Promise<void>
get(name: string): EditorConfig | undefined
setDefault(
editor: string,
type: "folder" | "file" | "diff",
saveToTarget: boolean,
): Promise<void>
getDefault(type: "folder" | "file" | "diff"): EditorConfig | undefined