Provide symbol information for the given document.
The document in which the command was invoked.
A cancellation token.
An array of document highlights or a thenable that resolves to such. The lack of a result can be
signaled by returning undefined
, null
, or an empty array.
VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
Generated by TypeDoc
The document symbol provider interface defines the contract between extensions and the go to symbol-feature.