Raxol.Extensions.VSCodeBackend (Raxol v2.0.1)

View Source

Backend handler for the VS Code extension.

This module provides the Elixir-side implementation for communicating with the VS Code extension, handling requests for AI features, performance analysis, and component management.

Summary

Functions

Returns a specification to start this module under a supervisor.

Handles a code completion request from the VS Code extension.

Handles a component analysis request from the VS Code extension.

Handles a performance analysis request from the VS Code extension.

Lists available components in the project.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_completion_request(input, context)

Handles a code completion request from the VS Code extension.

handle_component_analysis(file_path)

Handles a component analysis request from the VS Code extension.

handle_manager_call(request, from, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.

handle_manager_info(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.

handle_performance_analysis(code, component_name, metrics \\ %{})

Handles a performance analysis request from the VS Code extension.

list_components()

Lists available components in the project.

start_link(init_opts \\ [])