Documentation
¶
Index ¶
Constants ¶
View Source
const ( SnippetTitle = "com.renfei.SnippetsLab.Key.SnippetTitle" SnippetParts = "com.renfei.SnippetsLab.Key.SnippetParts" SnippetPartContent = "com.renfei.SnippetsLab.Key.SnippetPartContent" SnippetPartLanguage = "com.renfei.SnippetsLab.Key.SnippetPartLanguage" SnippetUUID = "com.renfei.SnippetsLab.Key.SnippetUUID" SnippetTagUUIDs = "com.renfei.SnippetsLab.Key.SnippetTagUUIDs" SnippetTagsTagUUID = "com.renfei.SnippetsLab.Key.TagUUID" SnippetTagsTagTitle = "com.renfei.SnippetsLab.Key.TagTitle" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `yaml:"enabled" head_comment:"Set to true if you want to use SnippetsLab."` LibraryPath string `` /* 153-byte string literal not displayed */ IncludeTags []string `` /* 132-byte string literal not displayed */ ExcludeTags []string `` /* 131-byte string literal not displayed */ }
func AutoDiscoveryConfig ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option configures a Provider.
func WithConfig ¶
func WithSystem ¶
WithSystem sets the utils.System instance to be used by Provider.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) GetSnippets ¶
func (Provider) Info ¶
func (p Provider) Info() model.ProviderInfo
Click to show internal directories.
Click to hide internal directories.