utilUtilitiy methods to quark api.
- util.createContextMenu(items)
- util.createElementFromHtml(html)
- util.createFileSystemWatcher(path[, options])
- util.createInputBox()
- util.createMainMenuItem(label, items[, priority])
- util.createOutputChannel(name)
- util.createQuickView(name)
- util.createSnackbar(message[, type, duration])
- util.createVueWebComponent(name, data, createElement)
util.createContextMenu(items)
- arguments
- items
Array<MenuItem>
- items
- returns
ContextMenuRef
util.createElementFromHtml(html)
Creates an HTML element from string.
- arguments
- html
string
- html
- returns
Element
util.createFileSystemWatcher(path[, options])
Creates a file system watcher.
- arguments
- path
string | Array<string>
- options
WatchOptions
(optional)
- path
- returns
Watcher
util.createInputBox()
Creates an Input box
- returns
InputBox
util.createMainMenuItem(label, items[, priority])
Creates a main menu item.
- arguments
- label
string
- items
Array<MenuItem>
- label
- returns
MenuRef
util.createOutputChannel(name)
Creates an output channel.
- arguments
- name
string
- name
- returns
OutputChannel
util.createQuickView(name)
Creates a quick view pannel. Similar to the one used by commands.
- arguments
- name
string
- name
- returns
IQuickPick
util.createSnackbar(message[, type, duration])
Creates a snackbar notification.
- arguments
- message
string
- type
'danger' | 'success' | 'warning' | 'info'
- duration
number
- message
- returns
SnackbarItem
<!--
util.createVueWebComponent(name, data, createElement)
Creates a vuejs web component.
- arguments
- name
string
- data
Vue.ComponentOptions<any>
- createElement
boolean
- name
- returns
undefined | HTMLElement
-->