You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplifies a bunch of logic for keeping track of baml projects
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Add support for multi-root workspaces by managing multiple `baml_src`
directories in the language server.
>
> - **Behavior**:
> - Support for multi-root workspaces by managing multiple `baml_src`
directories in `Session`.
> - Removed restriction on single workspace in `server.rs`.
> - Added `get_or_create_project()` in `Session` to handle project
lookup and creation.
> - **API**:
> - Added `getBAMLFunctions` request in `api.rs` to list functions from
all projects.
> - Updated `DidChangeTextDocumentHandler`,
`DidOpenTextDocumentHandler`, and other notification handlers to use
`get_or_create_project()`.
> - Updated `CodeLens`, `Completion`, `GotoDefinition`, `Hover`, and
`Rename` request handlers to support multi-root workspaces.
> - **Diagnostics**:
> - Updated `publish_diagnostics()` and `project_diagnostics()` in
`diagnostics.rs` to handle diagnostics for multiple projects.
> - **Misc**:
> - Added tests for `get_or_create_project()` in `session.rs`.
> - Minor logging improvements in `server.rs` and `session.rs`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 967e24b. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
0 commit comments