lsp

LSP structures and types.

Index

Classes
Enumerations

PositionEncodingKind

LSP position encoding kind. Note that Syside uses Utf-8 internally so it will incur no performance penalty. Other encodings will require lazy conversions, however allocations will be avoided whenever possible.

SemanticTokenModifiers

LSP defined semantic token modifiers. Technically, this is not a flag enum but nanobind does not permit arbitrary values otherwise.

SemanticTokenTypes

LSP defined semantic token types. Technically, this is not a flag enum but nanobind does not permit arbitrary values otherwise.


Enumerations

class PositionEncodingKind

LSP position encoding kind. Note that Syside uses Utf-8 internally so it will incur no performance penalty. Other encodings will require lazy conversions, however allocations will be avoided whenever possible.

For Python strings, use Utf32 encoding as that is what is used for string indexing and slicing.

See LSP specification for more details.

Used in
class SemanticTokenModifiers

LSP defined semantic token modifiers. Technically, this is not a flag enum but nanobind does not permit arbitrary values otherwise.

See LSP specification and VS Code docs for more details.

= 0

= 1

= 2

= 3

= 4

= 5

= 6

= 7

= 8

= 9

Used in
class SemanticTokenTypes

LSP defined semantic token types. Technically, this is not a flag enum but nanobind does not permit arbitrary values otherwise.

See LSP specification and VS Code docs for more details.

= 0

= 1

= 2

= 3

= 4

= 5

= 6

= 7

= 8

= 9

= 10

= 11

= 12

= 13

= 14

= 15

= 16

= 17

= 18

= 19

= 20

= 21

= 22