mine
is a nifty CLI app that adds a splash of color to your workspace. By choosing a hue from the vast array of CSS named colors, mine allows you to tell your projects apart with just a glance.
Juggling multiple repositories locally was challenging until this tip from Wes Bos of the Syntax podcast came to the rescue. Now, mine
handles the once-tedious task of creating VS Code settings for each cloned repo.
Thank you!
- Locates project root and updates settings automatically
- Selects random hues from CSS named colors
- Enhances visual project distinction
- Supports Visual Studio Code, with more editors soon
Indian Red with Cobalt2 theme
Deep Pink with Material Theme Darker theme
Preferred installation for MacOS and Linux via Homebrew:
brew install joelzanden/tap/mine
You can download precompiled binaries for Windows, Linux and MacOS from the releases page.
With Rust and Cargo installed, build mine
from source:
cargo build --release
Install mine
, add to your system's PATH, then run in your project directory:
mine
This command finds the project root, updates the settings file with a random CSS named color, and applies it to the editor's title bar.
mine
detects and locates project hierarchy roots by searching for specific project files and folders.
Expand to see a list of the currently supported files and folders
Language / Framework | File(s) |
---|---|
General | .dockerignore, .editorconfig, .git, .github, .gitignore, .gitlab-ci.yml, .travis.yml, Dockerfile, Jenkinsfile, LICENSE, README.md, Vagrantfile, .vscode |
Angular | angular.json |
ASP.NET | project.json |
C# | .csproj, .fsproj, .sln, project.json |
C++ | CMakeLists.txt, Makefile |
Clojure | project.clj |
Crystal | shard.yml |
Dart | pubspec.yaml |
Elixir | mix.exs |
Elm | elm.json |
Ember | ember-cli-build.js |
Erlang | rebar.config |
F# | paket.dependencies |
Go | go.mod |
Groovy | build.gradle |
Haskell | stack.yaml |
Java | build.gradle, pom.xml |
Julia | Project.toml |
Lua | lua |
Meteor | meteor |
Nim | nim.cfg |
Node | lerna.json, package.json, yarn.lock |
OCaml | dune |
Perl | cpanfile |
PHP | composer.json |
PowerShell | psakefile.ps1 |
Python | Pipfile, pyproject.toml, requirements.txt, setup.py |
R | DESCRIPTION |
Ruby | .gemspec, Gemfile, Rakefile |
Rust | Cargo.toml |
Scala | build.sbt |
Svelte | svelte.config.js |
Swift | Package.swift |
TypeScript | tsconfig.json |
Vue | vue.config.js |
If you're interested in contributing, please feel free to open an issue or submit a pull request.