ide

package
v0.0.0-...-dfd24c6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

IDE Domain

In the context of the Language Server, the "IDE domain" refers to all the elements that are relevant to the IDE. E.g. hovers, workspaces, actions...

LSP as a protocol is not part of the IDE Domain, but rather a presentation layer on top of it. At the moment this layer is conflating domain and presentation, this is an interim step.

The IDE domain, will typically transform the Vulnmap Domain into IDE constructs - and vice-versa, that then can be transformed into LSP presentational entities.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueProvider

type IssueProvider interface {
	IssuesFor(path string, r vulnmap.Range) []vulnmap.Issue
}

IssueProvider is an interface that allows to retrieve issues for a given path and range. This is used instead of any concrete dependency to allow for easier testing and more flexibility in implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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