getEditorFileStatus
codebolt.project.getEditorFileStatus(): Promise
Retrieves the current status of files in the editor.
Response Structure
{
type: 'getEditorFileStatusResponse',
success: boolean,
message: string,
editorStatus: string
}
Example
const fileStatusResult = await codebolt.project.getEditorFileStatus();
console.log(fileStatusResult);
// Output: {
// type: 'getEditorFileStatusResponse',
// success: true,
// message: 'Default editor status retrieved',
// editorStatus: '\n\n# Codebolt Visible Files\n(Currently not available - using default values)\n\n# Codebolt Open Tabs\n(Currently not available - using default values)'
// }
// Access editor information
console.log('Editor Status:', fileStatusResult.editorStatus);