mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
- ide-web: built-in static server on 127.0.0.1 that serves project files, plus detection and launching of installed browsers. - Open In › Browser in the editor, project view and tab menus; browser bar and built-in preview beside HTML editors; ⌃⇧R opens the default browser. - Emmet: Tab expansion in markup editors and Update Tag with Emmet. Claude-Session: https://claude.ai/code/session_01SaPPsVPuk6ZTNsoUCNCbMv
22 lines
693 B
TypeScript
22 lines
693 B
TypeScript
// `emmet` ships typings its package.json "exports" does not expose; the subset used here.
|
|
declare module "emmet" {
|
|
export type SyntaxType = "markup" | "stylesheet";
|
|
export interface UserConfig {
|
|
type?: SyntaxType;
|
|
syntax?: string;
|
|
options?: Record<string, unknown>;
|
|
}
|
|
export interface ExtractedAbbreviation {
|
|
abbreviation: string;
|
|
location: number;
|
|
start: number;
|
|
end: number;
|
|
}
|
|
export default function expandAbbreviation(abbr: string, config?: UserConfig): string;
|
|
export function extract(
|
|
line: string,
|
|
pos?: number,
|
|
options?: Partial<{ lookAhead: boolean; type: SyntaxType; prefix: string }>,
|
|
): ExtractedAbbreviation | undefined;
|
|
}
|