Documentation
¶
Overview ¶
Package codeaction implements the code action functionality
Index ¶
- func IsMissingKeyError(err error) bool
- type CodeActionsService
- func (c *CodeActionsService) GetCodeActions(params types.CodeActionParams) []types.LSPCodeAction
- func (c *CodeActionsService) ResolveCodeAction(action types.LSPCodeAction) (types.LSPCodeAction, error)
- func (c *CodeActionsService) UpdateIssuesWithQuickFix(quickFixGroupables []types.Groupable, issues []types.Issue) []types.Issue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMissingKeyError ¶
Types ¶
type CodeActionsService ¶
type CodeActionsService struct {
IssuesProvider snyk.IssueProvider
// contains filtered or unexported fields
}
CodeActionsService is an application-layer service for handling code actions.
func NewService ¶
func NewService(c *config.Config, provider snyk.IssueProvider, fileWatcher dirtyFilesWatcher, notifier noti.Notifier, featureFlagService featureflag.Service) *CodeActionsService
func (*CodeActionsService) GetCodeActions ¶
func (c *CodeActionsService) GetCodeActions(params types.CodeActionParams) []types.LSPCodeAction
func (*CodeActionsService) ResolveCodeAction ¶
func (c *CodeActionsService) ResolveCodeAction(action types.LSPCodeAction) (types.LSPCodeAction, error)
func (*CodeActionsService) UpdateIssuesWithQuickFix ¶ added in v1.1303.0
Click to show internal directories.
Click to hide internal directories.