Skip to content

Enhancement: VS Code Extension for Litestar — community project #4613

@smirnoffmg

Description

@smirnoffmg

Summary

Hi! I built a VS Code extension for Litestar and published it to the marketplace.

It provides route exploration, CodeLens for test client navigation, static diagnostics (missing return types, sync_to_thread, duplicate routes), code snippets, and dependency/guard chain visualization. Built on LSP with a Python backend using pygls for AST-based analysis.

Source code

I'd love to get feedback from the maintainers and community. A few questions:

  • Would you be interested in linking this from the Litestar docs or ecosystem page?
  • Any plans for a [tool.litestar] section in pyproject.toml that the extension could read for configuration?
  • Open to transferring the repo to litestar-org if there's interest in making it an official community project.

Contributions and bug reports are welcome.

Basic Example

Image

Drawbacks and Impact

No drawbacks to the framework itself - this is an independent community project. The only ask is whether the team would like to link it from docs/ecosystem and whether there's interest in closer integration and/or maintain.

Unresolved questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementThis is a new feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions