Skip to content

Export to .code-workspace for VC Code use #103

@BigBlueHat

Description

@BigBlueHat

Here's some jq.js code that worked for me--modify for your use (until this gets implemented 😉):

$ gr export . | jq '{folders: [.repos[] | ["..", .path, .name] | join("/") | {path: .}]}'

Output:

{
  "folder": [
    {
      "path": "../org-name/repo-name"
    }
  ]
}

This is heavily based on how I organize my local development space:

dev/
  org-name/
    repo-name/

gr has been a huge help in collecting things across that structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions