clients

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifier

type Identifier int

Identifier represent different supported clients and can be used to toggle or change server behavior based on the client.

const (
	IdentifierGeneric Identifier = iota
	IdentifierVSCode
	IdentifierGoTest
	IdentifierZed
	IdentifierNeovim
)

func DetermineClientIdentifier

func DetermineClientIdentifier(clientName string) Identifier

DetermineClientIdentifier is used to determine the Regal client identifier based on the client name. Clients with identifiers here should be featured on the 'Editor Support' page in the documentation (https://docs.styra.com/regal/editor-support).

Jump to

Keyboard shortcuts

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