evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Add a lightweight extension that builds on the workspace file browser to make common preview and download tasks faster. The implementation must reuse the platform's existing viewers rather than reimplementing parsers or rendering.
.csv file is selected and "Preview Data" is invoked, it opens in a new main-area tab using the built-in tabular viewer with the same row and column content visible without manual parsing. @test.log file in the current directory, focuses it in the main area, and keeps the file browser selection aligned with the opened document. @testexport interface FileBrowserEnhancerOptions {
/**
* Side where previews should open relative to the file browser.
* Defaults to 'right'.
*/
previewSplit?: 'right' | 'bottom';
/**
* Optional label overrides for UI actions.
*/
labels?: {
previewData?: string;
newLog?: string;
downloadCopy?: string;
};
}
/**
* Registers file-browser enhancements and associated commands.
*/
export function activateFileBrowserEnhancer(options?: FileBrowserEnhancerOptions): void;Provides the application shell, file browser widgets, document handling, and built-in CSV/Markdown viewers used by this enhancement.