Add completion, browser integration, and workspace improvements
This commit is contained in:
@@ -15,6 +15,12 @@ export interface TerminalMount {
|
||||
export type FormulaErrorCode = "#ERROR!" | "#REF!" | "#VALUE!" | "#NAME?" | "#DIV/0!" | "#CYCLE!" | "#NUM!" | "#LIMIT!";
|
||||
export type FormulaResult = { formula: string; text: string; value?: number; error?: FormulaErrorCode };
|
||||
export interface Contributions {
|
||||
browser: {
|
||||
newTab?(): Promise<void>;
|
||||
mountSettings(container: HTMLElement): Dispose | Promise<Dispose>;
|
||||
mountBookmarks(container: HTMLElement): Dispose | Promise<Dispose>;
|
||||
open(url: string): Promise<boolean>;
|
||||
};
|
||||
terminal: {
|
||||
mount(container: HTMLElement, props: TerminalProps): TerminalMount;
|
||||
shortcut(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "altKey" | "shiftKey" | "code" | "key">): TerminalAction | null;
|
||||
|
||||
Reference in New Issue
Block a user