Skip to main content

Module plugin_dev_workspace

Module plugin_dev_workspace 

Source
Expand description

Plugin development workspace for LSP support

When a user loads a plugin from a buffer, this module creates a temporary workspace directory containing:

  • The buffer content as a .ts file
  • A copy of fresh.d.ts for type definitions
  • A tsconfig.json configured for the plugin environment

This allows typescript-language-server to provide autocomplete, type checking, and hover documentation for plugin buffers — including unsaved/unnamed buffers.

Structs§

PluginDevWorkspace
Manages a temporary workspace for plugin development LSP support.