Gruntfuggly / global-config

Allows copying of shared config settings in vscode
MIT License
12 stars 4 forks source link

Add ability to choose config(s) to copy #7

Closed tbondarchuk closed 4 years ago

tbondarchuk commented 4 years ago

Really useful plugin, many thanks!

Ability to choose global config to copy would be super useful when working on different projects. Something like:

$HOME/.vscode-global-configs
├── python-3.7
│   ├── settings.json
│   └── tasks.json
├── terraform-11
│   ├── settings.json
│   └── tasks.json
└── terraform-12
    ├── settings.json
    └── tasks.json

set list of config folders in settings and then 'Copy Global Config' command would ask which one to copy to local .vscode.

Gruntfuggly commented 4 years ago

I've just uploaded a new version.

tbondarchuk commented 4 years ago

Awesome! works like a charm with following config:

    "global-config.folder": "~/.vscode/global-configs/",
    "global-config.folders": [
        "terraform-11",
        "terraform-12",
    ],

Maybe update Readme.md as well? Or I can create PR later if you busy at the moment.

And many thanks for such a prompt reply and fix!

Gruntfuggly commented 4 years ago

It should work automatically - you don't need the config for global-config.folders - looks like I committed that by accident.

tbondarchuk commented 4 years ago

Confirmed, worked automatically. Thanks again!