Giter VIP home page Giter VIP logo

Comments (5)

austinjones avatar austinjones commented on May 26, 2024

If each tab ended with a trailing slash, then autocomplete between api/ and api/serve would work nicely.

from tab-rs.

austinjones avatar austinjones commented on May 26, 2024

If the list of 'available tabs' was driven by the current directory (by looking for tab.yml up in the dir tree), then the 'command-line-ish' quality of the way tabs are switched would be enhanced.

from tab-rs.

austinjones avatar austinjones commented on May 26, 2024

Resolve config by walking the directory tree, up until you find tab.yml.

from tab-rs.

austinjones avatar austinjones commented on May 26, 2024

Commands can be 'preloaded' by typing them without a newline at the end.

from tab-rs.

austinjones avatar austinjones commented on May 26, 2024

The directory structure provides hierarchy. It also provides a natural way to structure 'level of detail'.

If your workspace contains:

  • api/
  • frontend/

And your api folder contains:

  • api/git/
  • api/serve/

The configs could be:

workspace/tab.yml
workspace:
- name: api
  dir: api-server/
- name: frontend

workspace/api-server/tab.yml:
repo:
  - name: git
  - name: serve
    command: cargo run

Workspaces are boundaries. Only the innermost workspace is visible.

Repos are simply folders of tabs, linked to the working directory. Any tab within the workspace is visible, and can be switched to.

from tab-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.