Skip to content

Make npm scripts panel order consider directory depth #299227

@s-h-a-d-o-w

Description

@s-h-a-d-o-w

Currently, it's simply alphabetic sorting of the full path.

I think it would be great if you could incorporate directory depth, so that root package json is always at the top. Which would be very helpful for monorepos, where I currently repeatedly have to collapse everything and then scroll to the root package json.
(When repeatedly running different scripts, this seems still at least as fast as running them directly in a terminal.)

It would also mean that people won't have to exclude build outputs through their settings any more, since those would then generally be listed at the bottom.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytasksTask system issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions