Skip to content

[CLOSED] switch project performance improvements #1182

@core-ai-bot

Description

@core-ai-bot

Issue by redmunds
Friday Jun 29, 2012 at 21:27 GMT
Originally opened as adobe/brackets#1197


Changes:

  • Do not check disk for file existence when opening files for a project, just add them to the working set. Handle case where a working set file no longer exists.
  • Fix ChangedDocumentTracker so it doesn't read each file from disk as they are added to working set. Start/stop tracking documents when created/deleted.
  • Handle adding/removing multiple working set files at a time to minimize how many times re-layout is done for working set and project tree once (i.e. not for each file). Note that re-layout is triggered when calculating whether to draw shadow, selection rectangle, and selection triangle.
  • Also implement these improvements for multiple file open

redmunds included the following code: https://github.com/adobe/brackets/pull/1197/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