obsidian-shellcommands icon indicating copy to clipboard operation
obsidian-shellcommands copied to clipboard

Obsidian 0.16: Output channel "Open files" creates a new tab instead of a new pane

Open Taitava opened this issue 2 years ago • 0 comments

This is not an actual bug of SC, but rather a change that came when Obsidian introduced tabs in 0.16.0 (republished as 1.0.0). If Output channel is "Open files" and and a :new-pane flag is used, SC should open up a new pane like it did in Obsidian < 0.16. Instead, now a file is opened in a new tab.

Changes:

  • [ ] :new-pane:

    • If Obsidian version is 0.16 or later: Obsidian's newLeaf parameter should be changed from true to "split".
    • If Obsidian version is below 0.16: Keep newLeaf parameter as true.
  • DO THESE IN ANOTHER RELEASE:

    • :new-tab: Sets newLeaf to "tab". Don't use true as it feels kinda deprecated now, at least to me.
    • :new-window: Sets newLeaf to "window". This would be completely new behaviour to SC.
    • I just listed them here. Can create a new dicussion for these. These will require changing minimum Obsidian version.

Taitava avatar Oct 29 '22 09:10 Taitava