Skip to main content

OpenFile

Represents a file that is currently open in the IDE editor

Properties

content

content: string;

Current text content of the file


id

id: string;

Unique identifier matching the FileNode id


isUnsaved

isUnsaved: boolean;

Whether the file has unsaved changes


language

language: string;

Programming language for syntax highlighting (e.g. 'python')


name

name: string;

Display name of the file


path

path: string;

Absolute path of the file