Support npm
, yarn
, pnpm
, lerna
, rush
.
You can also add the folder manually which does not include package.json
by Monorepo: As Workspace
.
Colorful Monorepo categorizes the files in each Workspace and displays different colors in the status bar.
Drawer ensures a crisp presentation of the workbench in the case of multiple Workspaces or with a large number of configurations, allowing you to focus more on business code.
You can add files to the Drawer with Monorepo: Transfer to drawer glob
, which supports multiple selections. Note that the added file will take effect on all files of the same name in the project.
For performance reasons, all folders are displayed in the drawer
ctrl+p
+ Monorepo: preset
to set default exclude.
You can click the Edit Workspace File
button in DrawerView to fix errors.
"ColorfulMonorepo.workspaces.prefix.root": {
"type": "string",
"default": "🌱 ",
"description": "Folder prefix for the root folder"
},
"ColorfulMonorepo.workspaces.custom": {
"type": "array",
"default": [],
"description": "Custom workspace prefix icon e.g [{regex:'foo', prefix:'🥳 '}, {regex:'bar', prefix:' 🖖🏻'}]"
},
"ColorfulMonorepo.colorize.enabled": {
"type": "boolean",
"default": true,
"description": "The files dose not change frequently will transfer to drawer"
},
// Experiment
"ColorfulMonorepo.arrange.enabled": {
"type": "boolean",
"default": false,
"description": "Enable auto arrange the editor by workspace"
},
"ColorfulMonorepo.drawer.exclude": {
"type": "object",
"default": {
"**/.git": true,
"**/.gitignore": true,
"**/.gitattributes": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.editorconfig": true,
"**/.github": true,
"**/.yarn": true,
"**/.prettierrc": true,
"**/.eslintrc*": true,
"**/LICENSE": true,
"**/.eslintignore": true,
"**/node_modules": true,
"**/tsconfig.json": true,
"**/jsconfig.json": true,
"**/package.json": true,
"**/.vscode": true,
"**/.next": true,
"**/.gitmodules": true,
"**/.yarnrc*": true,
"**/.babelrc*": true,
"**/.npmrc": true,
"**/README.*": true,
"**/dist": true,
"**/build": true,
"**/yarn.lock": true,
"**/pnpm-lock.yaml": true,
"**/package-lock.json": true
},
"description": "Default exclude files"
}
To improve the performance, the drawer will show all directories, even if it is not in files.exclude
.
Colorful Monorepo is available under the AGPL license.
https://github.com/microsoft/workspace-tools MIT license
Auto arrange.
If you have a wonderful experience, don't forgot to buy me a coffee.
Enjoy ! 🖖