Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Avoid searching binary files; tweaks to language mappings; APIs to unregister file extension mapping #7290

Merged
merged 4 commits into from
Mar 28, 2014

Commits on Mar 21, 2014

  1. A few small tweaks to language mappings:

    * Recognize a wider variety of HTML templates embedded in script tags
    * Remove generic "clike" language declaration that no files map to - seems
    unneeded, and clutters the dropdown in PR #6409
    * Add missing commenting syntax to Scala language
    * Automatically filter out a variety of common binary file types from Find
    in Files (it already checks isBinary) - note that this does not affect Mac,
    where all binary file IO fails automatically. Helps reduce bugs like #6091.
    Leaves the ProjectManager.isBinary() API in place for now, since it also
    excludes files from Quick Open and other getAllFiles() clients that don't
    yet check isBinary via LanguageManager.
    * Fix incorrect code in Find in Files that only narrowly avoids creating
    bugs where filtered-out files are incorrectly added to search results.
    peterflynn committed Mar 21, 2014
    Configuration menu
    Copy the full SHA
    247d711 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2014

  1. - Ability to remove file extension/name mappings from existing Language

    (#6873) - with unit tests.
    - Remove inaccurate docs on Language add extension/name APIs
    - Fix PHP mixed-mode handling so token-level detection (getLanguageForMode())
    works - similar to our handling of "htmlmixed" mode. Allows us to remove
    "clike" dummy language without breaking PHP Toggle Comment functionality
    peterflynn committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    78ac6ea View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2014

  1. Code review: change Language add/remove extension & filename APIs to …

    …accept
    
    an array of multiple items in addition to a single item as supported before.
    With unit tests.
    peterflynn committed Mar 27, 2014
    Configuration menu
    Copy the full SHA
    e9ad8a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2014

  1. Add some more common binary types: Node native extensions, Flash, EOT

    webfonts, MS Office files, SQLite db files
    peterflynn committed Mar 28, 2014
    Configuration menu
    Copy the full SHA
    e013ca4 View commit details
    Browse the repository at this point in the history