codeaction

package
v1.1303.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package codeaction implements the code action functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMissingKeyError

func IsMissingKeyError(err error) bool

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

func (c *CodeActionsService) UpdateIssuesWithQuickFix(quickFixGroupables []types.Groupable, issues []types.Issue) []types.Issue

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL