Skip to content

[CLOSED] Allow all files to be opened by drag and drop #4089

@core-ai-bot

Description

@core-ai-bot

Issue by gruehle
Wednesday Jul 10, 2013 at 21:28 GMT
Originally opened as adobe/brackets#4413


@peterflynn@RaymondLim

Remove FileUtils.isTextFile() since it was giving too many false negatives. The drag and drop code now accepts all files, and relies on FILE_OPEN to determine which files can or cannot be opened.

This required adding an optional silent parameter to FILE_OPEN. When true, errors are not shown when opening files.

See this comment for more details.


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