This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Commit 247d711
committed
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.1 parent e7f4758 commit 247d711
3 files changed
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
| 773 | + | |
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 123 | | |
131 | 124 | | |
132 | 125 | | |
| |||
138 | 131 | | |
139 | 132 | | |
140 | 133 | | |
141 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
242 | 237 | | |
243 | 238 | | |
244 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
245 | 247 | | |
246 | 248 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
755 | 757 | | |
756 | 758 | | |
757 | 759 | | |
| |||
0 commit comments