Skip to content

Objects

Object

Represents a generic vscode object.

QuickPickOptions

Bases: Object

Options to configure the behavior of the quick pick UI.

__init__(title=None, can_pick_many=None, ignore_focus_out=None, match_on_description=None, place_holder=None, match_on_detail=None)

Parameters:

Name Type Description Default
title Optional[str]

An optional string that represents the title of the quick pick.

None
can_pick_many Optional[bool]

An optional flag to make the picker accept multiple selections, if true the result is an array of picks.

None
ignore_focus_out Optional[bool]

Set to True to keep the input box open when focus moves to another part of the editor or to another window. This setting is ignored on iPad and is always False.

None
place_holder Optional[str]

An optional string to show as placeholder in the input box to guide the user what to type.

None
match_on_description Optional[bool]

An optional flag to include the description when filtering the picks.

None
match_on_detail Optional[bool]

An optional flag to include the detail when filtering the picks.

None

Selection

Bases: Range

Represents a text selection in an editor.