mirror of
https://github.com/atom/atom.git
synced 2026-02-13 08:04:56 -05:00
Add toggle ignored files command
This commit is contained in:
@@ -182,6 +182,9 @@ class RootView extends View
|
||||
@showInvisibles = showInvisibles
|
||||
editor.setShowInvisibles(@showInvisibles) for editor in @getEditors()
|
||||
|
||||
toggleIgnoredFiles: ->
|
||||
@project.toggleIgnoredFiles()
|
||||
|
||||
getEditors: ->
|
||||
@panes.find('.pane > .editor').map(-> $(this).view()).toArray()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user