Skip to main content

Module lsp

Module lsp 

Source
Expand description

ยงActionScript Language Support (LSP)

This module provides the core logic for implementing Language Server Protocol (LSP) features for ActionScript.

ยง๐Ÿ› ๏ธ Components

ยงActionScriptLanguageService

The primary implementation of the LanguageService trait. It manages the workspace, virtual file system (VFS), and coordinates various language-specific providers.

ยงActionScriptHoverProvider

Provides contextual information when a user hovers over code elements. It currently supports:

  • Classes: Descriptions of class blueprints.
  • Interfaces: Details on interface contracts.
  • Functions: Explanations of function blocks.

ยง๐Ÿš€ Features

  • Real-time Diagnostics: Provides immediate feedback on syntax and semantic errors.
  • Context-Aware Hover: Displays relevant documentation based on the AST node at the cursor.
  • Workspace Management: Tracks multiple files and their relationships within an ActionScript project.

ยง๐Ÿ“‚ Submodules

  • formatter: Handles source code formatting and beautification.
  • highlighter: Provides semantic and syntax highlighting data.

Modulesยง

formatter
ActionScript Formatter
highlighter
ActionScript Highlighter

Structsยง

ActionScriptHoverProvider
Hover provider implementation for ActionScript.
ActionScriptLanguageService
Language service implementation for ActionScript.