Skip to content

Feature: create-implicit-container-or-fail #1883

@nikitabobko

Description

@nikitabobko

aerospace move --boundaries-action create-implicit-container-or-fail

Creating an implicit container can only fail in the following situation:

  1. enable-normalization-flatten-containers is true
  2. The newly created container orientation, layout and children size are the same of those of the previous container which got flattened by the normalization

When enable-normalization-flatten-containers is disabled it's proposed to print a tip to stderr:

$ grep enable-normalization-flatten-containers ~/.aerospace.toml
enable-normalization-flatten-containers = false

$ aerospace move --boundaries-action create-implicit-container-or-fail right > /dev/null
Tip: create-implicit-container-or-fail will never cause the move command to fail since enable-normalization-flatten-containers is disabled

$ echo $?
0

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature proposal

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions