дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
Workspaces open several local project folders in one IDE session (File › New / Open / Manage Workspace…, or Attach when opening a project, which creates a workspace automatically for a plain project window). Member folders are the Project view roots and take part in indexing, Find in Files, Git, language servers, run configurations and builds; agent tasks choose which member they work in. Window › Merge All Project Windows groups project windows into one window with project tabs (switch, reorder, close, move to a new window), restored on reopen. Closes #241 Closes #198 Closes #286
41 рядки
1.1 KiB
Rust
41 рядки
1.1 KiB
Rust
//! The project model that ties documents, settings and history together.
|
|
|
|
pub mod caches;
|
|
pub mod devcontainer;
|
|
pub mod documents;
|
|
pub mod editorconfig;
|
|
pub mod file_defaults;
|
|
pub mod file_moves;
|
|
pub mod file_refs;
|
|
pub mod history;
|
|
pub mod memory;
|
|
pub mod process;
|
|
pub mod recent;
|
|
pub mod roots;
|
|
pub mod settings;
|
|
pub mod text_refs;
|
|
pub mod window_groups;
|
|
pub mod workspace;
|
|
|
|
pub use documents::{DetectLanguage, DocumentInfo, Documents, TextSnapshot};
|
|
pub use editorconfig::{EditorConfig, EditorConfigProps};
|
|
pub use file_defaults::FileDefaults;
|
|
pub use file_moves::{FileMove, FileMoves, UndoOutcome};
|
|
pub use history::{DirectoryHistory, HistoryEntry, HistoryKind, LocalHistory, Retention};
|
|
pub use recent::{RecentProject, RecentProjects};
|
|
pub use roots::{ProjectRoots, RootKind, SourceFolder};
|
|
pub use settings::{SettingsScope, SettingsStore};
|
|
|
|
#[cfg(test)]
|
|
mod assertions {
|
|
fn send_sync<T: Send + Sync>() {}
|
|
|
|
#[test]
|
|
fn types_are_thread_safe() {
|
|
send_sync::<super::Documents>();
|
|
send_sync::<super::LocalHistory>();
|
|
send_sync::<super::RecentProjects>();
|
|
send_sync::<super::SettingsStore>();
|
|
}
|
|
}
|