Rework the way project panel auto reveals entries

* gitignored entries are never auto revealed
* `project_panel::auto_reveal_entries = true` settings entry was added,
setting it to `false` will disable the auto reveal
* `pane::RevealInProjectPanel` action was added that activates the project panel and reveals the entry it got triggered on (including the gitignored ones)
This commit is contained in:
Kirill Bulatov
2023-12-12 11:38:51 +02:00
parent a9f817fc14
commit 27d6432c84
8 changed files with 136 additions and 76 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
use crate::{
se crate::{
item::{ClosePosition, Item, ItemHandle, ItemSettings, WeakItemHandle},
toolbar::Toolbar,
workspace_settings::{AutosaveSetting, WorkspaceSettings},