Methods of the JSON-RPC-based --display protocol in Haxe 4. A lot of the methods are inspired by the Language Server Protocol, but there is no intention to be directly compatible with it.

Static variables

@:value(new HaxeRequestMethod<CompletionParams,CompletionResult>("display/completion"))staticinlineread onlyCompletion:HaxeRequestMethod<CompletionParams, CompletionResult> = new HaxeRequestMethod<CompletionParams,CompletionResult>("display/completion")

The completion request is sent from the client to Haxe to request code completion. Haxe automatically determines the type of completion to use based on the passed position, see CompletionResultKind.

@:value(new HaxeRequestMethod<CompletionItemResolveParams,CompletionItemResolveResult>("display/completionItem/resolve"))staticinlineread onlyCompletionItemResolve:HaxeRequestMethod<CompletionItemResolveParams, CompletionItemResolveResult> = new HaxeRequestMethod<CompletionItemResolveParams,CompletionItemResolveResult>("display/completionItem/resolve")

The request is sent from the client to Haxe to resolve additional information for a given completion item.

@:value(new HaxeRequestMethod<DefinesParams,DefinesResult>("display/defines"))staticinlineread onlyDefines:HaxeRequestMethod<DefinesParams, DefinesResult> = new HaxeRequestMethod<DefinesParams,DefinesResult>("display/defines")

The defines request is sent from the client to Haxe to get a list of all registered defines and their documentation.

@:value(new HaxeRequestMethod<FileParams,DeterminePackageResult>("display/package"))staticinlineread onlyDeterminePackage:HaxeRequestMethod<FileParams, DeterminePackageResult> = new HaxeRequestMethod<FileParams,DeterminePackageResult>("display/package")

This request is sent from the client to Haxe to determine the package for a given file, based on class paths configuration.

@:value(new HaxeRequestMethod<FindReferencesParams,GotoDefinitionResult>("display/references"))staticinlineread onlyFindReferences:HaxeRequestMethod<FindReferencesParams, GotoDefinitionResult> = new HaxeRequestMethod<FindReferencesParams,GotoDefinitionResult>("display/references")

The find references request is sent from the client to Haxe to find locations that reference the symbol at a given text document position.

@:value(new HaxeRequestMethod<PositionParams,GotoDefinitionResult>("display/definition"))staticinlineread onlyGotoDefinition:HaxeRequestMethod<PositionParams, GotoDefinitionResult> = new HaxeRequestMethod<PositionParams,GotoDefinitionResult>("display/definition")

The goto definition request is sent from the client to Haxe to resolve the definition location(s) of a symbol at a given text document position.

@:value(new HaxeRequestMethod<PositionParams,GotoDefinitionResult>("display/implementation"))staticinlineread onlyGotoImplementation:HaxeRequestMethod<PositionParams, GotoDefinitionResult> = new HaxeRequestMethod<PositionParams,GotoDefinitionResult>("display/implementation")

The goto implementation request is sent from the client to Haxe to resolve the implementation location(s) of a symbol at a given text document position.

@:value(new HaxeRequestMethod<PositionParams,GotoTypeDefinitionResult>("display/typeDefinition"))staticinlineread onlyGotoTypeDefinition:HaxeRequestMethod<PositionParams, GotoTypeDefinitionResult> = new HaxeRequestMethod<PositionParams,GotoTypeDefinitionResult>("display/typeDefinition")

The goto type definition request is sent from the client to Haxe to resolve the type definition location(s) of a symbol at a given text document position.

@:value(new HaxeRequestMethod<PositionParams,HoverResult>("display/hover"))staticinlineread onlyHover:HaxeRequestMethod<PositionParams, HoverResult> = new HaxeRequestMethod<PositionParams,HoverResult>("display/hover")

The hover request is sent from the client to Haxe to request hover information at a given text document position.

@:value(new HaxeRequestMethod<MetadataParams,MetadataResult>("display/metadata"))staticinlineread onlyMetadata:HaxeRequestMethod<MetadataParams, MetadataResult> = new HaxeRequestMethod<MetadataParams,MetadataResult>("display/metadata")

The metadata request is sent from the client to Haxe to get a list of all registered metadata and their documentation.

@:value(new HaxeRequestMethod<SignatureHelpParams,SignatureHelpResult>("display/signatureHelp"))staticinlineread onlySignatureHelp:HaxeRequestMethod<SignatureHelpParams, SignatureHelpResult> = new HaxeRequestMethod<SignatureHelpParams,SignatureHelpResult>("display/signatureHelp")

The signature help request is sent from the client to Haxe to request signature information at a given cursor position.