Skip to content

Commit

Permalink
Create README.md (#3)
Browse files Browse the repository at this point in the history
* Create README.md

Put some notes on how the .vscode repository can be used.

* Add a second way to use this repo

---------

Co-authored-by: Jeremy Solbrig <[email protected]>
  • Loading branch information
mindyls and jsolbrig authored Feb 14, 2023
1 parent 6c8731c commit 80272f5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .vscode
Settings for a consistent GeoIPS VSCode Workspace

This repository can be used in two ways. If you are editing a single repository, it can be cloned directly into that repository. If you are editing multiple repositories, it can be cloned parallel to your repositories, and used for WorkSpace level VSCode settings across all GeoIPS plugins.

## Working with a single repository
If you are editing a single repository:
- Clone your repository anywhere
- Change directories to your repository
- Clone this repository into your repository's directory
```
git clone [email protected]:NRLMMD-GEOIPS/.vscode.git
```
- Open your repository in VSCode

## Working with multiple repositories
If you are editing multiple repositories (e.g. multiple plugins or a plugin plus GeoIPS itself) you can ensure that all plugin repositories will use the same linting and formatting settings within VSCode by doing the following:
- Clone all of the repositories that you are working on into a single directory (e.g. `$GEOIPS_PACKAGES_DIR`)
- Clone .vscode into that same directory (e.g. `git clone [email protected]:NRLMMD-GEOIPS/.vscode.git $GEOIPS_PACKAGES_DIR/.vscode`)
- Open the directory that contains all repositories in VSCode.

0 comments on commit 80272f5

Please sign in to comment.