A1: layout.get/layout.set keep the editor tab layout per project; editor.tabs.preview setting
The tab layout of the open project lives in <data_dir>/layout/<project-id>.json (written atomically, 256 KiB cap both ways, a broken file reads as null), never in webview storage. New bool setting editor.tabs.preview (default on). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1c6c67194a
commit
02922eb89d
6 changed files with 295 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ pub mod git_merge;
|
|||
pub mod git_remote;
|
||||
pub mod git_stash;
|
||||
pub mod goto;
|
||||
mod layout;
|
||||
mod lsp_assist;
|
||||
mod lsp_diagnostics;
|
||||
mod lsp_nav;
|
||||
|
|
@ -88,6 +89,7 @@ pub fn register_builtins(registry: &mut Registry) -> Result<(), EngineError> {
|
|||
git_chunks::register(registry)?;
|
||||
git_ignore::register(registry)?;
|
||||
deploy::register(registry)?;
|
||||
layout::register(registry)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
@ -111,6 +113,7 @@ pub(crate) const BUILTIN_COMMAND_IDS: &[&[&str]] = &[
|
|||
git_remote::COMMAND_IDS,
|
||||
git_stash::COMMAND_IDS,
|
||||
goto::COMMAND_IDS,
|
||||
layout::COMMAND_IDS,
|
||||
lsp_assist::COMMAND_IDS,
|
||||
lsp_diagnostics::COMMAND_IDS,
|
||||
lsp_nav::COMMAND_IDS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue