Skip to content

[CLOSED] Sort Workingset #1935

@core-ai-bot

Description

@core-ai-bot

Issue by TomMalbran
Wednesday Oct 31, 2012 at 06:04 GMT
Originally opened as adobe/brackets#1999


This adds to the working set context menu 3 sorting methods and an automatic sort option. When the automatic sort option and a valid sort method are selected, the working set will be sorted when a file is added to it.

This pull also adds an API to easily add new sort methods by using the register function in SortUtils. This function would receive a compare function, used to sort the workingSet, an optional list of events that will be called for the automatic sort (the automatic sort will be disable if the list is empty) and an optional automatic function that will be called when the automatic events are triggered.


TomMalbran included the following code: https://github.com/adobe/brackets/pull/1999/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions