Skip to content

Param LSP

A Language Server Protocol (LSP) implementation for the HoloViz Param library.

Overview

param-lsp provides IDE support for Python codebases that use Param, offering:

  • Autocompletion: Context-aware completions for Param class constructors, parameter definitions, and @param.depends decorators
  • Validation: Real-time validation of parameter types, bounds, and constraints with error diagnostics
  • Hover information: Rich documentation for Param parameters including types, bounds, descriptions, and default values
  • Cross-file analysis: Intelligent parameter inheritance tracking across local and external Param classes (Panel, HoloViews, etc.)

Getting Started

New to param-lsp? Follow our step-by-step guides:

Features

Explore param-lsp's powerful IDE features:

Need Help?

Having issues? Check our getting started guide:

Quick Example

import param


class MyWidget(param.Parameterized):
    width = param.Integer(default=100, bounds=(1, 1000))
    title = param.String(default="My Widget")


# Get autocompletion, hover docs, and error checking:
widget = MyWidget(width=200, title="Dashboard")