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
Introduce a new Db trait in ty_server that extends ty_project::Db and adds
server-specific database methods:
- document(): Access to Document from the LSP index
- notebook_document(): Convenient access to NotebookDocument
This trait provides the foundation for notebook support by allowing the server
to access document and notebook metadata through the database interface.
Use ty_server::Db consistently throughout ty_server
Replace all uses of ty_project::Db and ty_python_semantic::Db with
crate::Db (ty_server::Db) for consistency. This ensures all code
within ty_server uses the server-specific Db trait which extends
ty_project::Db.
Add ty_server::Db trait
Introduce a new Db trait in ty_server that extends ty_project::Db and adds
server-specific database methods:
- document(): Access to Document from the LSP index
- notebook_document(): Convenient access to NotebookDocument
This trait provides the foundation for notebook support by allowing the server
to access document and notebook metadata through the database interface.
Use ty_server::Db consistently throughout ty_server
Replace all uses of ty_project::Db and ty_python_semantic::Db with
crate::Db (ty_server::Db) for consistency. This ensures all code
within ty_server uses the server-specific Db trait which extends
ty_project::Db.
0 commit comments