Skip to content

npm scripts panel is not ordered #92773

Closed

Description

  • VSCode Version: 1.43.0
  • OS Version: macos mojave
Version: 1.43.0
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:34:44.548Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0

Steps to Reproduce:

  1. open a project with multiple package.json containing some scripts
  2. look at npm scripts panel

Screenshot 2020-03-16 at 11 56 48

Order by path is not respected as every where else in vscode and this make it not convenient.

Does this issue occur when all extensions are disabled?: Yes

Looking at the code i have found this place:
https://github.com/microsoft/vscode/blob/master/extensions/npm/src/npmView.ts#L290

Activity

  1. added
    bug
    on Jul 1, 2020
  2. added this to the On Deck milestone on Jul 1, 2020
  3. jpSimkins commented on Oct 27, 2020

    @jpSimkins

    To add to this:

    It would be preferred to sort by alphabetical order as this would also keep packages and other workspaces organized in a clear, predictable manner. Also, state awareness of what is minimized and what is not would be very beneficial. When adding a new script to a project I lose the current order and they all are open again. Having over 50 package.json files... this is becoming an issue.

  4. added a commit that references this issue on Dec 22, 2020
    445f259
  5. added
    unreleased
    on Dec 22, 2020
  6. added
    insiders-released
    and removed
    unreleased
    on Jan 5, 2021
  7. locked and limited conversation to collaborators on Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions