-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |