vscode-monorepo-workspace icon indicating copy to clipboard operation
vscode-monorepo-workspace copied to clipboard

Make it possible to format workspace names

Open Ventajou opened this issue 3 years ago • 3 comments

What I'm looking for is simply to exclude the org name that's used in the package.json name from the displayed label.

For example in our repo all of our package names are prefixed @foo/ but it becomes very redundant when that's used as workspace name.

Maybe some combination of regexp/template would allow users to configure package names.

Ventajou avatar Mar 16 '21 18:03 Ventajou

that would be useful!

ujwal-setlur avatar Apr 22 '21 20:04 ujwal-setlur

Even just a checkbox to exclude the scope from the name would be great!

akrawitz avatar Feb 11 '22 18:02 akrawitz

Agreed that removing the scope would be great, as it is redundant in a repo where all the scope is the same for every package.

@folke I have submitted a PR that adds an option for this

tom-fletcher avatar May 07 '22 05:05 tom-fletcher