modules/window/filePicker
Interfaces
FileFilter
Defined in: modules/window/filePicker.d.ts:9
A named group of file extensions for the type-filter dropdown.
Use an empty extensions array to mean "All Files".
Properties
extensions
extensions:
string[]
Defined in: modules/window/filePicker.d.ts:13
Extensions without the leading dot, e.g. ['ts', 'tsx']. Empty = all files.
label
label:
string
Defined in: modules/window/filePicker.d.ts:11
Label shown in the filter Select, e.g. "TypeScript Files"
MultiPickerOptions
Defined in: modules/window/filePicker.d.ts:53
Extends
Omit<PickerOptions,"mode">
Properties
allowCreate?
optionalallowCreate?:boolean
Defined in: modules/window/filePicker.d.ts:48
Show the "New File" and "New Folder" toolbar buttons. Defaults to true; set false to hide them.
Inherited from
buttonText?
optionalbuttonText?:string
Defined in: modules/window/filePicker.d.ts:30
Override the confirm-button label.
Inherited from
defaultName?
optionaldefaultName?:string
Defined in: modules/window/filePicker.d.ts:40
Pre-filled filename for saveAs mode.
Inherited from
defaultPath?
optionaldefaultPath?:string
Defined in: modules/window/filePicker.d.ts:38
Starting directory. Defaults to 'ROOT'.
Inherited from
fileNamePlaceholder?
optionalfileNamePlaceholder?:string
Defined in: modules/window/filePicker.d.ts:42
Placeholder text for the saveAs filename input.
Inherited from
PickerOptions.fileNamePlaceholder
filters?
optionalfilters?:FileFilter[]
Defined in: modules/window/filePicker.d.ts:33
File-type filters rendered as a Select in the footer. First entry is selected by default.
Inherited from
icon?
optionalicon?:string
Defined in: modules/window/filePicker.d.ts:28
Header icon name from IconRegistry.
Inherited from
mode
mode:
"multiFile"
Defined in: modules/window/filePicker.d.ts:56
- Interaction mode is strictly locked to
multiFile.
requiredFiles?
optionalrequiredFiles?:string[]
Defined in: modules/window/filePicker.d.ts:35
Folder-mode gate: folder is only selectable when it contains every one of these filenames.
Inherited from
showHidden?
optionalshowHidden?:boolean
Defined in: modules/window/filePicker.d.ts:50
Show dotfiles (names starting with '.'). Defaults to false.
Inherited from
title?
optionaltitle?:string
Defined in: modules/window/filePicker.d.ts:26
Modal title (auto-derived from mode when omitted).
Inherited from
PickerOptions
Defined in: modules/window/filePicker.d.ts:16
Properties
allowCreate?
optionalallowCreate?:boolean
Defined in: modules/window/filePicker.d.ts:48
Show the "New File" and "New Folder" toolbar buttons. Defaults to true; set false to hide them.
buttonText?
optionalbuttonText?:string
Defined in: modules/window/filePicker.d.ts:30
Override the confirm-button label.
defaultName?
optionaldefaultName?:string
Defined in: modules/window/filePicker.d.ts:40
Pre-filled filename for saveAs mode.
defaultPath?
optionaldefaultPath?:string
Defined in: modules/window/filePicker.d.ts:38
Starting directory. Defaults to 'ROOT'.
fileNamePlaceholder?
optionalfileNamePlaceholder?:string
Defined in: modules/window/filePicker.d.ts:42
Placeholder text for the saveAs filename input.
filters?
optionalfilters?:FileFilter[]
Defined in: modules/window/filePicker.d.ts:33
File-type filters rendered as a Select in the footer. First entry is selected by default.
icon?
optionalicon?:string
Defined in: modules/window/filePicker.d.ts:28
Header icon name from IconRegistry.
mode
mode:
"file"|"folder"|"saveAs"
Defined in: modules/window/filePicker.d.ts:23
Interaction mode:
file→ pick one existing filefolder→ navigate then confirmsaveAs→ choose directory + name
requiredFiles?
optionalrequiredFiles?:string[]
Defined in: modules/window/filePicker.d.ts:35
Folder-mode gate: folder is only selectable when it contains every one of these filenames.
showHidden?
optionalshowHidden?:boolean
Defined in: modules/window/filePicker.d.ts:50
Show dotfiles (names starting with '.'). Defaults to false.
title?
optionaltitle?:string
Defined in: modules/window/filePicker.d.ts:26
Modal title (auto-derived from mode when omitted).
References
ActivityBarItemOptions
Re-exports ActivityBarItemOptions
app
Re-exports app
authentication
Re-exports authentication
BookmarkFolder
Re-exports BookmarkFolder
CommandMetadata
Re-exports CommandMetadata
commands
Re-exports commands
CommitOptions
Re-exports CommitOptions
ConfigurationProperty
Re-exports ConfigurationProperty
CopyOptions
Re-exports CopyOptions
Diagnostic
Re-exports Diagnostic
DiagnosticCollection
Re-exports DiagnosticCollection
DiagnosticSeverity
Re-exports DiagnosticSeverity
Disposable
Re-exports Disposable
DocumentSymbol
Re-exports DocumentSymbol
ExtensionContext
Re-exports ExtensionContext
ExtensionInfo
Re-exports ExtensionInfo
extensions
Re-exports extensions
FileDecoration
Re-exports FileDecoration
FileStat
Re-exports FileStat
FileSystemAPI
Re-exports FileSystemAPI
FindOptions
Re-exports FindOptions
fs
Re-exports fs
git
Re-exports git
GitBranch
Re-exports GitBranch
GitChangedFile
Re-exports GitChangedFile
GitCommit
Re-exports GitCommit
GitFileStatus
Re-exports GitFileStatus
GitHubUser
Re-exports GitHubUser
GitRepository
Re-exports GitRepository
GitSortMode
Re-exports GitSortMode
GitStash
Re-exports GitStash
IConfigurationSection
Re-exports IConfigurationSection
IconThemeDefinition
Re-exports IconThemeDefinition
IconThemeMap
Re-exports IconThemeMap
InputBoxOptions
Re-exports InputBoxOptions
languages
Re-exports languages
lsp
Re-exports lsp
LspServerConfig
Re-exports LspServerConfig
MenuItem
Re-exports MenuItem
menus
Re-exports menus
ModalOptions
Re-exports ModalOptions
MSCodeUIColors
Re-exports MSCodeUIColors
NotificationAction
Re-exports NotificationAction
OutputChannel
Re-exports OutputChannel
Position
Re-exports Position
ProgressNotification
Re-exports ProgressNotification
QuickPickItem
Re-exports QuickPickItem
QuickPickOptions
Re-exports QuickPickOptions
RecentWorkspace
Re-exports RecentWorkspace
ReplaceOptions
Re-exports ReplaceOptions
ResolvedIcon
Re-exports ResolvedIcon
search
Re-exports search
SearchFileResult
Re-exports SearchFileResult
SearchMatch
Re-exports SearchMatch
Selection
Re-exports Selection
SettingOption
Re-exports SettingOption
SettingType
Re-exports SettingType
SidebarPanelDef
Re-exports SidebarPanelDef
SidebarPanelHeader
Re-exports SidebarPanelHeader
SidebarSectionContent
Re-exports SidebarSectionContent
SidebarSectionContext
Re-exports SidebarSectionContext
SidebarSectionDef
Re-exports SidebarSectionDef
SidebarState
Re-exports SidebarState
SilentSearchOptions
Re-exports SilentSearchOptions
StashOptions
Re-exports StashOptions
StatusBarAlignment
Re-exports StatusBarAlignment
StatusBarItemController
Re-exports StatusBarItemController
StatusBarItemOptions
Re-exports StatusBarItemOptions
SymbolKind
Re-exports SymbolKind
SymbolProvider
Re-exports SymbolProvider
Tab
Re-exports Tab
TabDiffData
Re-exports TabDiffData
TabOptions
Re-exports TabOptions
TabType
Re-exports TabType
TaskExecution
Re-exports TaskExecution
TaskOptions
Re-exports TaskOptions
tasks
Re-exports tasks
Terminal
Re-exports Terminal
TerminalExitStatus
Re-exports TerminalExitStatus
TerminalOptions
Re-exports TerminalOptions
termis
Re-exports termis
TermisView
Re-exports TermisView
TextDocument
Re-exports TextDocument
TextEditor
Re-exports TextEditor
TextEditorEdit
Re-exports TextEditorEdit
TextEditorOptions
Re-exports TextEditorOptions
ThemeDefinition
Re-exports ThemeDefinition
themes
Re-exports themes
TokenColor
Re-exports TokenColor
TreeDataProvider
Re-exports TreeDataProvider
TreeItem
Re-exports TreeItem
TreeView
Re-exports TreeView
TreeViewOptions
Re-exports TreeViewOptions
window
Re-exports window
workspace
Re-exports workspace
WorkspaceConfiguration
Re-exports WorkspaceConfiguration
WorkspaceFolder
Re-exports WorkspaceFolder
WriteOptions
Re-exports WriteOptions