Refactor workspace logic into workspace.rs (#16295)

## Summary

This is just a small refactor to move workspace related structs and impl
out from `server.rs` where `Server` is defined and into a new
`workspace.rs`.
This commit is contained in:
Dhruv Manilawala
2025-02-21 14:07:29 +05:30
committed by GitHub
parent 793264db13
commit c2b9fa84f7
5 changed files with 132 additions and 128 deletions

View File

@@ -11,7 +11,7 @@ use thiserror::Error;
pub(crate) use ruff_settings::RuffSettings;
use crate::edit::LanguageId;
use crate::server::{Workspace, Workspaces};
use crate::workspace::{Workspace, Workspaces};
use crate::{
edit::{DocumentKey, DocumentVersion, NotebookDocument},
PositionEncoding, TextDocument,